[Bug target/19008] [3.3 regression] [arm] gcc-3.3 -O3 -fPIC produce wrong code via auto inlining

2004-12-15 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-15 17:17 --- Compiling the testcase with '-O3 -fPIC' using stock gcc-3.3.2 and gcc-3.3.5 configured for arm-linux produces identical assembly code for gauss_pivot_ker(). So I don't see what the bug can be. --

[Bug target/19008] [3.3 regression] [arm] gcc-3.3 -O3 -fPIC produce wrong code via auto inlining

2004-12-15 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-15 11:59 --- use_maximal_pivot() is casting longs to pointers and vice-versa. I strongly suspect this code is violating C's aliasing rules. The inlining of the function then opens up more chances for the scheduler to