This is the mail archive of the gcc-patches@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]

Re: Fix warnings in empty automaton


Andreas Jaeger wrote:
> 
> Compiling mainline for i686-linux-gnu I got these warnings:
> 
> insn-attrtab.c:42278: warning: unused variable `temp'
> insn-attrtab.c:42276: warning: unused parameter `chip'
> insn-attrtab.c:42300: warning: unused variable `temp'
> insn-attrtab.c:42298: warning: unused parameter `chip'
> 
> The appended patch fixes the warnings, bootstrapped/regtested on
> i686-linux-gnu.
> 
> Ok to commit?
> 
> Andreas
> 
> 2002-05-07  Andreas Jaeger  <aj@suse.de>
> 
>         * genautomata.c (output_internal_min_issue_delay_func): Add
>         ATTRIBUTE_UNUSED to avoid warning with empty dfa.
>         (output_internal_trans_func): Likewise.
> 

Yes, that is ok.  You can commit it.  Thanks for the patch.

Vlad


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