public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "malat at debian dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/108967] New: internal compiler error: in expand_debug_expr, at cfgexpand.cc:5450
Date: Tue, 28 Feb 2023 12:14:33 +0000	[thread overview]
Message-ID: <bug-108967-4@http.gcc.gnu.org/bugzilla/> (raw)

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.

             reply	other threads:[~2023-02-28 12:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 12:14 malat at debian dot org [this message]
2023-02-28 13:00 ` [Bug c++/108967] " jakub at gcc dot gnu.org
2023-02-28 13:52 ` ktkachov at gcc dot gnu.org
2023-02-28 14:41 ` jakub at gcc dot gnu.org
2023-02-28 15:38 ` jakub at gcc dot gnu.org
2023-02-28 16:52 ` [Bug debug/108967] " jakub at gcc dot gnu.org
2023-03-01  9:27 ` cvs-commit at gcc dot gnu.org
2023-03-01  9:33 ` [Bug debug/108967] [11/12 Regression] " jakub at gcc dot gnu.org
2023-03-19  5:30 ` cvs-commit at gcc dot gnu.org
2023-03-20 10:27 ` [Bug debug/108967] [11 " jakub at gcc dot gnu.org
2023-04-26  6:57 ` rguenth at gcc dot gnu.org
2023-05-02 20:15 ` cvs-commit at gcc dot gnu.org
2023-05-03 10:41 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108967-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).