New bootstrap fail on PA linux

Andreas Tobler toa@pop.agri.ch
Sat Apr 19 07:17:00 GMT 2003


John David Anglin wrote:
> On the main:
> 
> stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/hppa-linux/bin/ -c   -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include ../../gcc/gcc/calls.c -o calls.o
> ../../gcc/gcc/calls.c: In function `expand_call':
> ../../gcc/gcc/calls.c:2215: warning: `old_stack_pointer_delta' might be used uninitialized in this function

See the same on solaris 2.9, darwin6.3 and ppc linux.

Can we give it a 0? On line 2215 in calls?

Andreas

RCS file: /cvs/gcc/gcc/gcc/calls.c,v
retrieving revision 1.266
diff -u -r1.266 calls.c
--- gcc/calls.c 18 Apr 2003 22:20:55 -0000      1.266
+++ gcc/calls.c 19 Apr 2003 06:01:40 -0000
@@ -2212,7 +2212,7 @@
    /* Some stack pointer alterations we make are performed via
       allocate_dynamic_stack_space. This modifies the stack_pointer_delta,
       which we then also need to save/restore along the way.  */
-  int old_stack_pointer_delta;
+  int old_stack_pointer_delta = 0;



More information about the Gcc mailing list