--- Comment #5 from bernds at gcc dot gnu dot org 2010-05-05 18:48 ---
Fixed.
--
bernds at gcc dot gnu dot org changed:
What|Removed |Added
Status|NEW
--- Comment #4 from bernds at gcc dot gnu dot org 2010-04-24 18:54 ---
Subject: Bug 41442
Author: bernds
Date: Sat Apr 24 18:53:47 2010
New Revision: 158689
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158689
Log:
gcc/
PR tree-optimization/41442
* fold-const.c
--- Comment #3 from jakub at gcc dot gnu dot org 2009-09-23 09:24 ---
Or fold could handle this...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41442
--- 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
--- Comment #1 from carrot at google dot com 2009-09-23 06:49 ---
Created an attachment (id=18634)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18634&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41442