This is the mail archive of the gcc-patches@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]

[PATCH testcase/rs6000] Add testcase for PR 7003


Hi,
  Since Eric Christopher is talking about removing gcse, I found a bug 
report about where GCSE still does something useful (and was only changed 
revently, 4.2.0).  The reason why GCSE still does something useful is 
because addresses are not split until RTL level so tree level PRE does not 
see that.  And then this is a global issue as there are conditionals in 
the testcase so CSE cannot catch it.

OK?  Tested on powerpc64-linux-gnu with -m32 and -m64.

Thanks,
Andrew Pinski

ChangeLog:

        * gcc.target/powerpc/gcse-1.c: New test.

Attachment: addtestcase.diff.txt
Description: Text document


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