aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.h
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2022-10-06 08:43:53 +0200
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2022-10-06 08:43:53 +0200
commit5fc4d3e1837ea4850aac6460f563913f1d3fc5b8 (patch)
treef6101e8cdf333b8ec34da24e3969977e37cd5938 /gcc/builtins.h
parente9d50e7a4e290d7476cc7e6b5a8f2f1fb496c570 (diff)
downloadgcc-5fc4d3e1837ea4850aac6460f563913f1d3fc5b8.zip
gcc-5fc4d3e1837ea4850aac6460f563913f1d3fc5b8.tar.gz
gcc-5fc4d3e1837ea4850aac6460f563913f1d3fc5b8.tar.bz2
cselib: Skip BImode while keeping track of subvalue relations [PR107088]
For BImode get_narrowest_mode evaluates to QImode but BImode < QImode. Thus FOR_EACH_MODE_UNTIL never reaches BImode and iterates until OImode for which no wider mode exists so we end up with VOIDmode and fail. Fixed by adding a size guard so we effectively skip BImode. gcc/ChangeLog: PR rtl-optimization/107088 * cselib.cc (new_cselib_val): Skip BImode while keeping track of subvalue relations.
Diffstat (limited to 'gcc/builtins.h')
0 files changed, 0 insertions, 0 deletions