[Bug c++/54518] New: A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
thierry.visonneau at cea dot fr
gcc-bugzilla@gcc.gnu.org
Fri Sep 7 12:35:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
Bug #: 54518
Summary: A problem using -O2 with g++4.5.0 and g++4.6.0 (see
titi.cc)
Classification: Unclassified
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: thierry.visonneau@cea.fr
Created attachment 28147
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28147
titi.cc
A problem using -O2 with g++4.5.0 and g++4.6.0
Using -O2 option with g++4.5.0 and g++4.6.0, the attached file titi.cc is
crashing.
It seems that the correct behavior is to obtain the following output :
titi : I=
Please find "test.list" attached that summarizes our tests, and also the
assembly code obtained with g++4.5.0 -O2 and g++4.6.0 -O2 :
- titi.g++440-O2.s
- titi.g++450-O2.s
< movsbl 1(%rsp),%edi
> xorl %edi, %edi
Thanks,
Best regards
More information about the Gcc-bugs
mailing list