public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu Date: Wed, 15 Jul 2015 08:32:00 -0000 [thread overview] Message-ID: <bug-66626-4-EzmL0MgyJw@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66626-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66626 --- Comment #21 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to H.J. Lu from comment #20) > Testcase in comment #1 still fails with r225789. Please note comment #3, where I recalled the testcase from Comment #2: >> A better testcase: > > Nope. This one works OK. The testcase from Comment #1 fails. Sorry for the confusion... >From gcc-bugs-return-492308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 15 08:41:41 2015 Return-Path: <gcc-bugs-return-492308-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7598 invoked by alias); 15 Jul 2015 08:41:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7542 invoked by uid 48); 15 Jul 2015 08:41:37 -0000 From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66838] Calling multiple SYSV AMD64 ABI functions from MS x64 ABI one results in clobbered parameters Date: Wed, 15 Jul 2015 08:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 5.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-66838-4-i45rMkNTip@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-66838-4@http.gcc.gnu.org/bugzilla/> References: <bug-66838-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01198.txt.bz2 Content-length: 174 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66838 --- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- Fixed for mainline, needs backport to gcc-5 branch. >From gcc-bugs-return-492309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 15 09:02:20 2015 Return-Path: <gcc-bugs-return-492309-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27602 invoked by alias); 15 Jul 2015 09:02:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27560 invoked by uid 48); 15 Jul 2015 09:02:16 -0000 From: "sebastian.huber@embedded-brains.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/66854] libgcc2.c:1846:9: internal compiler error: Segmentation fault Date: Wed, 15 Jul 2015 09:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-66854-4-qMrLzvBO6y@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-66854-4@http.gcc.gnu.org/bugzilla/> References: <bug-66854-4@http.gcc.gnu.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg01199.txt.bz2 Content-length: 1045 https://gcc.gnu.org/bugzilla/show_bug.cgi?idf854 --- Comment #4 from Sebastian Huber <sebastian.huber@embedded-brains.de> --- (In reply to Michael Meissner from comment #3) > Created attachment 35978 [details] > Proposed patch to fix the problem > > I believe this patch fixes the problem. I was able to build libgcc with > this patch installed. I could not complete a full RTEMS build (I suspect I > am missing some parts of the software). Thanks for the quick fix. With your patch I can build without errors. To build the powerpc-rtems target you need a link to the latest Newlib in your GCC directory, e.g. newlib -> ../newlib-git/newlib. I used the following configure options: ../gcc-git/configure --prefix=/opt/rtems-4.11 --target=powerpc-rtems4.11 --verbose --with-gnu-as --with-gnu-ld --with-newlib --disable-libstdcxx-pch --disable-nls --disable-lto --disable-plugin --without-included-gettext --enable-version-specific-runtime-libs --enable-threads --enable-newlib-io-c99-formats --enable-libgomp --enable-languages=c,c++
next prev parent reply other threads:[~2015-07-15 8:32 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-06-22 14:24 [Bug target/66626] New: [i386] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 kyukhin at gcc dot gnu.org 2015-06-23 20:50 ` [Bug target/66626] " ubizjak at gmail dot com 2015-06-23 21:35 ` ubizjak at gmail dot com 2015-06-30 11:04 ` [Bug rtl-optimization/66626] [4.9/5/6 Regression] " rguenth at gcc dot gnu.org 2015-06-30 20:30 ` hjl.tools at gmail dot com 2015-06-30 20:32 ` hjl.tools at gmail dot com 2015-07-01 8:22 ` ubizjak at gmail dot com 2015-07-01 11:40 ` hjl.tools at gmail dot com 2015-07-01 13:02 ` hjl.tools at gmail dot com 2015-07-01 23:36 ` hjl.tools at gmail dot com 2015-07-02 0:15 ` hjl.tools at gmail dot com 2015-07-02 8:35 ` ubizjak at gmail dot com 2015-07-02 8:44 ` ubizjak at gmail dot com 2015-07-02 11:59 ` ubizjak at gmail dot com 2015-07-02 12:00 ` hjl.tools at gmail dot com 2015-07-02 12:15 ` ubizjak at gmail dot com 2015-07-14 20:54 ` [Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu vmakarov at gcc dot gnu.org 2015-07-14 22:32 ` hjl.tools at gmail dot com 2015-07-15 8:32 ` ubizjak at gmail dot com [this message] 2015-07-15 21:48 ` vmakarov at gcc dot gnu.org 2015-07-16 15:27 ` vmakarov at gcc dot gnu.org 2015-07-16 16:47 ` hjl.tools at gmail dot com
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-66626-4-EzmL0MgyJw@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).