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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
No, it still crashes with the current master (g:fbb592407c9):

$ gcc pr103900.c -c -O -fno-tree-dce -fno-tree-dse --save-temps --verbose
Using built-in specs.
COLLECT_GCC=gcc
Target: x86_64-pc-linux-gnu
Configured with: /home/marxin/Programming/gcc/configure
--enable-languages=c,c++,fortran,jit --prefix=/home/marxin/bin/gcc
--disable-multilib --enable-host-shared --disable-libsanitizer
--enable-valgrind-annotations --disable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20220104 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-c' '-O' '-fno-tree-dce' '-fno-tree-dse' '-save-temps'
'-v' '-mtune=generic' '-march=x86-64'
 /home/marxin/bin/gcc/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/cc1 -E -quiet -v
pr103900.c -mtune=generic -march=x86-64 -fno-tree-dce -fno-tree-dse -O
-fpch-preprocess -o pr103900.i
ignoring nonexistent directory
"/home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/12.0.0/include
 /usr/local/include
 /home/marxin/bin/gcc/include
 /home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/12.0.0/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-c' '-O' '-fno-tree-dce' '-fno-tree-dse' '-save-temps'
'-v' '-mtune=generic' '-march=x86-64'
 /home/marxin/bin/gcc/libexec/gcc/x86_64-pc-linux-gnu/12.0.0/cc1 -fpreprocessed
pr103900.i -quiet -dumpbase pr103900.c -dumpbase-ext .c -mtune=generic
-march=x86-64 -O -version -fno-tree-dce -fno-tree-dse -o pr103900.s
GNU C17 (GCC) version 12.0.0 20220104 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 11.2.1 20211124 [revision
7510c23c1ec53aa4a62705f0384079661342ff7b], GMP version 6.2.1, MPFR version
4.1.0-p7, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C17 (GCC) version 12.0.0 20220104 (experimental) (x86_64-pc-linux-gnu)
        compiled by GNU C version 11.2.1 20211124 [revision
7510c23c1ec53aa4a62705f0384079661342ff7b], GMP version 6.2.1, MPFR version
4.1.0-p7, MPC version 1.2.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: c265fe5ba5ef24bee29b1830921bb05e
during RTL pass: expand
pr103900.c: In function ‘foo0’:
pr103900.c:11:1: internal compiler error: in expand_expr_real_2, at expr.c:9771
   11 | foo0() {
      | ^~~~
0x6e2341 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/marxin/Programming/gcc/gcc/expr.c:9771
0xa3bf75 expand_gimple_stmt_1
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3967
0xa3bf75 expand_gimple_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:4028
0xa41dac expand_gimple_basic_block
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6069
0xa43f77 execute
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6795
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.

Reply via email to