This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11775] "Control reaches end" warning issued for __attribute__((naked)) functions
- From: "pgonzalez at bluel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2003 05:39:44 -0000
- Subject: [Bug target/11775] "Control reaches end" warning issued for __attribute__((naked)) functions
- References: <20030803012423.11775.pgonzalez@bluel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11775
------- Additional Comments From pgonzalez at bluel dot com 2003-08-09 05:39 -------
Created an attachment (id=4583)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4583&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.