aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl-ssa/access-utils.h
diff options
context:
space:
mode:
authorRobin Dapp <rdapp@linux.ibm.com>2022-10-18 12:27:37 +0200
committerRobin Dapp <rdapp@linux.ibm.com>2022-10-19 13:00:07 +0200
commit95c5cffb712d90bfe36f2cf71d3a052b8068db34 (patch)
tree725c32ba0b1454e36d6ffb9da2212a5dd58cfada /gcc/rtl-ssa/access-utils.h
parent65b98fc763d14d371fcf37a17e33519012ec2bac (diff)
downloadgcc-95c5cffb712d90bfe36f2cf71d3a052b8068db34.zip
gcc-95c5cffb712d90bfe36f2cf71d3a052b8068db34.tar.gz
gcc-95c5cffb712d90bfe36f2cf71d3a052b8068db34.tar.bz2
s390: Fix bootstrap error with checking and -m31.
For a while already we hit an ICE when bootstrapping with -m31 and --enable-checking=all. ../../../../libgfortran/ieee/ieee_helper.c: In function 'ieee_class_helper_16': ../../../../libgfortran/ieee/ieee_helper.c:77:3: internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1932 77 | } | ^ ../../../../libgfortran/ieee/ieee_helper.c:87:1: note: in expansion of macro 'CLASSMACRO' 87 | CLASSMACRO(16) | ^~~~~~~~~~ This patch fixes the problem by first checking for reload_completed and also ensuring that REGNO is only called on reg operands rather than subregs. gcc/ChangeLog: * config/s390/s390.md: Move reload_completed and check operands for REG_P.
Diffstat (limited to 'gcc/rtl-ssa/access-utils.h')
0 files changed, 0 insertions, 0 deletions