diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2021-08-24 22:07:41 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2021-08-24 22:07:41 +0100 |
commit | 81e1894456bc6214c0c42148ff2b1bed142a3545 (patch) | |
tree | bdea0686960d9771e9106b1c98d306367b18ab8d /libcpp/include/cpplib.h | |
parent | f95946afd160e2a1f4beac4ee5e6d5633307f39a (diff) | |
download | gcc-81e1894456bc6214c0c42148ff2b1bed142a3545.zip gcc-81e1894456bc6214c0c42148ff2b1bed142a3545.tar.gz gcc-81e1894456bc6214c0c42148ff2b1bed142a3545.tar.bz2 |
[Committed] PR middle-end/102031: Fix typo/mistake in simplify_truncation patch.
My apologies again. My patch to simplify truncations of SUBREGs in
simplify-rtx.c contained an error where I'd accidentally compared
against a mode instead of the precision of that mode. Grr! It even
survived regression testing on two platforms. Fixed below, and
committed as obvious, after a full "make bootstrap" and "make -k check"
on x86_64-pc-linux-gnu with no new regressions.
2021-08-24 Roger Sayle <roger@nextmovesoftware.com>
gcc/ChangeLog
PR middle-end/102031
* simplify-rtx.c (simplify_truncation): When comparing precisions
use "subreg_prec" variable, not "subreg_mode".
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions