------- Comment #13 from jason at gcc dot gnu dot org  2009-11-04 23:13 -------
Subject: Bug 36912

Author: jason
Date: Wed Nov  4 23:13:23 2009
New Revision: 153921

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153921
Log:
        PR c++/36912
        * varasm.c (initializer_constant_valid_p): A PLUS_EXPR
        or MINUS_EXPR of REAL_TYPE is not a valid constant initializer.
        (output_constant): Avoid crash after error.

Added:
    trunk/gcc/testsuite/g++.dg/init/static-init2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c


-- 


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

Reply via email to