[Bug optimization/15346] New: [tree-ssa] combine two successive divisions

kazu at cs dot umass dot edu gcc-bugzilla@gcc.gnu.org
Sun May 9 19:23:00 GMT 2004

foo (int a)
  int tem = a / 5;
  return tem / 3;

Note that if the expression is written without tem like a / 5 / 3,
then fold() can generate a / 15.

           Summary: [tree-ssa] combine two successive divisions
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: pessimizes-code
          Severity: enhancement
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at cs dot umass dot edu
                CC: gcc-bugs at gcc dot gnu dot org


More information about the Gcc-bugs mailing list