Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.blaukopf at oracle dot com
Created attachment 30543
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30543&action=edit
Two functions, f1 and f2 should compile to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57967
--- Comment #1 from Daniel Blaukopf ---
Created attachment 30544
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30544&action=edit
Test case that can be run with libgcc-bug.so to show the failure
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57967
--- Comment #2 from Daniel Blaukopf ---
This code:
int f1(int x0, int y0, int z0, int x1, int y1, int z1) {
int xx = ((x0 << 16) + (x1 - x0) * 0x1234 + 0x8000) >> 16;
int yy = ((y0 << 16) + (y1 - y0) * 0x2345 + 0x8000) >> 16;
int zz =