OSDN Git Service

2010-01-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jan 2010 17:19:02 +0000 (17:19 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jan 2010 17:19:02 +0000 (17:19 +0000)
commitf54ef8b6bdcb2db0a3bc5c76b028df7a75fe524d
treee806db336512e949dfdcaf872571f7f2ca326623
parent50d268b3da4fb203f91986723804b0a7a24903e5
2010-01-01  Richard Guenther  <rguenther@suse.de>

PR c/42570
* c-decl.c (grokdeclarator): For zero-size arrays force
structural equality checks as layout_type does.

* gcc.c-torture/execute/pr42570.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155557 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr42570.c [new file with mode: 0644]