diff options
author | Richard Henderson <rth@redhat.com> | 2010-08-05 08:39:54 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2010-08-05 08:39:54 -0700 |
commit | c3576fa73ff12307297fe73ff8c92ff059669e3a (patch) | |
tree | 9e8121a5618b9e6a3d9e2bcc7d4d130148a9e599 /gcc | |
parent | acdb4da79df0681fca515696a59a6bd7ef18482a (diff) | |
download | gcc-c3576fa73ff12307297fe73ff8c92ff059669e3a.zip gcc-c3576fa73ff12307297fe73ff8c92ff059669e3a.tar.gz gcc-c3576fa73ff12307297fe73ff8c92ff059669e3a.tar.bz2 |
re PR target/45189 (New stack alignment test failures)
PR 45189
Unbreak ia64 build after last dwarf2out.c change.
From-SVN: r162917
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 12 |
2 files changed, 16 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4442404..f450d44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2010-08-05 Richard Henderson <rth@redhat.com> + + PR 45189 + * dwarf2out.c (DWARF2_UNWIND_INFO): Provide default definition. + (INCOMING_RETURN_ADDR_RTX): Likewise. + (dwarf2out_do_frame): Remove conditional compilation. + (dwarf2out_frame_init): Likewise. + 2010-08-05 Nicolas Setton <setton@adacore.com> * gcov.c (flag_display_progress): New static variable. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 2c79c69..8e6f94f 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -112,6 +112,14 @@ int vms_file_stats_name (const char *, long long *, long *, char *, int *); #define DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET 0 #endif +#ifndef DWARF2_UNWIND_INFO +#define DWARF2_UNWIND_INFO 0 +#endif + +#ifndef INCOMING_RETURN_ADDR_RTX +#define INCOMING_RETURN_ADDR_RTX (gcc_unreachable (), NULL_RTX) +#endif + #ifndef DWARF2_FRAME_INFO # ifdef DWARF2_DEBUGGING_INFO # define DWARF2_FRAME_INFO \ @@ -143,11 +151,9 @@ dwarf2out_do_frame (void) return (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG || DWARF2_FRAME_INFO || saved_do_cfi_asm -#ifdef DWARF2_UNWIND_INFO || (DWARF2_UNWIND_INFO && (flag_unwind_tables || (flag_exceptions && ! USING_SJLJ_EXCEPTIONS))) -#endif ); } @@ -4153,10 +4159,8 @@ dwarf2out_frame_init (void) /* On entry, the Canonical Frame Address is at SP. */ dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET); -#ifdef DWARF2_UNWIND_INFO if (DWARF2_UNWIND_INFO || DWARF2_FRAME_INFO) initial_return_save (INCOMING_RETURN_ADDR_RTX); -#endif } void |