This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38203] attribute `noreturn' isn't effective when -mthumb param is active
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2009 23:35:00 -0000
- Subject: [Bug target/38203] attribute `noreturn' isn't effective when -mthumb param is active
- References: <bug-38203-15246@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rearnsha at gcc dot gnu dot org 2009-12-14 23:35 -------
There's a lot of debate about whether the ARM behaviour is a good thing or not.
Not pushing the return address means that the debugger cannot generate a
back-trace in the event that the no-return function is something like abort();
however, we could avoid pushing most of the other registers.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38203