diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-09-09 19:44:15 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2019-09-09 19:44:15 +0000 |
commit | b3baefb205e22aef208192aaf02f7ab0fad7c025 (patch) | |
tree | 8d09b733f3a6232a13ae5823b3155f274331bc14 /gcc/expmed.c | |
parent | b7f55c8e35981c5f2cb7c65d7d69f58e02ab0bcd (diff) | |
download | gcc-b3baefb205e22aef208192aaf02f7ab0fad7c025.zip gcc-b3baefb205e22aef208192aaf02f7ab0fad7c025.tar.gz gcc-b3baefb205e22aef208192aaf02f7ab0fad7c025.tar.bz2 |
expmed.c (extract_bit_field): Update function comment regarding alt_rtl.
2019-09-09 Bernd Edlinger <bernd.edlinger@hotmail.de>
* expmed.c (extract_bit_field): Update function comment
regarding alt_rtl.
* expr.c (expand_expr_real): Update function comment
regarding alt_rtl.
(expand_misaligned_mem_ref): New helper function.
(expand_expr_real_2): Use expand_misaligned_mem_ref.
Remove duplicate assignment to "base" at case MEM_REF.
Remove a shadowed variable "unsignedp" at case VCE.
From-SVN: r275541
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index c582f3a..f1975fe 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -2046,7 +2046,10 @@ extract_integral_bit_field (rtx op0, opt_scalar_int_mode op0_mode, If a TARGET is specified and we can store in it at no extra cost, we do so, and return TARGET. Otherwise, we return a REG of mode TMODE or MODE, with TMODE preferred - if they are equally easy. */ + if they are equally easy. + + If the result can be stored at TARGET, and ALT_RTL is non-NULL, + then *ALT_RTL is set to TARGET (before legitimziation). */ rtx extract_bit_field (rtx str_rtx, poly_uint64 bitsize, poly_uint64 bitnum, |