public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/50057] [4.7 regression] misalignment of java_exception_header resulted in throwable to be null Date: Fri, 10 Feb 2012 19:20:00 -0000 [thread overview] Message-ID: <bug-50057-8172-GbrVyfqZUM@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50057-8172@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50057 --- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-02-10 19:19:56 UTC --- Hmm, I assume issue is related to using of -mms-bitfields for 4.7 for windows-targets. Does the following patch fix the issue? Index: exception.cc =================================================================== --- exception.cc (revision 184105) +++ exception.cc (working copy) @@ -33,12 +33,18 @@ } #include "unwind.h" +#ifdef __MINGW32__ +__attribute__ ((gcc_struct)) +#endif struct alignment_test_struct { char space; char end[0] __attribute__((aligned)); }; +#ifdef __MINGW32__ +__attribute__ ((gcc_struct)) +#endif struct java_exception_header { /* Cache handler details between Phase 1 and Phase 2. */
next prev parent reply other threads:[~2012-02-10 19:20 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-12 13:27 [Bug libgcj/50057] New: [4.7 regression] SIGSEGV in natObject.cc:58 jojelino at gmail dot com 2011-09-29 13:25 ` [Bug libgcj/50057] " rguenth at gcc dot gnu.org 2011-10-10 12:18 ` rguenth at gcc dot gnu.org 2011-12-17 21:54 ` ktietz at gcc dot gnu.org 2012-01-18 6:14 ` jojelino at gmail dot com 2012-01-18 6:21 ` [Bug libgcj/50057] [4.7 regression] misalignment of java_exception_header resulted in throwable to be null jojelino at gmail dot com 2012-02-10 19:20 ` ktietz at gcc dot gnu.org [this message] 2012-02-10 19:21 ` ktietz at gcc dot gnu.org 2012-02-14 20:26 ` ktietz at gcc dot gnu.org 2012-02-22 12:38 ` ktietz at gcc dot gnu.org 2012-02-22 16:15 ` jojelino at gmail dot com 2012-02-22 16:33 ` ktietz 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-50057-8172-GbrVyfqZUM@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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).