This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36508] [4.3 Regression] ICE in compute_antic
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2008 14:15:53 -0000
- Subject: [Bug tree-optimization/36508] [4.3 Regression] ICE in compute_antic
- References: <bug-36508-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2008-06-12 14:15 -------
We get different gimplification on x86_64 and ppc due to branch-cost
differences
(appearantly):
- <D.1583>:;
- D.1604 = i <= 125;
- D.1605 = k <= 11;
- D.1606 = D.1604 && D.1605;
- if (D.1606)
+ <D.1263>:;
+ if (i > 125)
{
- goto <D.1582>;
+ goto <D.1264>;
}
else
{
- goto <D.1584>;
+
}
- <D.1584>:;
+ if (k <= 11)
+ {
+ goto <D.1262>;
+ }
+ else
+ {
+ goto <D.1264>;
+ }
+ <D.1264>:;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36508