]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix execute/20071219-1.c regression on H8 due to loss of REG_INC notes in peephole2.
authorJeff Law <law@redhat.com>
Sun, 31 May 2020 17:16:37 +0000 (11:16 -0600)
committerJeff Law <law@redhat.com>
Sun, 31 May 2020 17:18:15 +0000 (11:18 -0600)
commitc25d0fa4d76cbc46078624d101ac019ff3df1142
tree891b08fcc93545e2d2a8d02ad1c402c76a544dcf
parent05430b9b6a7c4aeaab595787ac1fbf6f3e0196a0
Fix execute/20071219-1.c regression on H8 due to loss of REG_INC notes in peephole2.

gcc/
* lra.c (add_auto_inc_notes): Remove function.
* reload1.c (add_auto_inc_notes): Similarly.  Move into...
* rtlanal.c (add_auto_inc_notes): New function.
* rtl.h (add_auto_inc_notes): Add prototype.
* recog.c (peep2_attempt): Scan and add REG_INC notes to new insns
as needed.
gcc/lra.c
gcc/recog.c
gcc/reload1.c
gcc/rtl.h
gcc/rtlanal.c