This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36912] [4.3/4.4/4.5 regression] ICE with "-frounding-math -g"



------- Comment #15 from jason at gcc dot gnu dot org  2009-11-05 14:47 -------
Subject: Bug 36912

Author: jason
Date: Thu Nov  5 14:47:24 2009
New Revision: 153941

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153941
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:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/init/static-init2.C
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/varasm.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]