This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/68199] New: avr-gcc rise a warning when defining a custom interruption


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 !

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]