From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18871 invoked by alias); 5 Jun 2014 03:09:39 -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 Received: (qmail 18817 invoked by uid 48); 5 Jun 2014 03:09:32 -0000 From: "tromey at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56724] sub-optimal location in error Date: Thu, 05 Jun 2014 03:09: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.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-06/txt/msg00328.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56724 --- Comment #12 from Tom Tromey --- I noticed this patch today and tried it out on my current test case, which uses -Wc++-compat... unfortunately it still fails. Test code: extern void xfer (int, int, unsigned char *); void call (int x, int y, void *arg) { xfer (x, y, arg); } barimba. gcc --syntax-only -Wc++-compat /tmp/r.c /tmp/r.c: In function =E2=80=98call=E2=80=99: /tmp/r.c:5:3: warning: request for implicit conversion from =E2=80=98void *= =E2=80=99 to =E2=80=98unsigned char *=E2=80=99 not permitted in C++ [-Wc++-compat] xfer (x, y, arg); ^ I think perhaps the problem is that the warning_at call in convert_for_assignment that emits this warning should use expr_loc rather than 'location'. I haven't tested this theory. >>From gcc-bugs-return-453247-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jun 05 03:32:46 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27348 invoked by alias); 5 Jun 2014 03:32:45 -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 27292 invoked by uid 48); 5 Jun 2014 03:32:39 -0000 From: "amker.cheng at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/61411] [NEON] ICE in reload_cse_simplify_operands, at postreload.c:411 Date: Thu, 05 Jun 2014 03:32: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amker.cheng at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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-06/txt/msg00329.txt.bz2 Content-length: 912 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61411 bin.cheng changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker.cheng at gmail dot com, | |mshawcroft at gcc dot gnu.org, | |vmakarov at gcc dot gnu.org --- Comment #1 from bin.cheng --- The patch can fix the issue, but problem is why GCC/lra generated register-indexing ([reg+reg]) addressing mode for V8HImode in the first place. Since without this patch, the address expression is illegal and shouldn't be generated. I didn't look into LRA's code and am not very sure whether this patch is covering the problem. Also added Marcus and Vlad to the CC list.