[Bug c++/11863] Regression: Optimizer produces incorrect code for ARM target

pgonzalez at bluel dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 9 05:49:00 GMT 2003


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.



More information about the Gcc-bugs mailing list