public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target
@ 2003-08-09 5:47 pgonzalez at bluel dot com
2003-08-09 5:49 ` [Bug c++/11863] " pgonzalez at bluel dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pgonzalez at bluel dot com @ 2003-08-09 5:47 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11863
Summary: Regression: Optimizer produces incorrect code for ARM
target
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pgonzalez at bluel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: arm-arm-elf
The attached file compiles correctly with GCC versions 3.0.4 and 3.2.3;
however, incorrect output is produced with GCC 3.3 and the mainline
snapshot "gcc-3.4-20030730".
The problem goes away when optimizations are disabled. This problem does not
occur on other targets, e.g. i686.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11863] Regression: Optimizer produces incorrect code for ARM target
2003-08-09 5:47 [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target pgonzalez at bluel dot com
@ 2003-08-09 5:49 ` pgonzalez at bluel dot com
2003-08-09 10:51 ` falk at debian dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pgonzalez at bluel dot com @ 2003-08-09 5:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11863
------- Additional Comments From pgonzalez at bluel dot com 2003-08-09 05:49 -------
Created an attachment (id=4584)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4584&action=view)
Test.cpp
Compile with this command: "gcc -c -O2 Test.cpp -marm -save-temps"
The output file Test.s should contain three "smull" instructions and six
"smlal" instructions. However, with GCC 3.3 and later the generated code is
incorrect, e.g. there is only one "smull" instruction and two "smlal"
instructions.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11863] Regression: Optimizer produces incorrect code for ARM target
2003-08-09 5:47 [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target pgonzalez at bluel dot com
2003-08-09 5:49 ` [Bug c++/11863] " pgonzalez at bluel dot com
@ 2003-08-09 10:51 ` falk at debian dot org
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: falk at debian dot org @ 2003-08-09 10:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11863
falk at debian dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From falk at debian dot org 2003-08-09 10:51 -------
Your code contains lots of aliasing violations, which are the cause for your
problems. I suggest you fix them or use -fno-strict-aliasing.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11863] Regression: Optimizer produces incorrect code for ARM target
2003-08-09 5:47 [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target pgonzalez at bluel dot com
` (2 preceding siblings ...)
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
@ 2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 8:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 08:28 -------
Mark as a dup of bug 21920.
*** This bug has been marked as a duplicate of 21920 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11863
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/11863] Regression: Optimizer produces incorrect code for ARM target
2003-08-09 5:47 [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target pgonzalez at bluel dot com
2003-08-09 5:49 ` [Bug c++/11863] " pgonzalez at bluel dot com
2003-08-09 10:51 ` falk at debian dot org
@ 2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-05 8:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-05 08:28 -------
Reopening to ...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11863
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-05 8:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09 5:47 [Bug c++/11863] New: Regression: Optimizer produces incorrect code for ARM target pgonzalez at bluel dot com
2003-08-09 5:49 ` [Bug c++/11863] " pgonzalez at bluel dot com
2003-08-09 10:51 ` falk at debian dot org
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
2005-06-05 8:28 ` pinskia at gcc dot gnu dot org
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).