public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* [tree-ssa] bootstrap failure
@ 2003-11-28 18:06 Steven Bosscher
  2003-11-28 18:10 ` Steven Bosscher
  2003-11-28 18:12 ` Diego Novillo
  0 siblings, 2 replies; 13+ messages in thread
From: Steven Bosscher @ 2003-11-28 18:06 UTC (permalink / raw)
  To: gcc, dnovillo

Hi,

I have a comparison failure when I try to bootstrap the tree-ssa branch:

case "gnucompare" in *compare | *compare-lean ) stage=2 ;; * ) stage=`echo gnucompare | sed -e 's,^[a-z]*compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
  echo "Bootstrap comparison failure!"; \
  cat .bad_compare; \
  exit 1; \
else \
  case "gnucompare" in \
    *-lean ) rm -rf stage$stage ;; \
    *) ;; \
  esac; true; \
fi
Bootstrap comparison failure!
intl.o differs
make[1]: *** [gnucompare] Error 1
make[1]: Leaving directory `/home/steven/devel/ssabuild/gcc'
make: *** [bootstrap] Error 2

configured with "--enable-languages=c,c++,objc,f95"
last updated Fri Nov 28 13:39:34 UTC 2003.

Does anyone else see this?

Gr.
Steven

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [tree-ssa] Bootstrap failure
@ 2003-07-29 11:37 Steven Bosscher
  2003-07-29 18:07 ` Phil Edwards
  0 siblings, 1 reply; 13+ messages in thread
From: Steven Bosscher @ 2003-07-29 11:37 UTC (permalink / raw)
  To: gcc, dnovillo

Something in the last 12 hours broke bootstrap with checking enabled for
the tree-ssa branch (last updated 06:22:22 UTC 2003) on i686-pc-linux-gnu:

/home/steven/devel/ssabuild/gcc/xgcc -B/home/steven/devel/ssabuild/gcc/ -B/opt/experimental//i686-pc-linux-gnu/bin/ -B/opt/experimental//i686-pc-linux-gnu/lib/ -isystem /opt/experimental//i686-pc-linux-gnu/include -isystem /opt/experimental//i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../tree-ssa/gcc -I../../tree-ssa/gcc/. -I../../tree-ssa/gcc/config -I../../tree-ssa/gcc/../include -I../../tree-ssa/gcc/../libbanshee/libcompat -I../../tree-ssa/gcc/../libbanshee -I../../tree-ssa/gcc/../libbanshee/points-to  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
   -c ../../tree-ssa/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/usr/include/bits/string2.h: In function `__strcspn_c1':
/usr/include/bits/string2.h:926: internal compiler error: in var_ann, at tree-flow-inline.h:36
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/steven/devel/ssabuild/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/steven/devel/ssabuild/gcc'
make: *** [bootstrap] Error 2


#1  0x08104a0d in var_ann (t=0x0) at tree-flow-inline.h:36
36          abort ();
(gdb) l
31      #if defined ENABLE_CHECKING
32        if (t == NULL_TREE
33            || !DECL_P (t)
34            || (t->common.ann
35                && t->common.ann->common.type != VAR_ANN))
36          abort ();
37      #endif
38
39        return (var_ann_t) t->common.ann;
40      }
(gdb) p t
$2 = 0x0
(gdb) where
#0  fancy_abort (file=0x8512ba0 "../../tree-ssa/gcc/tree-flow-inline.h",
    line=36, function=0x8512b86 "var_ann")
    at ../../tree-ssa/gcc/diagnostic.c:1380
#1  0x08104a0d in var_ann (t=0x0) at tree-flow-inline.h:36
#2  0x0810400a in set_is_used (t=0x0) at ../../tree-ssa/gcc/tree-ssa.c:2124
#3  0x08100053 in insert_copy_on_edge (e=0x87628dc, dest=0x40217f50,
    src=0x40218f6c) at ../../tree-ssa/gcc/tree-ssa.c:881
#4  0x08101123 in eliminate_phi (e=0x87628dc, i=0, g=0x875f980)
    at ../../tree-ssa/gcc/tree-ssa.c:1173
#5  0x081025cf in rewrite_out_of_ssa (fndecl=0x40217c40)
    at ../../tree-ssa/gcc/tree-ssa.c:1711

We lose the tree pointer in tree_simple:get_base_symbol (tree t) when it is
called from set_is_used ().  get_base_symbol() expects a decl, a ref or an ssa
name, but we call it with an INTEGER_CST.

Probably fallout from the "constant propatation into PHIs"-patches??

Gr.
Steven

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [tree-ssa] bootstrap failure
@ 2003-04-25 12:32 Diego Novillo
  2003-04-25 12:36 ` Diego Novillo
  0 siblings, 1 reply; 13+ messages in thread
From: Diego Novillo @ 2003-04-25 12:32 UTC (permalink / raw)
  To: Jason Merrill, Andrew Macleod, Daniel Berlin; +Cc: gcc

Folks,

I got a bootstrap failure last night while running SPEC95.
One of these patches introduced this regression.

I haven't looked very hard, but I *think* it might be your patch
Jason.  I had done a bootstrap yesterday that included Andrew's
and Daniel's patch (although that bootstrap didn't include
libjava).  It can't be Daniel's because his change is not in the
tree-ssa path.


Thanks.  Diego.

+2003-04-24  Jason Merrill  <jason@redhat.com>
+
+	* gimplify.c (simplify_cond_expr): Avoid redundant gimplification.
+
+	Add TREE_VEC of case labels to the SWITCH_EXPR during gimplification.
+	* tree.def (CASE_LABEL_EXPR): Add an operand for the LABEL_DECL.
+	* tree.h (SWITCH_LABELS, CASE_LABEL): New macros.
+	* c-simplify.c (c_simplify_stmt) <CASE_LABEL>: Create LABEL_DECL here.
+	* expr.c (expand_expr) <CASE_LABEL_EXPR>: Not here.
+	* gimplify.c (gimplify_ctx): Add case_labels field.
+	(gimplify_switch_expr, gimple_add_case_label): New fns.
+	(simplify_expr): Use them.
+
+2003-04-24  Andrew MacLeod  <amacleod@redhat.com>
+
+	* tree-flow.h (processed_out_of_ssa): Rename to out_of_ssa_tag.
+	* tree-ssa-live.c (register_ssa_partition): Add variable to partition.
+	(change_partition_var): Use out_of_ssa_tag.
+	(create_ssa_var_map): Add all uses, defs and PHI elements to partition.
+	(new_tree_live_info): Create a live range info structure.
+	(delete_tree_live_info): Free storage.
+	(live_worklist): Fill in the live range info for a variable for the
+	blocks between the def and all the blocks containing uses.
+	(set_if_valid): Set partition bit if variable is in a partition.
+	(add_livein_if_notdef): Set live on entry bit for a var's partition
+	if a definition has not been seen.
+	(calculate_live_on_entry): Create partition live on entry bitmaps for 
+	all basic blocks .
+	(calculate_live_on_exit): Calculate live on exit information for each
+	basic block.
+	(init_root_var): Initialize and fill in a root_var structure.
+	(remove_root_var_partition): remove a partition from a root_var list.
+	(delete_root_var): Free storage.
+	(dump_root_var): Display root_var summary.
+	(dump_var_map): Show extra info for ssa name versions.
+	* tree-ssa-live.h (NO_PARTITION): Define.
+	(register_ssa_partition): Remove.
+	(partition_to_var): Use partition_find after decompressing.
+	(var_to_partition): Return NO_PARTITION if var is not in a partition.
+	(struct tree_live_info_d): Define live range info structure.
+	(partition_is_global): Return 1 if used outside a basic block.
+	(live_entry_blocks): Return bitmap over blocks that partition is live 
+	on entry to.
+	(live_on_exit): Return bitmap of partitions live on exit from a block.
+	(struct root_var_d): Define a root_var structure.
+	(ROOT_VAR_NONE): Define.
+	(num_root_vars): Number of variables in root_var object.
+	(root_var): Return variable for a root_var index.
+	(first_root_var_partition): Return first partition for a root_var.
+	(next_root_var_partition): Get next partition for a root_var.
+	(find_root_var): Find root_var index for a specific partition.
+	* tree-ssa.c (eliminate_extraneous_phis): Remove.
+	(set_if_valid): Set partition bit if variable is in a partition.
+	(add_conflicts_if_valid): Add conflict between variable and all 
+	related partitions set in a bitvector.
+	(coalesce_ssa_name): Create a conflict graph and coalesce all 
+	partitions which don't conflict and are related by the same root_var.
+	(assign_vars): Use a root_var object, and assign different real 
+	variables to all partitions.
+	(rewrite_out_of_ssa): Call compact_var_map() once, and don't call
+	eliminate_extraneous_phis.
+
+2003-04-23  Daniel Berlin  <dberlin@dberlin.org>
+
+	* tree-flow.h (create_global_var): Add prototype.
+	
+	* tree-dfa.c (create_global_var): Externalize.
+	
+	* tree-alias-common.c: Set DECL_CONTEXT on our temp alias vars.
+	(call_may_clobber): Make a copy of this function, since our version
+	will be slightly different soon.
+	(create_alias_vars): We need global_var, so create it if necessary.
+

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-11-29  6:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 18:06 [tree-ssa] bootstrap failure Steven Bosscher
2003-11-28 18:10 ` Steven Bosscher
2003-11-28 20:38   ` Diego Novillo
2003-11-29  2:30     ` Steven Bosscher
2003-11-29  6:41       ` Diego Novillo
2003-11-29 11:53         ` Andrew MacLeod
2003-11-28 18:12 ` Diego Novillo
  -- strict thread matches above, loose matches on Subject: below --
2003-07-29 11:37 [tree-ssa] Bootstrap failure Steven Bosscher
2003-07-29 18:07 ` Phil Edwards
2003-04-25 12:32 [tree-ssa] bootstrap failure Diego Novillo
2003-04-25 12:36 ` Diego Novillo
2003-04-25 12:53   ` Andrew MacLeod
2003-04-25 17:03     ` Diego Novillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).