in function simplify_cond (genattrtab.c)
1743   if (len == 0)
1744     {
1745       if (GET_CODE (defval) == COND)
1746         ret = simplify_cond (defval, insn_code, insn_index);
1747       else
1748         ret = defval;
1749     }

I think replace the code on line 1746 by ret = new_defval will save a call to
simplify_cond


-- 
           Summary: redundant simplify_cond in genattrtab.c
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zhouyi04 at ios dot cn
 GCC build triplet: x86_32-*-FreeBSD-6.3
  GCC host triplet: x86_32-*-FreeBSD-6.3
GCC target triplet: x86_32-*-FreeBSD-6.3


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

Reply via email to