On 5/24/21 5:08 PM, David Malcolm via Gcc-patches wrote:
On Mon, 2021-05-24 at 16:16 -0600, Martin Sebor via Gcc-patches wrote:
The attached patch replaces TREE_NO_WARNING, gimple_get_no_warning_p
and gimple_set_no_warning with the new APIs, get_no_warning,
set_no_warning, and copy_no_warning.
Might be worth splitting this out into
(a) the middle-end changes versus
(b) the final changes that remove the old mechanisms.
Sure, I can do that.
Is this missing a change to remove "nowarning_flag" from the pertinent
tree struct?
No, the bit is still used and needed when a tree or GIMPLE statement
has no location.
Martin
Dave