------- Comment #3 from amylaar at gcc dot gnu dot org  2006-04-19 19:35 -------
(In reply to comment #2)
> I'd like to add Joern to the CC list.
> 
> I've looked the rtl dumps for the testcase.  It seems that
> the wrong code is generated during the peephole2 optimization.
...
> (reg:SI 1 r1 [656]) and results a wrong r1 value.  Perhaps this
> issue is simply latent in the mainline, though I have no testcases
> for the mainline.

Well, a latent bug can exist even if no test case can currently trigger it.
If could be triggered again after some other optimizer change.

Your patch is OK for 4.1 branch and mainline. (With the addition of a
ChangeLog entry.)


-- 


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

Reply via email to