aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-03-15 23:09:15 +0100
committerSegher Boessenkool <segher@gcc.gnu.org>2019-03-15 23:09:15 +0100
commit850b8aa3091a2c62200bde93fc61101e4dec45b6 (patch)
tree6f2bcf43a0baaf2389f316018cdd8a154739f785 /gcc/fortran/expr.c
parent30bb0e44d3893b27c6cd74c72a077e5a0d96a244 (diff)
downloadgcc-850b8aa3091a2c62200bde93fc61101e4dec45b6.zip
gcc-850b8aa3091a2c62200bde93fc61101e4dec45b6.tar.gz
gcc-850b8aa3091a2c62200bde93fc61101e4dec45b6.tar.bz2
LRA: side_effects_p stmts' output is not invariant (PR89721)
PR89721 shows LRA treating an unspec_volatile's result as invariant, which of course isn't correct. This patch fixes it. PR rtl-optimization/89721 * lra-constraints (invariant_p): Return false if side_effects_p holds. From-SVN: r269716
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions