This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Define check_sccs only if ENABLE_CHECKING is defined
- From: Revital1 Eres <ERES at il dot ibm dot com>
- To: "H.J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 3 Jul 2007 17:26:20 +0300
- Subject: Re: PATCH: Define check_sccs only if ENABLE_CHECKING is defined
"H.J. Lu" <hjl@lucon.org> wrote on 03/07/2007 17:18:06:
> I used --enable-checking=assert to configure gcc and I got
>
> cc1: warnings being treated as errors
> /export/gnu/src/gcc/gcc/gcc/ddg.c:877: error: âcheck_sccsâ defined but
> not used
> make[4]: *** [ddg.o] Error 1
>
> It is because there are
>
> #ifdef ENABLE_CHECKING
> check_sccs (sccs, num_nodes);
> #endif
>
> in ddg.c. I am checking this patch as an obvious fix.
Thanks,
Revital
> Thanks.