This is the mail archive of the gcc@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]

[tree-ssa] DCE


Hello Diego,

I can bootstrap the tree-ssa branch with CCP enabled in
i586-pc-linux-gnu.

DCE kills the bootstrap at a very early stage. xgcc is compiled with gcc
2.95.3, and (apparently) with checking enabled. A check at tree-flow:886
fails:

/* Return the annotation attached to T.  Create a new one if necessary.  */
static inline tree_ann
tree_annotation (t)
     tree t;
{
#if defined ENABLE_CHECKING
  if (TREE_CODE_CLASS (TREE_CODE (t)) == 'c'
      || TREE_CODE_CLASS (TREE_CODE (t)) == 't'
      || TREE_CODE (t) == IDENTIFIER_NODE)
    abort ();
#endif
  return ((t->common.aux) ? (tree_ann)t->common.aux : create_tree_ann (t));
}

Greetz
Steven




./xgcc -ftree-ssa -ftree-ssa-dce -B./
-B/opt/experimental/i586-pc-linux-gnu/bin/ -isystem
/opt/experimental/i586-pc-linux-gnu/include -isystem
/opt/experimental/i586-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_divdi3 -c
../../gcc/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o
libgcc/./_divdi3.o
../../gcc/gcc/libgcc2.c: In function `__udivmoddi4':
../../gcc/gcc/libgcc2.c:720: internal compiler error: in
tree_annotation, at tree-flow.h:889
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [libgcc/./_divdi3.o] Error 1
make[3]: Leaving directory `/home/steven/devel/gcc/objdir/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/steven/devel/gcc/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/steven/devel/gcc/objdir/gcc'
make: *** [bootstrap] Error 2



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