[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #12 from Richard Biener --- Author: rguenth Date: Wed Sep 16 07:25:15 2015 New Revision: 227818 URL: https://gcc.gnu.org/viewcvs?rev=227818=gcc=rev Log: 2015-09-16 Richard Biener PR middle-end/67442

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #5 from Richard Biener --- I wonder how many bugs of this kind we have lurking in the tree... It works fine when type has the same signedness as pcst of course, but as we don't know pcst sign we can't check for that case... The only

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #8 from Richard Biener --- /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

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #4 from Richard Biener --- That is, tree wide_int_to_tree (tree type, const wide_int_ref ) { ... unsigned int prec = TYPE_PRECISION (type); signop sgn = TYPE_SIGN (type); ... wide_int cst = wide_int::from (pcst, prec, sgn);

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW CC|

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #6 from Richard Biener --- Ok, truncation also should work, thus gcc_assert (prec <= pcst.get_precision ()); (trying to see how far bootstrap goes with that)

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Version|unknown

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #9 from Richard Biener --- Bootstrap finished with that assert and the fix (c,c++,fortran only, expanding that now). I'm going to commit the varasm.c change if testing is fine.

[Bug middle-end/67442] [5/6 Regression] GCC 5.2.0 on x86_64 creates invalid address on specific array index calculation through pointer

2015-09-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67442 --- Comment #10 from Richard Biener --- Assert triggers through /space/rguenther/src/svn/trunk2/gcc/testsuite/g++.dg/tree-ssa/pr49911.C:8:22: internal compiler error: in wide_int_to_tree, at tree.c:1398^M 0xf49a69 wide_int_to_tree(tree_node*,