[Bug rtl-optimization/37514] [4.4 Regression] Wrong code generated for 20021120-1.c with -O3 -fomit-frame-pointer on sh4

vmakarov at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 11 15:24:00 GMT 2008



------- Comment #6 from vmakarov at redhat dot com  2008-11-11 15:22 -------
  Sorry, Kaz.  I missed this PR.  I've just found it after Bernd's email.

  I don't think it is a right solution or stable workaround.  In fact all
pseudos (551, 289, 288) involved in 2 wrong insns got different stack slots. 
It might be IRA triggered some latent bug in reload inheritence. Reload decided
that r2 contains value of 551 (gf+4) but it contains gf+0 (pseudo 434 which
died in prev insn 828).

  I'll look at this problem but taking reload complexity into account it will
take a few days.


-- 


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



More information about the Gcc-bugs mailing list