------- Comment #12 from sergeid at il dot ibm dot com 2008-12-08 11:53 ------- I have to mention that tree PRE still don't catch this LOAD with -O3. Though the patch Richard posted does the job.
(In reply to comment #1) > It works with -O3 (with partial-partial PRE enabled). At least > phi-translation > figures out that *res is zero on the incoming edge. > > Un-leashing partial-PRE like with -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38401