On 2/12/25 23:30, Jason Merrill wrote:
External email: Use caution opening links or attachments
In the new `check_known_compiler_messages_nocache` procedure I use some
Why is it not enough to look for the message with "[regexp" like
check_alias_available does?
Jason
The goal was that I wanted to be able to query "the warnings/errors are
*only* about this thing", rather than "warnings mention this thing".
That said, since my use-case here is to give a boolean, the hypothetical
case of "extra" messages has to be categorised in one or the other bucket.
Since the final behaviour would be much the same -- possible "excess
error" messages on targets which support
__builtin_speculation_safe_value instead of on targets which don't -- a
simple `regexp` would work for this patch just as well.
Shall I make that change?