[Bug c++/30496] Compilation errors when compiled with optimization flags

2007-01-18 Thread pinskia 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).

[Bug c++/30496] Compilation errors when compiled with optimization flags

2007-01-18 Thread csandu4096 at gmail dot com
--- Comment #2 from csandu4096 at gmail dot com 2007-01-18 10:51 --- Created an attachment (id=12917) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12917&action=view) Error.s -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30496

[Bug c++/30496] Compilation errors when compiled with optimization flags

2007-01-18 Thread csandu4096 at gmail dot com
--- Comment #1 from csandu4096 at gmail dot com 2007-01-18 10:51 --- Created an attachment (id=12916) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12916&action=view) Error.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30496