[Bug c/38869] [4.4 Regression] valgrind find problem with -O -mtune=generic

vmakarov at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 19 00:37:00 GMT 2009



------- Comment #8 from vmakarov at redhat dot com  2009-01-19 00:37 -------
H.J. is right.  The problem is that IRA does not reinitialize some of its data
after changing ABI.  config/i386/i386.c::ix86_maybe_switch_abi calls only
init_regs (this is the single port which does it).  Function ira_init should be
called too in this case.

I'll send a patch soon.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38869



More information about the Gcc-bugs mailing list