[Bug c++/23171] [4.1/4.2 Regression] ICE on pointer initialization with C99 initializer

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 24 08:56:00 GMT 2005



------- Comment #15 from mmitchel at gcc dot gnu dot org  2005-12-24 08:56 -------
Subject: Bug 23171

Author: mmitchel
Date: Sat Dec 24 08:56:10 2005
New Revision: 109036

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109036
Log:
        PR c++/23171
        * varasm.c (initializer_constant_valid_p): An ADDR_EXPR of a
        CONSTRUCTOR is invalid.

        PR c++/23171
        * g++.dg/opt/init1.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/init1.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/varasm.c


-- 


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



More information about the Gcc-bugs mailing list