diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2007-12-29 20:07:23 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@codesourcery.com> | 2007-12-29 20:07:23 +0000 |
commit | beddcf437a5d7013d341b48a81c7e18f6fe2c61b (patch) | |
tree | 5a47d0ad760e2fec4f0335095e4e6b7954f82116 | |
parent | e3a6a5764fd59783f6a59f6e18d4a950cb957e00 (diff) |
* lto-lang.c (lto_pushdecl): Do nothing instead of aborting.
(LANG_HOOKS_NAME): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131221 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto/lto-lang.c | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index add72d8e32f..09eb05d32af 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,8 @@ +2007-12-29 Nathan Froyd <froydnj@codesourcery.com> + + * lto-lang.c (lto_pushdecl): Do nothing instead of aborting. + (LANG_HOOKS_NAME): Define. + 2007-12-27 Nathan Froyd <froydnj@codesourcery.com> * lto.c (lto_find_integral_type): Define as a macro. Rename the diff --git a/gcc/lto/lto-lang.c b/gcc/lto/lto-lang.c index dc8fa798369..4747416dab0 100644 --- a/gcc/lto/lto-lang.c +++ b/gcc/lto/lto-lang.c @@ -424,7 +424,9 @@ lto_set_decl_assembler_name (tree decl) static tree lto_pushdecl (tree t ATTRIBUTE_UNUSED) { - gcc_unreachable (); + /* Do nothing, since we get all information from DWARF and LTO + sections. */ + return NULL_TREE; } static tree @@ -573,6 +575,10 @@ lto_init (void) return true; } +/* rs6000.c wants to look at this and we really only do C for the time + being. */ +#undef LANG_HOOKS_NAME +#define LANG_HOOKS_NAME "GNU C" #define LANG_HOOKS_MARK_ADDRESSABLE lto_mark_addressable #define LANG_HOOKS_TYPE_FOR_MODE lto_type_for_mode #define LANG_HOOKS_TYPE_FOR_SIZE lto_type_for_size |