]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/rx/rx.c (struct decl_chain): New local structure.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Oct 2012 16:12:22 +0000 (16:12 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Oct 2012 16:12:22 +0000 (16:12 +0000)
commit6a47b36023f66cc83d1d3ee4f9ac491d358100ad
tree46ee8015faaeb50c30f8914640d00b5c20e6d402
parentf3c0d3e63d1a91c7d646f556216eb22dfdd81292
* config/rx/rx.c (struct decl_chain): New local structure.
(warned_decls): New local variable.  Contains a stack of decls for
which warnings have been issued.
(add_warned_decl): Adds a decl to the stack.
(already_warned): Returns true if a given decl is on the stack.
(rx_set_current_function): Issue a warning if multiple fast
interrupt handlers are defined.
* config/rx/rx.opt (mwarn-multiple-fast-interrupts): New option.
* doc/invoke.texi: Document the option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192041 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rx/rx.c
gcc/config/rx/rx.opt
gcc/doc/invoke.texi