public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after r14-3823-g50b5199cff6908 on big endian Date: Tue, 19 Sep 2023 15:49:54 +0000 [thread overview] Message-ID: <bug-111377-4-EzBYQ77gCG@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-111377-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111377 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>: https://gcc.gnu.org/g:d2f53a601a23925b795ac162f7936163c3461b2c commit r14-4143-gd2f53a601a23925b795ac162f7936163c3461b2c Author: Jakub Jelinek <jakub@redhat.com> Date: Tue Sep 19 17:48:42 2023 +0200 testsuite work-around compound-assignment-1.c C++ failures on various targets [PR111377] On Mon, Sep 11, 2023 at 11:11:30PM +0200, Jakub Jelinek via Gcc-patches wrote: > I think the divergence is whether called_by_test_5b returns the struct > in registers or in memory. If in memory (like in the x86_64 -m32 case), we have > [compound-assignment-1.c:71:21] D.3191 = called_by_test_5b (); [return slot optimization] > [compound-assignment-1.c:71:21 discrim 1] D.3191 ={v} {CLOBBER(eol)}; > [compound-assignment-1.c:72:1] return; > in the IL, while if in registers (like x86_64 -m64 case), just > [compound-assignment-1.c:71:21] D.3591 = called_by_test_5b (); > [compound-assignment-1.c:72:1] return; > > If you just want to avoid the differences, putting } on the same line as the > call might be a usable workaround for that. Here is the workaround in patch form. 2023-09-19 Jakub Jelinek <jakub@redhat.com> PR testsuite/111377 * c-c++-common/analyzer/compound-assignment-1.c (test_5b): Move closing } to the same line as the call to work-around differences in diagnostics line.
next prev parent reply other threads:[~2023-09-19 15:49 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-11 18:49 [Bug other/111377] New: [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after XXX " seurer at gcc dot gnu.org 2023-09-11 18:57 ` [Bug other/111377] " jakub at gcc dot gnu.org 2023-09-11 19:21 ` pinskia at gcc dot gnu.org 2023-09-12 6:55 ` [Bug other/111377] [14 regression] c-c++-common/analyzer/compound-assignment-1.c fails after r14-3823-g50b5199cff6908 " jakub at gcc dot gnu.org 2023-09-12 12:26 ` [Bug testsuite/111377] " rguenth at gcc dot gnu.org 2023-09-19 15:49 ` cvs-commit at gcc dot gnu.org [this message] 2023-09-19 15:50 ` 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-111377-4-EzBYQ77gCG@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).