[Bug fortran/37536] a mfcr is produced instead of branches (when it is used in branches later)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 16 01:34:00 GMT 2008
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-16 01:32 -------
> if (D.692 > 0 ? D.691 < D.690 : D.691 > D.690) goto L.2;
> I think the front-end might be better at optimizing this.
That is produce:
if (D.692 > 0)
{
if (D.691 < D.690) goto L.2;
}
else if (D.691 > D.690) goto L.2;
Or maybe the gimplifier should do that.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37536
More information about the Gcc-bugs
mailing list