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/106216] new test case gcc.dg/tree-ssa/alias-access-path-13.c fails for 32 bits Date: Fri, 08 Jul 2022 16:14:53 +0000 [thread overview] Message-ID: <bug-106216-4-mfadLnCuYZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-106216-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106216 --- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Jambor <jamborm@gcc.gnu.org>: https://gcc.gnu.org/g:b984b84cbe4bf026edef2ba37685f3958a1dc1cf commit r13-1578-gb984b84cbe4bf026edef2ba37685f3958a1dc1cf Author: Martin Jambor <mjambor@suse.cz> Date: Fri Jul 8 18:12:26 2022 +0200 testsuite: Fix tree-ssa/alias-access-path-13.c on 32bit platforms (PR 106216) For gcc.dg/tree-ssa/alias-access-path-13.c to work, SRA must think of accesses to foo.inn.val and to foo itself as different ones, i.e. they need to have different offset and size, which on 32bit platforms they do not. Fixed by replacing a dummy long int field of the union with a struct of two integers. Tested by: make -k check-gcc RUNTESTFLAGS="tree-ssa.exp=alias-access-path-13.c" and make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}' tree-ssa.exp=alias-access-path-13.c" on an x86_64-linux, also with patched SRA to verify it still tests the original intent. gcc/testsuite/ChangeLog: 2022-07-08 Martin Jambor <mjambor@suse.cz> PR testsuite/106216 * gcc.dg/tree-ssa/alias-access-path-13.c (union foo): Replace a long int field with a struct that is larger than an int also on 32bit platforms.
next prev parent reply other threads:[~2022-07-08 16:14 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-07-06 17:47 [Bug other/106216] New: " seurer at gcc dot gnu.org 2022-07-06 19:47 ` [Bug other/106216] " jamborm at gcc dot gnu.org 2022-07-08 16:14 ` cvs-commit at gcc dot gnu.org [this message] 2022-07-08 16:22 ` [Bug testsuite/106216] " jamborm 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-106216-4-mfadLnCuYZ@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).