This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/77579] Missed multiple add (int) for CSEd case


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77579

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Just so there is no confussion on the testcase here it is without need the -D
option:
void f(int x, int y, int z, int *s)
{
   int t = y * z;
   s[0] = t + x;
   s[1] = x - t;
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]