]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/11852 (ICE: g++ with bad struct initializer.)
authorMark Mitchell <mark@codesourcery.com>
Sun, 7 Sep 2003 23:48:33 +0000 (23:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 7 Sep 2003 23:48:33 +0000 (23:48 +0000)
commitcf9ad9a773d6b804843fa11a55da91112cdd7c05
tree4f5bca36819c0c2c172a2b3ec1aa934de5c312d6
parent6ef0aa7b3b2d120b33b7852e6377c5536a677e6c
re PR c++/11852 (ICE: g++ with bad struct initializer.)

PR c++/11852
* varasm.c (initializer_constant_valid_p): Correct logic for
CONSTRUCTORs.

PR c++/11852
* g++.dg/init/struct1.C: New test.

From-SVN: r71187
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/struct1.C [new file with mode: 0644]
gcc/varasm.c