[Bug c++/56403] [4.6/4.7 Regression] internal compiler error: in build_zero_init_1, at cp/init.c:279

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 14 16:15:00 GMT 2013


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

--- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-14 16:12:58 UTC ---
Author: jason
Date: Thu Mar 14 16:12:37 2013
New Revision: 196661

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196661
Log:
    PR c++/56403
    * init.c (build_zero_init_1): Use RECORD_OR_UNION_CODE_P instead
    of CLASS_TYPE_P.

    * g++.dg/torture/pr56403.C: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/torture/pr56403.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/init.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list