This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2008 11:25:24 -0000
- Subject: [Bug tree-optimization/34679] [4.3 Regression] ICE: tree check: expected integer_type, have enumeral_type in host_integerp, at tree.c:4949 (predictive commoning)
- References: <bug-34679-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-05 11:25 -------
#2 0x0000000000b09925 in host_integerp (t=0x2b817cd15b70, pos=0)
at /space/rguenther/src/svn/trunk/gcc/tree.c:4949
#3 0x0000000000686e97 in fold_plusminus_mult_expr (code=PLUS_EXPR,
type=0x2b817c26f000, arg0=0x2b817cdf36c0, arg1=0x2b817c25d570)
at /space/rguenther/src/svn/trunk/gcc/fold-const.c:7402
...
#12 0x0000000000caeb7e in chrec_fold_plus_1 (code=PLUS_EXPR,
type=0x2b817c26f000, op0=0x2b817ce07700, op1=0x2b817cc7b630)
at /space/rguenther/src/svn/trunk/gcc/tree-chrec.c:323
...
#19 0x0000000000952f5d in analyze_scalar_evolution_in_loop (
wrto_loop=0x2b817cc545a0, use_loop=0x2b817cc545a0, version=0x2b817ce07100,
folded_casts=0x7fff2e8a6f3f "")
at /space/rguenther/src/svn/trunk/gcc/tree-scalar-evolution.c:1854
#20 0x00000000009579e0 in simple_iv (loop=0x2b817cc545a0, stmt=0x2b817d15b9f0,
op=0x2b817ce07100, iv=0x7fff2e8a7030, allow_nonconstant_step=0 '\0')
at /space/rguenther/src/svn/trunk/gcc/tree-scalar-evolution.c:2663
#21 0x00000000008bd379 in dr_analyze_innermost (dr=0x12266d0)
at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:683
#22 0x00000000008bf1eb in create_data_ref (nest=0x2b817cc545a0,
memref=0x2b817d5335a0, stmt=0x2b817d15b9f0, is_read=1 '\001')
at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:841
#23 0x00000000008ce048 in find_data_references_in_stmt (nest=0x2b817cc545a0,
stmt=0x2b817d15b9f0, datarefs=0x7fff2e8a72f8)
at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4026
#24 0x00000000008ce434 in find_data_references_in_loop (loop=0x2b817cc545a0,
datarefs=0x7fff2e8a72f8)
at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4071
#25 0x00000000008ce9b3 in compute_data_dependences_for_loop (
loop=0x2b817cc545a0, compute_self_and_read_read_dependences=1 '\001',
datarefs=0x7fff2e8a72f8, dependence_relations=0x7fff2e8a72f0)
at /space/rguenther/src/svn/trunk/gcc/tree-data-ref.c:4148
#26 0x000000000092e23a in tree_predictive_commoning_loop (loop=0x2b817cc545a0)
at /space/rguenther/src/svn/trunk/gcc/tree-predcom.c:2496
reproducible with a cross, -fno-predictive-commoning is a workaround.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org, spop at gcc dot gnu dot
| |org
Component|middle-end |tree-optimization
Summary|[4.3 Regression] ICE: tree |[4.3 Regression] ICE: tree
|check: expected |check: expected
|integer_type, have |integer_type, have
|enumeral_type in |enumeral_type in
|host_integerp, at |host_integerp, at
|tree.c:4949 |tree.c:4949 (predictive
| |commoning)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34679