This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: {PING] [PATCH] Sign extension elimination
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: Mircea Namolaru <NAMOLARU at il dot ibm dot com>, gcc-patches at gcc dot gnu dot org, leehod at gmail dot com, leehod dot baruch at weizmann dot ac dot il, mark at codesourcery dot com, Roger Sayle <roger at eyesopen dot com>
- Date: Sun, 16 Apr 2006 08:18:22 -0700
- Subject: Re: {PING] [PATCH] Sign extension elimination
- References: <20113297.1145187283040.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net> <7492611.1145189431383.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net> <44423C8D.9030807@moene.indiv.nluug.nl>
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.