aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/match.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2020-04-01 16:51:04 +0000
committerSegher Boessenkool <segher@kernel.crashing.org>2020-04-01 17:00:10 +0000
commit032f2366a4cd57f781f2093d977b9cf9600c83b8 (patch)
tree6eb72532213c11af74a473cd5c5bd6ba2e6312af /gcc/fortran/match.c
parente899d4b71255b9ae096a7ecd31a61fc76f200019 (diff)
downloadgcc-032f2366a4cd57f781f2093d977b9cf9600c83b8.zip
gcc-032f2366a4cd57f781f2093d977b9cf9600c83b8.tar.gz
gcc-032f2366a4cd57f781f2093d977b9cf9600c83b8.tar.bz2
rs6000: Make code questionably using r2 not ICE (PR94420)
The example code in the PR uses r2 (the TOC register) directly. In the RTL generated for that, r2 is copied to some pseudo, and then cprop propagates that into a "*tocref<mode>" insn, because nothing is preventing it from doing that. So, put the same condition in the insn condition for this as we will later encounter in the constraint anyway, fixing this. 2020-04-01 Segher Boessenkool <segher@kernel.crashing.org> PR target/94420 * config/rs6000/rs6000.md (*tocref<mode> for P): Add insn condition on operands[1].
Diffstat (limited to 'gcc/fortran/match.c')
0 files changed, 0 insertions, 0 deletions