middle-end/94614 - avoid multiword moves to nothing
authorRichard Biener <rguenther@suse.de>
Thu, 16 Apr 2020 07:37:44 +0000 (09:37 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 16 Apr 2020 10:54:38 +0000 (12:54 +0200)
commiteafeba3e5187a53a4c08a3285b4b220e1ab68b60
tree130e5753d2a1ad6a56f8c33c1c51c2f13e5e7a2d
parent437eea66a4b010d8e94aa81c2b40ccf0588e5fab
middle-end/94614 - avoid multiword moves to nothing

This adjusts emit_move_multi_word to handle moves into paradoxical
subregs parts that are not there and adjusts lower-subregs
CLOBBER resolving to deal with those as well.

2020-04-16  Richard Biener  <rguenther@suse.de>

PR middle-end/94614
* expr.c (emit_move_multi_word): Do not generate code when
the destination part is undefined_operand_subword_p.
* lower-subreg.c (resolve_clobber): Look through a paradoxica
subreg.
gcc/ChangeLog
gcc/expr.c
gcc/lower-subreg.c