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 middle-end/25530] New: (unsigned / 2)*2 is not changed into unsigned &1


Testcase:
int f(unsigned t)
{
  return (t/2)*2;
}


---
This is done in combine stage on the RTL level.


-- 
           Summary: (unsigned / 2)*2 is not changed into unsigned &1
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, TREE
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 19986
             nThis:


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


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