[Bug tree-optimization/97519] New: builtin_constant_p (x + cst) should be optimized to builtin_constant_p (x)

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 21 15:14:08 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97519

            Bug ID: 97519
           Summary: builtin_constant_p (x + cst) should be optimized to
                    builtin_constant_p (x)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
  Target Milestone: ---

As discussed in PR97445 we should optimize builtins_constant_p (var+cst) and
similar cases.


More information about the Gcc-bugs mailing list