public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ibuclaw at gdcproject dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL
Date: Sat, 30 Oct 2021 22:19:41 +0000	[thread overview]
Message-ID: <bug-102837-4-fDHy8Z017U@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102837-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102837

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Testing this patch.

--- a/libphobos/libdruntime/gcc/deh.d
+++ b/libphobos/libdruntime/gcc/deh.d
@@ -207,7 +207,7 @@ struct ExceptionHeader
      */
     static void free(ExceptionHeader* eh) @nogc
     {
-        *eh = ExceptionHeader.init;
+        __builtin_memset(eh, 0, ExceptionHeader.sizeof);
         if (eh != &ehstorage)
             __builtin_free(eh);
     }

  parent reply	other threads:[~2021-10-30 22:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 12:36 [Bug d/102837] New: " ro at gcc dot gnu.org
2021-10-19 12:36 ` [Bug d/102837] " ro at gcc dot gnu.org
2021-10-19 19:28 ` pinskia at gcc dot gnu.org
2021-10-19 19:29 ` pinskia at gcc dot gnu.org
2021-10-25 11:32 ` ro at CeBiTec dot Uni-Bielefeld.DE
2021-10-25 21:37 ` ibuclaw at gcc dot gnu.org
2021-10-30 22:19 ` ibuclaw at gdcproject dot org [this message]
2021-10-31 18:52 ` cvs-commit at gcc dot gnu.org
2021-10-31 21:43 ` ibuclaw at gdcproject dot 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-102837-4-fDHy8Z017U@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).