Re: [PATCH 02/12] mode-switching: Add note problem

2023-11-06 Thread Jeff Law
On 11/5/23 11:46, Richard Sandiford wrote: 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_mo

[PATCH 02/12] mode-switching: Add note problem

2023-11-05 Thread Richard Sandiford
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.