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: [cft] rewrite of virtual register instantiation


On Wed, 27 Apr 2005 15:25:46 -0700
Richard Henderson <rth@redhat.com> wrote:

> New patch.
> 
> My remaining use of validate_change corrupts the data I'd left cached in
> recog_data.  Which made me miss an instance of a virtual register.  I
> could either call extract_insn again or perform the validation by hand.
> Given the scope of the change I was trying to make, I chose the later.

Does not bootstrap, but for a different reason:

stage1/xgcc -Bstage1/ -B/usr/local/sparc-unknown-linux-gnu/bin/ -c   -O2 -mcpu=\v8 -mtune=ultrasparc3 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -\Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-d\efinition -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I..\/../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include  ../\../gcc/gcc/function.c -o function.o
cc1: warnings being treated as errors
../../gcc/gcc/function.c: In function 'instantiate_virtual_regs':
../../gcc/gcc/function.c:1320: warning: 'any_change' may be used uninitialized \in this function

I fixed this real quick by moving the "any_change" initialization of false
to the top of the function.  Let's see how much further it gets after that.


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