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]

[Testcase] New testcase for the more aliasing


Daniel Berlin noticed that we optimize static variable access across a function
call we know that does not touch that variable. This is even without
-ftree-promote-statics. This testcase is for the new aliasing info we get now.


OK? Tested on powerpc-darwin.

Thanks,
Andrew Pinski

ChangeLog:

* gcc.dg/tree-ssa/alias-2.c: New test.


Attachment: t1.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]