From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D4749385B516; Thu, 12 Oct 2023 16:13:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4749385B516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697127233; bh=bQ1LIbU0AM/iMUIQ+GvWVdm/8YokjqblCeK298B422E=; h=From:To:Subject:Date:From; b=Dx1RnIMaD2QDHPtMgKEHuGEG18JSJeXNc/HNBXdN3paj9ZPpOrMaUkOjucoUC6Lfa E/8+4hESa88CiMp/bW8fZE3M5ylO8VYEggeN6CdyGwrKY8GVoCNzigCuM+Sm1e5GAJ HkTegS4gTlslO/P3ChoFtkFzWd/yR8a9L8s0Skwc= From: "19373742 at buaa dot edu.cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/111789] New: Segmentation fault with '-O3 -fno-inline -fno-toplevel-reorder' Date: Thu, 12 Oct 2023 16:13:53 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 19373742 at buaa dot edu.cn 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=3D111789 Bug ID: 111789 Summary: Segmentation fault with '-O3 -fno-inline -fno-toplevel-reorder' Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 19373742 at buaa dot edu.cn Target Milestone: --- Created attachment 56099 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56099&action=3Dedit The preprocessed file ***************************************************************************= **** OS and Platform: Ubuntu 20.04.4 LTS ***************************************************************************= **** gcc version: $ gcc -v Using built-in specs. COLLECT_GCC=3D/home/ctc/gcc-releases/gcc-14/bin/gcc COLLECT_LTO_WRAPPER=3D/home/ctc/gcc-releases/gcc-14/libexec/gcc/x86_64-pc-l= inux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=3D/home/cuisk/ctc/gcc-releases/gcc-14 --disable-multilib --enable-language=3Dc,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231008 (experimental) (GCC)=20 ***************************************************************************= **** Command Lines: $ gcc -O3 -fno-inline -fno-toplevel-reorder -I /home/csmith/include/csmith-2.3.0/ a.c -o cra 2>cra.txt $ ./cra Segmentation fault (core dumped) $ gcc -I /home/csmith/include/csmith-2.3.0/ -fsanitize=3Dundefined a.c -o n= cra $ ./ncra checksum =3D 91C2E0C4=