[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 09:28:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
/space/rguenther/src/svn/trunk2/gcc/genmatch.c:4640:1: internal compiler
error:in wide_int_to_tree, at tree.c:1398
}
^
0x12cfa95 wide_int_to_tree(tree_node*,
generic_wide_int<wide_int_ref_storage<false> > const&)
/space/rguenther/src/svn/trunk2/gcc/tree.c:1398
0x133cd51 output_constant
/space/rguenther/src/svn/trunk2/gcc/varasm.c:4702
so we don't get very far. Of course
else if (TREE_CODE (exp) == INTEGER_CST)
exp = wide_int_to_tree (saved_type, exp);
is just a stupid way to write fold_convert (saved_type, exp). Or not, if
the special wide_int_to_tree behavior was desired.
Seems we get a bit further with the above "fixed".
More information about the Gcc-bugs
mailing list