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 c/49207] Instruction scheduling error in GCC mips cross-compiler


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

--- Comment #4 from hanib at ece dot ubc.ca 2011-05-28 21:21:40 UTC ---
(In reply to comment #3)
> I think you have an aliasing problem in your code.

The code I am compiling is the Perlbench benchmark from SPEC-CPU2006. If I
compile the code for an Intel machine using -O2 there is no problem. This
problem only appears when I use the GCC MIPS cross-compiler with the -O2
switch. I also traced through the code and the sequence of these two
instructions should be reversed.


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