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

            Bug ID: 78057
           Summary: [7 Regression]: FAIL: gcc.target/i386/bmi-{4,5,6}.c
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com
  Target Milestone: ---

As explained in [1], r241381 caused:

FAIL: gcc.target/i386/bmi-4.c (test for excess errors)
FAIL: gcc.target/i386/bmi-5.c (test for excess errors)
FAIL: gcc.target/i386/bmi-6.c (test for excess errors)

due to missing constant-fold functionality for newly introduced builtins in
ix86_fold_builtin function. Constant operands should be folded like
__builtin_clz or __builtin_ctz, with zero input operand folded to the bitsize
of the generated instruction.

[1] https://gcc.gnu.org/ml/gcc-patches/2016-10/msg01680.html

Reply via email to