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 target/110643] [13/14 Regression] aarch64: Miscompilation at O1 level (O0 is working)
Date: Wed, 04 Oct 2023 12:33:33 +0000 [thread overview]
Message-ID: <bug-110643-4-1bzelDSR7L@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-110643-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110643
--- Comment #17 from Mathieu Malaterre <malat at debian dot org> ---
(In reply to Andrew Pinski from comment #15)
> That returns a address to a local variable ...
Sorry I am having a hard time driving cvise correctly.
Here is the latest version:
g++-13 -g -o works inf6.cc -O0 -Wall -Wextra -Werror -Wfatal-errors
-> no issue
valgrind --error-exitcode=1 ./works
-> should only report a memleak
clang++-16 -fsanitize=undefined -g -o works0 inf6.cc -Wall -Wextra -Werror
-Wfatal-errors
-> no issue
You can reproduce the abort using:
g++-13 -g -o fails inf6.cc -O1 -Wall -Wextra -Werror -Wfatal-errors
-> abort
Please note that my version of g++-11 & g++-12 compile the TU just fine using
-O1.
Could you please run a regression to identify which commit along GCC-13 branch
introduce the change at least to get the ball rolling ?
Thanks !
next prev parent reply other threads:[~2023-10-04 12:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 14:10 [Bug target/110643] New: arm64: " malat at debian dot org
2023-07-12 14:11 ` [Bug target/110643] " malat at debian dot org
2023-07-12 16:02 ` pinskia at gcc dot gnu.org
2023-07-12 16:03 ` pinskia at gcc dot gnu.org
2023-07-12 16:06 ` [Bug target/110643] aarch64: " pinskia at gcc dot gnu.org
2023-07-13 6:34 ` malat at debian dot org
2023-07-13 6:35 ` malat at debian dot org
2023-07-13 6:49 ` malat at debian dot org
2023-07-13 8:18 ` [Bug target/110643] [13/14 Regression] " rguenth at gcc dot gnu.org
2023-07-13 8:53 ` malat at debian dot org
2023-07-25 17:00 ` alice at ayaya dot dev
2023-07-27 9:27 ` rguenth at gcc dot gnu.org
2023-09-06 6:29 ` malat at debian dot org
2023-09-29 6:35 ` malat at debian dot org
2023-09-29 6:37 ` malat at debian dot org
2023-09-29 7:22 ` pinskia at gcc dot gnu.org
2023-10-04 12:29 ` malat at debian dot org
2023-10-04 12:33 ` malat at debian dot org [this message]
2023-10-04 13:59 ` alice at ayaya dot dev
2023-10-04 15:46 ` pinskia at gcc dot gnu.org
2023-10-04 15:47 ` pinskia at gcc dot gnu.org
2023-10-04 15:48 ` pinskia at gcc dot gnu.org
2023-10-04 15:55 ` pinskia at gcc dot gnu.org
2023-10-04 16:14 ` pinskia 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-110643-4-1bzelDSR7L@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).