[Bug c++/31398] When O2 optimization option is set, the execution flow is changed.

2007-03-30 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-03-30 13:03 --- You are relying on undefined behavior. *** This bug has been marked as a duplicate of 11751 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/31398] When O2 optimization option is set, the execution flow is changed.

2007-03-30 Thread windows2000d at gmail dot com
-- windows2000d at gmail dot com changed: What|Removed |Added Severity|normal |blocker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31398

[Bug c++/31398] When O2 optimization option is set, the execution flow is changed.

2007-03-30 Thread windows2000d at gmail dot com
--- Comment #1 from windows2000d at gmail dot com 2007-03-30 11:47 --- Created an attachment (id=13301) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13301&action=view) The sample code show the bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31398