public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/15618] New: Missed bool optimization
@ 2004-05-24  1:29 pinskia at gcc dot gnu dot org
  2004-05-24  1:32 ` [Bug tree-optimization/15618] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24  1:29 UTC (permalink / raw)
  To: gcc-bugs

The following three code should be produce the excatly the same asm:
int f(_Bool f1)
{
  if (f1 != 0)
   return 1;
  return 0;
}

int f3(_Bool f1)
{
  int f4;
  if (f1)
   f4 = 1;
  else
    f4 = 0;
  return f4;
}

int f5(_Bool f1)
{
  return f1;
}

-- 
           Summary: Missed bool optimization
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15618


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-05-04  1:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-24  1:29 [Bug tree-optimization/15618] New: Missed bool optimization pinskia at gcc dot gnu dot org
2004-05-24  1:32 ` [Bug tree-optimization/15618] " pinskia at gcc dot gnu dot org
2004-05-27 17:01 ` pinskia at gcc dot gnu dot org
2004-06-07 18:05 ` pinskia at gcc dot gnu dot org
2004-08-07 22:20 ` pinskia at gcc dot gnu dot org
2005-02-07 19:06 ` kazu at cs dot umass dot edu
2005-05-01 17:29 ` pinskia at gcc dot gnu dot org
2005-05-01 17:53 ` schlie at comcast dot net
2005-05-01 19:00 ` pinskia at gcc dot gnu dot org
2005-05-03  1:16 ` pinskia at gcc dot gnu dot org
2005-05-04  1:52 ` pinskia at gcc dot gnu dot org
2005-05-04  1:52 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).