This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: initialization of auto in cccp.c
- To: "Philippe De Muyter" <phdm at macqel dot be>
- Subject: Re: initialization of auto in cccp.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 28 Nov 1999 00:55:12 -0700
- cc: gcc-patches at gcc dot gnu dot org (gcc-patches at gcc dot gnu dot org)
- Reply-To: law at cygnus dot com
In message <199911261017.LAA22941@mail.macqel.be>you write:
> Problem :
> "/share/src/gnu/egcs-19991122/gcc/cccp.c", line 2242: warning: illegal poin
> ter c
> ombination, op =
> "/share/src/gnu/egcs-19991122/gcc/cccp.c", line 4557: cannot initialize aut
> o arr
> ays, unions or structs.
> "/share/src/gnu/egcs-19991122/gcc/cccp.c", line 4557: operands of = have in
> compa
> tible types
> gnumake[2]: *** [cccp.o] Error 1
>
> Fix :
> Fri Nov 26 10:48:48 1999 Philippe De Muyter <phdm@macqel.be>
>
> * cccp.c (do_include): Avoid initialization of automatic variable.
You had a completely unrelated change in this patch which added a cast in
the function index0.
Please try to be more careful with your patches.
I installed the fix to do_include, but not the change to index0.
jeff