--- Comment #3 from roberto dot costa at st dot com 2006-10-05 08:15
---
I tested what happens if the first PHI-OPT pass is moved right before the first
VRP pass in gcc/passes.c
It looks like PHI-OPT should be run both before and after VRP and DOM.
The example reported shows that
--- Comment #1 from roberto dot costa at st dot com 2006-10-03 16:05
---
Created an attachment (id=12378)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12378&action=view)
Source code of the example
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29333
ary: Generation of MAX_EXPRs and MIN_EXPRs missed by phiopt
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: