From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C9D3C382EF01; Thu, 24 Nov 2022 19:17:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9D3C382EF01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669317477; bh=tIywb+V/ihv7eHmmfrihobczGXyTA+Fje4VxWVHwwOI=; h=From:To:Subject:Date:From; b=MtUQIKD9fxSceWIUZnhFRGhm/1UovO8mbB94h+tBj7/AmontNu9A58fx3rRWKolMI hXWw9n+wr3LyFNxiD8IZeYv3djoJyN/x0UfOJ9ceUfEm7qo/rmSURDTca0msMOUZyv thpXLklLhDOkuBnA6nt8llM01qhpqZrW64OjbWTU= From: "ian at geometrian dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107864] New: Internal Compiler Error (Large Project, C++20) Date: Thu, 24 Nov 2022 19:17:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at geometrian dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107864 Bug ID: 107864 Summary: Internal Compiler Error (Large Project, C++20) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ian at geometrian dot com Target Milestone: --- Created attachment 53962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53962&action=3Dedit ".zip" file containing "main.cpp", the repro Using g++ built from source yesterday, getting internal compiler error (segfault) on a large C++20 project. A preprocessed file (lightly edited and zipped for file size limit) reproducing the error is attached. Compiled with: g++ main.cpp -std=3Dc++20 -mavx2 The output begins with: In file included from /path/to/mycodedistr/include/mycode/grfx/_cpu/../color/../../_stdafx/matr.h= pp:7, from /path/to/mycodedistr/include/mycode/grfx/_cpu/../color/../../_stdafx.hpp:25= 4, from /path/to/mycodedistr/include/mycode/grfx/_cpu/../color/tuples.hpp:3, from /path/to/mycodedistr/include/mycode/grfx/_cpu/framebuffer.hpp:3, from /path/to/mycodedistr/src/mycode/grfx/_cpu/framebuffer.cpp:1: =20=20=20 /path/to/mycodedistr/include/mycode/grfx/_cpu/../color/../../_stdafx/_math.= hpp: In instantiation of =E2=80=98T BR::Math::round(const T&) requires=20 is_floating_point_v [with T =3D float]=E2=80=99: /path/to/mycodedistr/include/mycode/grfx/color/convert.hpp:132:29:=20=20 required from here =20=20=20 /path/to/mycodedistr/include/mycode/grfx/_cpu/../color/../../_stdafx/_math.= hpp:111:23: internal compiler error: Segmentation fault 0x7f3e5c1be51f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0x7f3e5c1a5d8f __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f3e5c1a5e3f __libc_start_main_impl ../csu/libc-start.c:392 Please submit a full bug report "gcc -v" includes: Target: x86_64-pc-linux-gnu Configured with: ../gcc-src/configure --enable-languages=3Dc,c++ --enable-multiarch --program-suffix=3D-trunk gcc version 13.0.0 20221124 (experimental) (GCC)=