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  <simar...@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  <simar...@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

Reply via email to