{PING] [PATCH] Sign extension elimination

Daniel Berlin dberlin@dberlin.org
Sun Apr 16 15:18:00 GMT 2006


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

> 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


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.

  



More information about the Gcc-patches mailing list