This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/55747] Extra registers are saved in functions that only call noreturn functions
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Jan 2013 08:26:11 +0000
- Subject: [Bug rtl-optimization/55747] Extra registers are saved in functions that only call noreturn functions
- Auto-submitted: auto-generated
- References: <bug-55747-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55747
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-01-06
CC| |hp at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2013-01-06 08:26:11 UTC ---
Similarly observed for cris-elf with -O2, r194929, JFTR.
If this changes, some attribute markup should be added to keep return-addresses
for noreturn functions, for sake of stack-traces. Also return-addresses need
to be generally kept when -fexceptions and similar are in effect, as noreturn
functions can still throw.