This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30496] Compilation errors when compiled with optimization flags
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2007 18:10:28 -0000
- Subject: [Bug c++/30496] Compilation errors when compiled with optimization flags
- References: <bug-30496-13938@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-18 18:10 -------
Ok, what is happening here is that gettext is defined to be a statement
expression with optimization. And in C++, right now, we don't allow a
statement expression not be in a function (this is a silly constraint).
The silly constraint is recorded as PR 17854, I am marking this as a dup of
that bug. In a way this is a gettext bug and should reported to them also.
*** This bug has been marked as a duplicate of 17854 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30496