Backport from trunk
2019-03-15 Segher Boessenkool <segher@kernel.crashing.org>
PR rtl-optimization/89721
* lra-constraints (invariant_p): Return false if side_effects_p holds.
From-SVN: r277132
+2019-10-17 Segher Boessenkool <segher@kernel.crashing.org>
+
+ Backport from trunk
+ 2019-03-15 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR rtl-optimization/89721
+ * lra-constraints (invariant_p): Return false if side_effects_p holds.
+
2019-10-17 Richard Earnshaw <rearnsha@arm.com>
Backport from mainline
enum rtx_code code;
int i, j;
+ if (side_effects_p (x))
+ return false;
+
code = GET_CODE (x);
mode = GET_MODE (x);
if (code == SUBREG)