This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37536] a mfcr is produced instead of branches (when it is used in branches later)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]