This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove warning in local-alloc.c and profile.c
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Remove warning in local-alloc.c and profile.c
- From: law at redhat dot com
- Date: Mon, 06 Aug 2001 11:05:08 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <hod769jvl5.fsf@gee.suse.de>you write:
>
> The appended patch fixes these warnings:
>
> /cvs/gcc/gcc/local-alloc.c:1108: warning: implicit declaration of function
> `can_throw_internal'
> /cvs/gcc/gcc/profile.c:544: warning: unused variable `insn'
>
> Regtested/bootstrapped on i686-linux,
>
> Ok to commit?
> Andreas
>
> 2001-08-06 Andreas Jaeger <aj@suse.de>
>
> * profile.c (branch_prob): Remove unused variable insn.
>
> * Makefile.in (local-alloc.o): Add dependency on except.h.
>
> * local-alloc.c: Include except.h for can_throw_internal prototype.
Approved. Please install.
Thanks,
jeff