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


Daniel Berlin wrote:

On Apr 16, 2006, at 5:46 AM, Toon Moene wrote:

/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

I recently changed (IE after the patch was submitted) execute functions to return a value.

If you change rest_of_handle_see to return an unsigned int, and make it return 0, that should solve the the above problem.

Thanks - that did it. I'm now in stage 3.


--
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]