public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "iamanonymous.cs at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/114687] New: ICE: in edge_before_returns_twice_call, at gimple-iterator.cc:981 Date: Thu, 11 Apr 2024 03:47:30 +0000 [thread overview] Message-ID: <bug-114687-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114687 Bug ID: 114687 Summary: ICE: in edge_before_returns_twice_call, at gimple-iterator.cc:981 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: iamanonymous.cs at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target Milestone: --- Compiler Explorer: https://godbolt.org/z/vPM1Gshzx ******************************************************************************* OS and Platform: $ uname -a: Linux ubuntu 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ******************************************************************************* gcc version: $ gcc -v Using built-in specs. COLLECT_GCC=/root/gcc_set/202404101100/bin/gcc COLLECT_LTO_WRAPPER=/root/gcc_set/202404101100/libexec/gcc/x86_64-pc-linux-gnu/14.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/root/gcc_set/202404101100 --with-gmp=/root/build_essential --with-mpfr=/root/build_essential --with-mpc=/root/build_essential --enable-languages=c,c++ --disable-multilib --with-sanitizer=address,undefined,thread,leak Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.1 20240410 (experimental) (GCC) git version: 0774240b4df9a9bc48ce33a9625788e402498f5a ******************************************************************************* Program: $ cat mutant.c int a; int b(int); __attribute__((pure, returns_twice)) int c() { a = 1; while (a) a = 2; return a; } int e(void) { int d = c(); b(d); } ******************************************************************************* Command Lines: $ gcc -fsanitize=address -O1 -c mutant.c during GIMPLE pass: asan mutant.c: In function ‘e’: mutant.c:9:5: internal compiler error: in edge_before_returns_twice_call, at gimple-iterator.cc:981 9 | int e(void) { | ^ 0x792bf8 edge_before_returns_twice_call ../../gcc/gcc/gimple-iterator.cc:981 0xcb169e gsi_safe_insert_before(gimple_stmt_iterator*, gimple*) ../../gcc/gcc/gimple-iterator.cc:1054 0x1060c36 maybe_instrument_call ../../gcc/gcc/asan.cc:3032 0x1060c36 transform_statements ../../gcc/gcc/asan.cc:3118 0x1060fe7 asan_instrument ../../gcc/gcc/asan.cc:4262 0x1060fe7 execute ../../gcc/gcc/asan.cc:4303 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2024-04-11 3:47 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-04-11 3:47 iamanonymous.cs at gmail dot com [this message] 2024-04-11 5:59 ` [Bug sanitizer/114687] [13/14 Regression] " pinskia at gcc dot gnu.org 2024-04-11 6:50 ` rguenth at gcc dot gnu.org 2024-04-11 12:47 ` jakub at gcc dot gnu.org 2024-04-11 15:13 ` jakub at gcc dot gnu.org 2024-04-12 9:00 ` cvs-commit at gcc dot gnu.org 2024-04-12 9:01 ` [Bug sanitizer/114687] [13 " jakub at gcc dot gnu.org 2024-04-21 4:09 ` cvs-commit at gcc dot gnu.org 2024-04-23 6:44 ` 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-114687-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: linkBe 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).