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: {PING] [PATCH] Sign extension elimination


I wrote:

OK, that seems to go much better. I still don't understand how they could be "commit[..]ted separately, though.

Now I run into the following:


/home/toon/compilers/obj-t/./prev-gcc/xgcc -B/home/toon/compilers/obj-t/./prev-gcc/ -B/usr/snp/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include -I../../trunk/gcc/../libcpp/include -I../../trunk/gcc/../libdecnumber -I../libdecnumber ../../trunk/gcc/see.c -o see.o
cc1: warnings being treated as errors
../../trunk/gcc/see.c:3768: warning: initialization from incompatible pointer type
make[3]: *** [see.o] Error 1


This is around line 3768:

 3761
 3762   struct tree_opt_pass pass_see =
 3763   {
 3764     "see",                                /* name */
 3765     gate_handle_see,                      /* gate */
 3766     rest_of_handle_see,                   /* execute */
 3767     NULL,                                 /* sub */
 3768     NULL,                                 /* next */
 3769     0,                                    /* static_pass_number */
 3770     TV_SEE,                               /* tv_id */
 3771     0,                                    /* properties_required */
 3772     0,                                    /* properties_provided */
 3773     0,                                    /* properties_destroyed */
 3774     0,                                    /* todo_flags_start */
 3775     TODO_dump_func,                       /* todo_flags_finish */
 3776     'u'                                   /* letter */
 3777   };
 3778

Line 3777 is the last non-blank line in my source of see.c:

$ wc -l see.c
3780 see.c

Any ideas ?

Thanks in advance,

--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/
My next laptop will be pedal-powered


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