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

            Bug ID: 96151
           Summary: bootstrap fails due to ICE in c_omp_split_clauses
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acsawdey at gcc dot gnu.org
  Target Milestone: ---

Started to see this on trunk last night. Tested again and still see it with
r11-2018.

configured with: 

/home2/sawdey/work/gcc/mamboCI/gcc-master/configure
--prefix=/opt/binutils-gcc-p10 --enable-languages=all --enable-bootstrap
--with-cpu=power9


/home2/sawdey/work/gcc/mamboCI/build-mambo/./prev-gcc/xg++
-B/home2/sawdey/work/gcc/mamboCI/build-mambo/./prev-gcc/
-B/opt/binutils-gcc-p10/powerpc64le-unknown-linux-gnu/bin/ -nostdinc++
-B/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu

-I/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/include
 -I/home2/sawdey/work/gcc/mamboCI/gcc-master/libstdc++-v3/libsupc++
-L/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home2/sawdey/work/gcc/mamboCI/build-mambo/prev-powerpc64le-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
 -fno-PIE -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2
-fno-checking -gtoggle -DIN_GCC     -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -Ic-family
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/c-family
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/../include
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/../libcpp/include 
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/../libdecnumber
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/../libdecnumber/dpd
-I../libdecnumber
-I/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/../libbacktrace   -o
c-family/c-omp.o -MT c-family/c-omp.o -MMD -MP -MF c-family/.deps/c-omp.TPo
/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/c-family/c-omp.c
during RTL pass: expand
/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/c-family/c-omp.c: In function
‘void c_omp_split_clauses(location_t, tree_code, omp_clause_mask, tree,
tree_node**)’:
/home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/c-family/c-omp.c:1561:1: internal
compiler error: in reduce_to_bit_field_precision, at expr.c:11530
 1561 | c_omp_split_clauses (location_t loc, enum tree_code code,
      | ^~~~~~~~~~~~~~~~~~~
0x10decc9f reduce_to_bit_field_precision
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:11530
0x10dde35b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:8786
0x10de5443 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:10152
0x10ddc6c7 expand_expr_real(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:8469
0x10db55f7 expand_expr
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.h:282
0x10ddac03 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:8065
0x10ddc8f7 expand_cond_expr_using_cmove
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:8518
0x10de3c97 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/expr.c:9869
0x10b79587 expand_gimple_stmt_1
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/cfgexpand.c:3786
0x10b798d3 expand_gimple_stmt
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/cfgexpand.c:3847
0x10b83887 expand_gimple_basic_block
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/cfgexpand.c:5888
0x10b861d7 execute
        /home2/sawdey/work/gcc/mamboCI/gcc-master/gcc/cfgexpand.c:6572
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.
Makefile:1124: recipe for target 'c-family/c-omp.o' failed

Reply via email to