[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



------- 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 move things out of order.

Does the program run correctly if you use -fno-strict-alias?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19008

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: