optimization/9768: [3.2 regression] [HP-PA] ICE when optimizing inline code at -O2
Randolph Chung
randolph@tausq.org
Thu Feb 20 17:12:00 GMT 2003
This patch "fixes" the problem, but I don't know if it's correct. 3.3
has a similar check
legolas[9:08] gcc% diff -u bb-reorder.c.orig bb-reorder.c
--- bb-reorder.c.orig 2003-02-20 09:04:47.000000000 -0800
+++ bb-reorder.c 2003-02-20 09:05:21.000000000 -0800
@@ -205,7 +205,7 @@
e_taken = e;
}
- next = (taken ? e_taken : e_fall)->dest;
+ next = ((taken && e_taken) ? e_taken : e_fall)->dest;
}
/* In the absence of a prediction, disturb things as little as possible
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
More information about the Gcc-bugs
mailing list