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
+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"
--- /dev/null
+! { 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
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;