https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89721
--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Thu Oct 17 19:51:01 2019 New Revision: 277131 URL: https://gcc.gnu.org/viewcvs?rev=277131&root=gcc&view=rev Log: Backport from trunk 2019-03-15 Segher Boessenkool <seg...@kernel.crashing.org> PR rtl-optimization/89721 * lra-constraints (invariant_p): Return false if side_effects_p holds. Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/lra-constraints.c