--- Comment #4 from rmh at gcc dot gnu dot org 2009-09-03 16:47 ---
(In reply to comment #2)
> So, perhaps we should just
> error out whenever we see in -m32 mode on i?86/x86_64 a nested function in
> -mregparm=3 mode.
Error out is much nicer. I can recall nasty memory corruption bugs
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-09-03 16:40 ---
Yes, I think we should sorry() here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41246
--- Comment #2 from jakub at gcc dot gnu dot org 2009-09-03 16:29 ---
Created an attachment (id=18480)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18480&action=view)
gcc45-pr41246.patch
I'm afraid there is nothing that can make that unmodified testcase work for
-mregparm=3.
It i