[Bug rtl-optimization/36758] [4.3/4.4/4.5 Regression] addition moved out of the loop when used with an argument
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 18:25:00 GMT 2010
------- Comment #19 from pinskia at gcc dot gnu dot org 2010-03-02 18:24 -------
Here is a testcase which shows the problem on MIPS too:
extern int f0(int *, int *);
int
f1()
{
int x = 0 , x1 = 0;
while (f0(&x, &x1));
return x + x1;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc*-*-*, x86_64 |powerpc*-*-*, x86_64, mips-
| |*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36758
More information about the Gcc-bugs
mailing list