[Bug tree-optimization/41442] missed optimization for boolean expression
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 23 08:50:00 GMT 2009
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-23 08:50 -------
You wound need to enable PRE implement code hoisting to remove the redundant
load (or write the condition as p2->next || (p1->next && !p2->next)).
PRE is run too late
to help generate optimal code though as ifcombine runs before it and
ifcombine wouldn't deal with the if-converted form that is present then.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-09-23 08:50:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41442
More information about the Gcc-bugs
mailing list