https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108967
Bug ID: 108967
Summary: internal compiler error: in expand_debug_expr, at
cfgexpand.cc:5450
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: malat at debian dot org
Target Milestone: ---
Created attachment 54555
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54555&action=edit
Preprocessed source
I cannot compile highway on arm64 with gcc-13 anymore.
Compilation fais with:
% /usr/lib/gcc-snapshot/bin/g++ -freport-bug -DHWY_SHARED_DEFINE
-I"/home/malat/highway-1.0.4~git20230227.dc5c141" -g -O2
-ffile-prefix-map=/home/malat/highway-1.0.4~git20230227.dc5c141=.
-fstack-protector-strong -Wformat -Werror=format-security -DHWY_BROKEN_EMU128=0
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fvisibility=hidden
-fvisibility-inlines-hidden -Wno-builtin-macro-redefined
-D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\"
-fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla
-Wnon-virtual-dtor -fmath-errno -fno-exceptions -Werror -DHWY_IS_TEST=1
-DGTEST_HAS_PTHREAD=1 -MD -MT
CMakeFiles/arithmetic_test.dir/hwy/tests/arithmetic_test.cc.o -MF
CMakeFiles/arithmetic_test.dir/hwy/tests/arithmetic_test.cc.o.d -o
CMakeFiles/arithmetic_test.dir/hwy/tests/arithmetic_test.cc.o -c
"/home/malat/highway-1.0.4~git20230227.dc5c141/hwy/tests/arithmetic_test.cc"
<widen_plus_hi_expr 0xffff69f0f898
type <vector_type 0xffff333bf348
type <integer_type 0xffff936c5930 public unsigned HI
size <integer_cst 0xffffa66e91f8 constant 16>
unit-size <integer_cst 0xffffa66e9210 constant 2>
align:16 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff936c5930 precision:16 min <integer_cst 0xffff93c04090 0> max <integer_cst
0xffff93c65bb8 65535>
pointer_to_this <pointer_type 0xffff59de21f8>>
unsigned V8HI
size <integer_cst 0xffffa66e9090 constant 128>
unit-size <integer_cst 0xffffa66e90a8 constant 16>
align:128 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0xffff333bf348 nunits:8>
readonly constant
arg:0 <vector_cst 0xffff69ee8528
type <vector_type 0xffff5d64c690 type <integer_type 0xffffa66f0348
unsigned char>
unsigned V16QI size <integer_cst 0xffffa66e9090 128> unit-size
<integer_cst 0xffffa66e90a8 16>
align:128 warn_if_not_align:0 symtab:0 alias-set 0 canonical-type
0xffff5d64c690 nunits:16
pointer_to_this <pointer_type 0xffff31541000>>
constant npatterns:1 nelts-per-pattern:3
elt:0: <integer_cst 0xffff9f9dd6c0 constant 1>
elt:1: <integer_cst 0xffff9927fd20 constant 2>
elt:2: <integer_cst 0xffff9927fd50 constant 3>>
arg:1 <vector_cst 0xffff69ee8690 type <vector_type 0xffff5d64c690>
constant npatterns:1 nelts-per-pattern:3
elt:0: <integer_cst 0xffffa66e9108 constant 255>
elt:1: <integer_cst 0xffffa66e9168 constant 0> elt:2: <integer_cst
0xffff9f9dd6c0 1>>>
during RTL pass: expand
In file included from
/home/malat/highway-1.0.4~git20230227.dc5c141/hwy/foreach_target.h:59,
from
/home/malat/highway-1.0.4~git20230227.dc5c141/hwy/tests/arithmetic_test.cc:21:
/home/malat/highway-1.0.4~git20230227.dc5c141/hwy/tests/arithmetic_test.cc: In
function 'void hwy::N_EMU128::TestSaturatingArithmeticOverflow::operator()(T,
D) [with T = unsigned char; D = hwy::N_EMU128::Simd<unsigned char, 16, 0>]':
/home/malat/highway-1.0.4~git20230227.dc5c141/hwy/tests/arithmetic_test.cc:126:21:
internal compiler error: in expand_debug_expr, at cfgexpand.cc:5450
126 | HWY_NOINLINE void operator()(T /*unused*/, D d) {
| ^~~~~~~~
0x16c4083 expand_debug_expr
../../src/gcc/cfgexpand.cc:5450
0x16c5343 expand_debug_expr
../../src/gcc/cfgexpand.cc:5311
0x16c34ef expand_debug_expr
../../src/gcc/cfgexpand.cc:4490
0x16c5343 expand_debug_expr
../../src/gcc/cfgexpand.cc:5311
0x16c3457 expand_debug_expr
../../src/gcc/cfgexpand.cc:4463
0x16c5343 expand_debug_expr
../../src/gcc/cfgexpand.cc:5311
0x16c35e7 expand_debug_expr
../../src/gcc/cfgexpand.cc:4764
0x16c5343 expand_debug_expr
../../src/gcc/cfgexpand.cc:5311
0x13b0aa3 expand_debug_locations
../../src/gcc/cfgexpand.cc:5648
0x13b0aa3 execute
../../src/gcc/cfgexpand.cc:6825
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccEsr3zo.out file, please attach this to
your bugreport.