r192041 - in /trunk/gcc: ChangeLog config/rx/rx...
nickc@gcc.gnu.org
nickc@gcc.gnu.org
Wed Oct 3 16:12:00 GMT 2012
Author: nickc
Date: Wed Oct 3 16:12:22 2012
New Revision: 192041
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192041
Log:
* 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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rx/rx.c
trunk/gcc/config/rx/rx.opt
trunk/gcc/doc/invoke.texi
More information about the Gcc-cvs
mailing list