Commit fddeba6d by Douglas B Rupp Committed by Douglas Rupp

vms.h (OPTIMIZATION_OPTIONS): Remove


	* config/alpha/vms.h (OPTIMIZATION_OPTIONS): Remove
	(OVERRIDE_OPTIONS): Incorporate removed OPTIMIZATION_OPTIONS.

From-SVN: r150647
parent 1d3499d8
2009-08-10 Douglas B Rupp <rupp@gnat.com>
* config/alpha/vms.h (OPTIMIZATION_OPTIONS): Remove
(OVERRIDE_OPTIONS): Incorporate removed OPTIMIZATION_OPTIONS.
2009-08-10 Olivier Hainque <hainqueu@adacore.com> 2009-08-10 Olivier Hainque <hainqueu@adacore.com>
Douglas B Rupp <rupp@gnat.com> Douglas B Rupp <rupp@gnat.com>
......
...@@ -361,22 +361,18 @@ typedef struct crtl_name_spec ...@@ -361,22 +361,18 @@ typedef struct crtl_name_spec
#undef ASM_FINAL_SPEC #undef ASM_FINAL_SPEC
/* The VMS convention is to always provide minimal debug info /* The VMS convention is to always provide minimal debug info
for a traceback unless specifically overridden. Defaulting this here for a traceback unless specifically overridden. */
is a kludge. */
#define OPTIMIZATION_OPTIONS(OPTIMIZE, OPTIMIZE_SIZE) \
{ \
write_symbols = VMS_DEBUG; \
debug_info_level = (enum debug_info_level) 1; \
}
/* Override traceback debug info on -g0. */
#undef OVERRIDE_OPTIONS #undef OVERRIDE_OPTIONS
#define OVERRIDE_OPTIONS \ #define OVERRIDE_OPTIONS \
{ \ { \
if (write_symbols == NO_DEBUG) \ if (write_symbols == NO_DEBUG \
debug_info_level = (enum debug_info_level) 0; \ && debug_info_level == DINFO_LEVEL_NONE) \
override_options (); \ { \
write_symbols = VMS_DEBUG; \
debug_info_level = DINFO_LEVEL_TERSE; \
} \
override_options (); \
} }
/* Link with vms-dwarf2.o if -g (except -g0). This causes the /* Link with vms-dwarf2.o if -g (except -g0). This causes the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment