[Bug rtl-optimization/23299] [4.0 Regression] "classic" GCSE caused miscompilation

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 9 17:19:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-09 17:19 -------
Confirmed, weird, it works on the mainline, even after making sure that the function c does not get 
inlined and checking the assembly it is obviously that 4.1 works while 4.0.x does not.

4.0.x:
	addi r30,r9,8

mainline:
	addi r30,r3,8

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |rtl-optimization
     Ever Confirmed|                            |1
           Keywords|                            |wrong-code
      Known to fail|                            |4.0.1
      Known to work|                            |4.1.0 3.3.3
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-09 17:19:22
               date|                            |
            Summary|GCSE? caused miscompilation |[4.0 Regression] "classic"
                   |                            |GCSE caused miscompilation
   Target Milestone|---                         |4.0.2


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



More information about the Gcc-bugs mailing list