https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63543 Manuel López-Ibáñez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel López-Ibáñez --- It would also be nice to mention the type. test.c:6:12: error: incomplete definition of type 'struct undefined' int x = f->a; ~^ test.c:2:8: note: forward declaration of 'struct undefined' struct undefined; ^ >From gcc-bugs-return-464115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 15 10:08:14 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26741 invoked by alias); 15 Oct 2014 10:08:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26697 invoked by uid 48); 15 Oct 2014 10:08:09 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/63543] incomplete type error should suppress duplicates Date: Wed, 15 Oct 2014 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: 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: 2014-10/txt/msg01136.txt.bz2 Content-length: 687 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63543 Manuel López-Ibáñez changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #3 from Manuel López-Ibáñez --- The C++ FE prints: test.c:6:12: error: invalid use of incomplete type ‘struct undefined’ int x = f->a; ^ test.c:2:8: note: forward declaration of ‘struct undefined’ struct undefined; ^ but it also prints it three times. >From gcc-bugs-return-464116-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 15 10:11:20 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 315 invoked by alias); 15 Oct 2014 10:11:20 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 32733 invoked by uid 48); 15 Oct 2014 10:11:16 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/59432] [4.9/5 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives Date: Wed, 15 Oct 2014 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 4.9.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created Message-ID: In-Reply-To: References: 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: 2014-10/txt/msg01137.txt.bz2 Content-length: 1006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432 UroÅ¡ Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|ian at airs dot com |ubizjak at gmail dot com --- Comment #12 from UroÅ¡ Bizjak --- Created attachment 33719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33719&action=edit Patch to enable unconditional use of %ebx in atomic_compare_and_swap_doubleword pattern Patch in testing. Now that %ebx is not fixed anymore, we can always use it and avoid all PIC related complications in atomic_compare_and_swap_doubleword pattern. Attached patch fixes sync/atomic on CentOS 5 and doesn't regress in Fedora 20. The patch in effect reverts Ian's patch at [1]. [1] https://gcc.gnu.org/ml/gcc-patches/2013-11/msg00309.html >From gcc-bugs-return-464117-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 15 10:16:26 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 4083 invoked by alias); 15 Oct 2014 10:16:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 4049 invoked by uid 48); 15 Oct 2014 10:16:22 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/59432] [4.9/5 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives Date: Wed, 15 Oct 2014 10:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 4.9.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: 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: 2014-10/txt/msg01138.txt.bz2 Content-length: 561 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432 UroÅ¡ Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33719|0 |1 is obsolete| | --- Comment #13 from UroÅ¡ Bizjak --- Created attachment 33720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33720&action=edit Updated patch. The correct version of the patch. >From gcc-bugs-return-464118-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 15 11:28:50 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 20465 invoked by alias); 15 Oct 2014 11:28:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 20420 invoked by uid 48); 15 Oct 2014 11:28:45 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support Date: Wed, 15 Oct 2014 11:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: NEW 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: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: 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: 2014-10/txt/msg01139.txt.bz2 Content-length: 959 https://gcc.gnu.org/bugzilla/show_bug.cgi?idS513 Oleg Endo changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33717|0 |1 is obsolete| | --- Comment #27 from Oleg Endo --- Created attachment 33721 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id3721&actioníit Using virtual FPSCR registers to model insn dependencies Updated patch that avoids the single_set problems by using (clobber (reg:SI FPSCR_STAT_REG)) instead of a set. This also eliminates the fsca pattern changes in the previous patch. Since the 'fpu_switch' insn is still a multiple set insn, it won't be used for delay slot stuffing, but this is a minor issue that can be addressed later. I'm testing the patch now on sh-sim. At least 'make all' works.