From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11420 invoked by alias); 26 Jun 2013 01:40:04 -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 11357 invoked by uid 48); 26 Jun 2013 01:39:58 -0000 From: "pebbles at riseup dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57631] [patch] spurious warning for avr interrupts with asm labels Date: Wed, 26 Jun 2013 01:40: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: enhancement X-Bugzilla-Who: pebbles at riseup dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2013-06/txt/msg01532.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57631 --- Comment #12 from pebbles at riseup dot net --- (In reply to Georg-Johann Lay from comment #10) > I can have a look at it, but it might take a month or so until I get back= to > this issue. >=20 > If I understand correctly, bottom line of what you need is that avr-gcc d= oes > not warn for ISR names that are not of the form __vector* >=20 > Maybe a new command line option -W[no-]isr-name or similar is more genera= l?=20 > The default of the option would be 'on' per default. Thank you, yes! Really, it seems this warning would be very useful almost = all the time if it only responded to the name the linker sees rather than the n= ame in the source. This is the change I tried to make in the attached patch. (In reply to Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez from comment #11) > (In reply to pebbles from comment #9) > > I would like to learn to find out if this is a bug and contribute a fix= to > > the gcc sources. At the moment building gcc loads my computer for a da= y, > > and it is difficult to develop on. I plan to pursue this when I am set= up > > better, but if anybody else ever cares about it they should look at it. >=20 > You can use the GCC Farm for gcc development for free. > http://gcc.gnu.org/wiki/CompileFarm >=20 > There are scripts that simplify building and testing patches. See > contrib/patch_test.sh and other scripts in that directory. >=20 > You can also use my own script > http://gcc.gnu.org/wiki/ > ManuelL%C3%B3pezIb%C3%A1%C3%B1ez?action=3DAttachFile&do=3Dview&target=3Dg= ccfarming Thank you. I've submitted a compile farm application. >>From gcc-bugs-return-425154-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jun 26 03:23:09 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 28846 invoked by alias); 26 Jun 2013 03:23:09 -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 28797 invoked by uid 48); 26 Jun 2013 03:23:02 -0000 From: "allan at archlinux dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57653] filename information discarded when using -imacros Date: Wed, 26 Jun 2013 03:23: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.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: allan at archlinux dot 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: 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: 2013-06/txt/msg01533.txt.bz2 Content-length: 430 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653 --- Comment #19 from Allan McRae --- That patch works. With -imacros foo.h: LC_ENTER foo.c LC_RENAME LC_ENTER foo.h LC_LEAVE 0x0 LC_ENTER /usr/include/stdc-predef.h LC_LEAVE 0x0 LC_RENAME foo.c <- correct output LC_LEAVE 0x0 All other combinations of -include/-imacros/-ffreestanding/no foo.h all are unchanged as expected.