https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79286
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
Summary|[7 Regression] wrong code |[7 Regression] ira and lra
|at -O3 on x86_64-linux-gnu |wrong code at -O2 and -Os
|in 32-bit mode (but not in |on i686-linux
|64-bit mode) |
--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
The testcase in comment #2 fails with x86 -m32 -Os even after fixing the ira
failure, due to lra doing
"Changing pseudo 89 in operand 1 of insn 9 on equiv [const(`d'+0x13c00000)]"
This puts the load of d[300...0][0] before the printf, just like the ira bug.
The -Os failure is a regression from gcc-3.4