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 d/94609] FAIL: gdc.dg/runnable.d Date: Sun, 19 Apr 2020 08:08:02 +0000 [thread overview] Message-ID: <bug-94609-4-mX6DCbtBAs@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-94609-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94609 --- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>: https://gcc.gnu.org/g:8a9ce39f8bbb2ae0798bec0ed2051a5f10b21122 commit r10-7793-g8a9ce39f8bbb2ae0798bec0ed2051a5f10b21122 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Sun Apr 19 09:54:25 2020 +0200 d: Fix FAIL in gdc.dg/runnable.d on X32 targets (PR94609) Patch fixes test failure seen on X32 where a nested struct was passed in registers, rather than via invisible reference. Now, all non-POD structs are passed by invisible reference, not just those with a user-defined copy constructor/destructor. gcc/d/ChangeLog: PR d/94609 * d-codegen.cc (argument_reference_p): Don't check TREE_ADDRESSABLE. (type_passed_as): Build reference type if TREE_ADDRESSABLE. * d-convert.cc (convert_for_argument): Build explicit TARGET_EXPR if needed for arguments passed by invisible reference. * types.cc (TypeVisitor::visit (TypeStruct *)): Mark all structs that are not POD as TREE_ADDRESSABLE.
next prev parent reply other threads:[~2020-04-19 8:08 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-15 18:38 [Bug d/94609] New: " hjl.tools at gmail dot com 2020-04-15 20:24 ` [Bug d/94609] " ibuclaw at gdcproject dot org 2020-04-15 20:25 ` hjl.tools at gmail dot com 2020-04-15 20:32 ` ibuclaw at gdcproject dot org 2020-04-15 20:42 ` ibuclaw at gdcproject dot org 2020-04-15 20:57 ` ibuclaw at gdcproject dot org 2020-04-15 21:03 ` hjl.tools at gmail dot com 2020-04-15 21:07 ` ibuclaw at gdcproject dot org 2020-04-15 21:09 ` ibuclaw at gdcproject dot org 2020-04-15 23:47 ` hjl.tools at gmail dot com 2020-04-15 23:54 ` hjl.tools at gmail dot com 2020-04-16 0:26 ` ibuclaw at gdcproject dot org 2020-04-16 7:41 ` ibuclaw at gdcproject dot org 2020-04-19 8:08 ` cvs-commit at gcc dot gnu.org [this message] 2020-04-19 8:11 ` ibuclaw at gdcproject dot org 2020-04-19 14:24 ` cvs-commit 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-94609-4-mX6DCbtBAs@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).