This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL
- 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: 31 Jan 2008 17:14:33 -0000
- Subject: [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
1510 type = signed_type_for_types (TREE_TYPE (chrec_a), TREE_TYPE
(chrec_b));
1511 chrec_a = chrec_convert (type, chrec_a, NULL_TREE);
(gdb) p type
$4 = (tree) 0x0
and we then ICE in
#0 0x000000000064bc08 in fold_convert (type=0x0, arg=0x2aad7d1bb570)
at /space/rguenther/src/svn/trunk/gcc/fold-const.c:2496
(gdb) call debug_tree (chrec_a)
<integer_cst 0x2aad7d1bb570 type <integer_type 0x2aad7d1ae0c0 bit_size_type>
constant invariant 1>
(gdb) call debug_tree (chrec_b)
<integer_cst 0x2aad7d1bb390 type <integer_type 0x2aad7d1ae0c0 bit_size_type>
constant invariant 0>
--
Summary: ICE in tree-data-ref because signed_type_for_types
returns NULL
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: ia64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043