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

            Bug ID: 100200
           Summary: [10/11/12 Regression] UB evaluating
                    aarch64_plus_immediate predicate
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

Bootstrapping --with-build-config=bootstrap-ubsan on AArch64 and running:

gcc/xgcc -B gcc
~/toolchain/src/gcc/gcc/testsuite/gcc.c-torture/compile/pr65540.c -c -O

I get:

/home/alecop01/toolchain/src/gcc/gcc/config/aarch64/predicates.md:129:23:
runtime error: negation of -9223372036854775808 cannot be represented in type
'long int'; cast to an unsigned type to negate this value to itself

Reply via email to