[tree-ssa] Build Failure

Paul Brook paul@nowt.org
Fri Feb 14 19:24:00 GMT 2003


Simething in this changeset breaks builds with tree checking enabled.

2002-02-14  Jeff Law  <law@redhat.com>

        * tree-ssa-ccp.c (def_to_undefined): Directly store the new
        lattice values rather than call set_value.
        (def_to_varying): Likewise.

        * tree-ssa-ccp.c (def_to_undefined): Add some state transition
        sanity checking.  Avoid calling set_value if nothing changed.
        (def_to_varying): Avoid calling set_value if nothing changed.
        (set_lattice_value): Add some state transition sanity checking
        for transitions into the CONSTANT state.  If the object's
        "constant" value has changed to a new constant value, then the
        object has a VARYING value.

        * tree-ssa-ccp.c (tree_ssa_ccp): Work through the entire
        ssa_edges worklist each iteration through the main loop.

It causes a syntax error in def_to_undefined (tree-ssa-ccp.c:815). 
Commenting out the offending line (it looks like a stray comment or 
something) gets a bit further, but then dies with:

/home/paul/cases/gcc-obj/gcc/xgcc -B/home/paul/cases/gcc-obj/gcc/ 
-B/home/paul/cases/usr/athlon-pc-linux-gnu/bin/ 
-B/home/paul/cases/usr/athlon-pc-linux-gnu/lib/ -isystem 
/home/paul/cases/usr/athlon-pc-linux-gnu/include -O2 -DIN_GCC    -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  
-I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config 
-I../../gcc/gcc/../include   -g0 -finhibit-size-directive 
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss 
-fno-omit-frame-pointer \
   -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
../../gcc/gcc/crtstuff.c: In function `__do_global_dtors_aux':
../../gcc/gcc/crtstuff.c:286: internal compiler error: in set_lattice_value, 
at tree-ssa-ccp.c:884

Paul Brook



More information about the Gcc mailing list