This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36912] [4.3/4.4/4.5 regression] ICE with "-frounding-math -g"
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2009 14:47:36 -0000
- Subject: [Bug c++/36912] [4.3/4.4/4.5 regression] ICE with "-frounding-math -g"
- References: <bug-36912-16507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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