[Bug lto/54095] Unnecessary static variable renaming

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 25 10:13:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54095

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28264|0                           |1
        is obsolete|                            |

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 10:13:32 UTC ---
Created attachment 28265
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28265
newer patch

With that we get to

/space/rguenther/src/svn/trunk/gcc/hash-table.c:74:0: error: type of
'prime_tab' does not match original declaration [-Werror]
 struct prime_ent const prime_tab[] = {
 ^
/space/rguenther/src/svn/trunk/gcc/hash-table.h:145:31: note: previously
declared here
 extern struct prime_ent const prime_tab[];
                               ^
lto1: fatal error: errors during merging of translation units

thus it seems better (but to make sure I'll add the !node->alias/thunk.thunk_p
checks as in the new attachment).



More information about the Gcc-bugs mailing list