[Bug target/57631] [patch] spurious warning for avr interrupts with asm labels

pebbles at riseup dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 26 01:40:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57631

--- 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.
> 
> If I understand correctly, bottom line of what you need is that avr-gcc does
> not warn for ISR names that are not of the form __vector*
> 
> Maybe a new command line option -W[no-]isr-name or similar is more general? 
> 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 name
in the source.  This is the change I tried to make in the attached patch.

(In reply to Manuel López-Ibáñez 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 day,
> > 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.
> 
> You can use the GCC Farm for gcc development for free.
> http://gcc.gnu.org/wiki/CompileFarm
> 
> There are scripts that simplify building and testing patches. See
> contrib/patch_test.sh and other scripts in that directory.
> 
> You can also use my own script
> http://gcc.gnu.org/wiki/
> ManuelL%C3%B3pezIb%C3%A1%C3%B1ez?action=AttachFile&do=view&target=gccfarming

Thank you.  I've submitted a compile farm application.


More information about the Gcc-bugs mailing list