This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/41246] should "sorry" when regparm=3 and nested functions are encountered
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2009 17:11:30 -0000
- Subject: [Bug target/41246] should "sorry" when regparm=3 and nested functions are encountered
- References: <bug-41246-12496@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from bonzini at gnu dot org 2009-09-03 17:11 -------
Yes, if you use nested functions you can just use -mregparm=2 globally, that's
a much better solution.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-09-03 17:11:30
date| |
Summary|%ecx corruption when |should "sorry" when
|combining -regparm=3 with |regparm=3 and nested
|nested functions |functions are encountered
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41246