[Bug c/35445] [4.3/4.4/4.5/4.6/4.7 regression] ICE with conflicting declarations
simartin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 2 20:17:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35445
--- Comment #6 from Simon Martin <simartin at gcc dot gnu.org> 2011-05-02 20:13:13 UTC ---
Author: simartin
Date: Mon May 2 20:13:08 2011
New Revision: 173269
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173269
Log:
gcc/
2011-05-02 Simon Martin <simartin@users.sourceforge.net>
PR c/35445
* c-decl.c (finish_decl): Only create a composite if the types are
compatible.
gcc/testsuite/
2011-05-02 Simon Martin <simartin@users.sourceforge.net>
PR c/35445
* gcc.dg/pr35445.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr35445.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list