Commit 18f5009e by Richard Biener Committed by Richard Biener

re PR tree-optimization/85082 (ICE with -Ofast in vn_reference_insert_pieces, at…

re PR tree-optimization/85082 (ICE with -Ofast in vn_reference_insert_pieces, at tree-ssa-sccvn.c:2624)

2018-03-27  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/85082
	* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_for_pieces):
	Valueize the VUSE.

	* gfortran.dg/pr85082.f90: New testcase.

From-SVN: r258877
parent 7198b3c4
2018-03-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/85082
* tree-ssa-sccvn.c (vn_reference_lookup_or_insert_for_pieces):
Valueize the VUSE.
2018-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config.gcc (aarch64*-*-linux*): New TARGET_DEFAULT_ASYNC_UNWIND_TABLES
......
2018-03-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/85082
* gfortran.dg/pr85082.f90: New testcase.
2018-03-27 Chenghua Xu <paul.hua.gm@gmail.com>
* gcc.target/mips/umips-stroe16-2.c: Change "length = 2"
......
! { dg-do compile }
! { dg-options "-Ofast" }
program p
real(4) :: a, b
integer(4) :: n, m
equivalence (a, n)
a = 1024.0
m = 8
a = 1024.0
b = set_exponent(a, m)
n = 8
a = f(a, n)
b = set_exponent(a, m)
end
......@@ -1631,7 +1631,7 @@ vn_reference_lookup_or_insert_for_pieces (tree vuse,
vn_reference_s vr1;
vn_reference_t result;
unsigned value_id;
vr1.vuse = vuse;
vr1.vuse = vuse ? SSA_VAL (vuse) : NULL_TREE;
vr1.operands = operands;
vr1.type = type;
vr1.set = set;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment