------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-01 18:26 ------- (In reply to comment #7) > Basically PR 17671 is the PR for the new PHI-OPT and PR 15618 is for fold > a!=0 to a when a is of the > boolean_type. Also note the C++ front-end for the code in comment 3 (when > the int is changed to > bool) is already fixed by the new PHI-OPT.
Actually PHI-OPT needs to improved after the patch for PR 15618 is applied, instead of creating one statement at a time and then letting the passes after wards fold it (which does not happen right now), we should instead create one new statement which fold as we build it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14442