This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77579] Missed multiple add (int) for CSEd case
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Sep 2016 14:02:20 +0000
- Subject: [Bug target/77579] Missed multiple add (int) for CSEd case
- Auto-submitted: auto-generated
- References: <bug-77579-4@http.gcc.gnu.org/bugzilla/>
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;
}