[Bug target/41246] %ecx corruption when combining -regparm=3 with nested functions
rmh at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 16:47:00 GMT 2009
------- 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 that
could've been solved in a blast if GCC rejected our code :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41246
More information about the Gcc-bugs
mailing list