public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54518] New: A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
@ 2012-09-07 12:35 thierry.visonneau at cea dot fr
2012-09-07 12:36 ` [Bug c++/54518] " thierry.visonneau at cea dot fr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: thierry.visonneau at cea dot fr @ 2012-09-07 12:35 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/54518] A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
2012-09-07 12:35 [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
@ 2012-09-07 12:36 ` thierry.visonneau at cea dot fr
2012-09-07 12:37 ` thierry.visonneau at cea dot fr
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: thierry.visonneau at cea dot fr @ 2012-09-07 12:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
--- Comment #1 from thierry.visonneau at cea dot fr 2012-09-07 12:36:23 UTC ---
Created attachment 28148
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28148
test.list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/54518] A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
2012-09-07 12:35 [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
2012-09-07 12:36 ` [Bug c++/54518] " thierry.visonneau at cea dot fr
@ 2012-09-07 12:37 ` thierry.visonneau at cea dot fr
2012-09-07 12:38 ` thierry.visonneau at cea dot fr
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: thierry.visonneau at cea dot fr @ 2012-09-07 12:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
--- Comment #2 from thierry.visonneau at cea dot fr 2012-09-07 12:37:06 UTC ---
Created attachment 28149
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28149
titi.g++440-O2.s
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/54518] A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
2012-09-07 12:35 [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
2012-09-07 12:36 ` [Bug c++/54518] " thierry.visonneau at cea dot fr
2012-09-07 12:37 ` thierry.visonneau at cea dot fr
@ 2012-09-07 12:38 ` thierry.visonneau at cea dot fr
2012-09-07 15:22 ` redi at gcc dot gnu.org
2012-09-08 8:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: thierry.visonneau at cea dot fr @ 2012-09-07 12:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
--- Comment #3 from thierry.visonneau at cea dot fr 2012-09-07 12:38:11 UTC ---
Created attachment 28150
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28150
titi.g++450-O2.s
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/54518] A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
2012-09-07 12:35 [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
` (2 preceding siblings ...)
2012-09-07 12:38 ` thierry.visonneau at cea dot fr
@ 2012-09-07 15:22 ` redi at gcc dot gnu.org
2012-09-08 8:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2012-09-07 15:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Known to work| |4.6.2
Known to fail| |4.4.3, 4.5.2, 4.6.1
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-09-07 15:22:22 UTC ---
works fine with 4.6.2 and later, so the problem seems to be fixed in all
current releases
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/54518] A problem using -O2 with g++4.5.0 and g++4.6.0 (see titi.cc)
2012-09-07 12:35 [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
` (3 preceding siblings ...)
2012-09-07 15:22 ` redi at gcc dot gnu.org
@ 2012-09-08 8:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-09-08 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54518
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-08 08:54:51 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-09-08 8:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-07 12:35 [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
2012-09-07 12:36 ` [Bug c++/54518] " thierry.visonneau at cea dot fr
2012-09-07 12:37 ` thierry.visonneau at cea dot fr
2012-09-07 12:38 ` thierry.visonneau at cea dot fr
2012-09-07 15:22 ` redi at gcc dot gnu.org
2012-09-08 8:55 ` paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).