This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68199] New: avr-gcc rise a warning when defining a custom interruption
- From: "astralien3000 at yahoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Nov 2015 15:43:38 +0000
- Subject: [Bug target/68199] New: avr-gcc rise a warning when defining a custom interruption
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68199
Bug ID: 68199
Summary: avr-gcc rise a warning when defining a custom
interruption
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: astralien3000 at yahoo dot fr
Target Milestone: ---
Created attachment 36643
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36643&action=edit
The minimal code that rise the warning
Hello,
For AVRs, interruptions names, as defined in avr-libc, should begin with
"_vector".
So that, avr-gcc check this condition when a function is marked with attribute
"signal" or "interrupt".
But if you want to create a custom startup_script (crt.o), which use custom
interruption names, you get this kind of warning :
warning: 'rx' appears to be a misspelled signal handler
I did not find any option to gcc that disable this warning. It would be great
to have this option !