]> git.ipfire.org Git - thirdparty/gcc.git/commit
mode-switching: Add note problem
authorRichard Sandiford <richard.sandiford@arm.com>
Sat, 11 Nov 2023 17:28:55 +0000 (17:28 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Sat, 11 Nov 2023 17:28:55 +0000 (17:28 +0000)
commit3cd3a09b3f91a1d023cb180763d40598d6bb274b
treed53aa0ca6100cdf13c7ab49e55a4d4a41d8ad462
parent8479a3759025961f80cf0cd6bb3f127e09d0510d
mode-switching: Add note problem

optimize_mode_switching uses REG_DEAD notes to track register
liveness, but it failed to tell DF to calculate up-to-date notes.

Noticed by inspection.  I don't have a testcase that fails
because of this.

gcc/
* mode-switching.cc (optimize_mode_switching): Call
df_note_add_problem.
gcc/mode-switching.cc