This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]