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

            Bug ID: 94980
           Summary: [10/11 Regression] ICE: verify_gimple failed: position
                    plus size exceeds size of referenced object in
                    'bit_field_ref' with -mavx512vl
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu

Created attachment 48473
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48473&action=edit
reduced testcase

Maybe related to PR94438

Compiler output:
$ x86_64-pc-linux-gnu-gcc -mavx512vl testcase.c 
testcase.c: In function 'foo':
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
    4 | foo(void)
      | ^~~
_11 = BIT_FIELD_REF <_10, 8, 8>;
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
_14 = BIT_FIELD_REF <_13, 8, 8>;
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
_19 = BIT_FIELD_REF <_18, 8, 16>;
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
_22 = BIT_FIELD_REF <_21, 8, 16>;
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
_27 = BIT_FIELD_REF <_26, 8, 24>;
testcase.c:4:1: error: position plus size exceeds size of referenced object in
'bit_field_ref'
_30 = BIT_FIELD_REF <_29, 8, 24>;
during GIMPLE pass: veclower
testcase.c:4:1: internal compiler error: verify_gimple failed
0x10ec191 verify_gimple_in_cfg(function*, bool)
        /repo/gcc-trunk/gcc/tree-cfg.c:5470
0xfa0c6f execute_function_todo
        /repo/gcc-trunk/gcc/passes.c:1985
0xfa1a4e execute_todo
        /repo/gcc-trunk/gcc/passes.c:2039
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r11-158-20200507093816-gb24fc8a692e-checking-yes-rtl-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r11-158-20200507093816-gb24fc8a692e-checking-yes-rtl-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200507 (experimental) (GCC)

Reply via email to