https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121943

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Trevor Gross from comment #5)
> (In reply to Andrew Pinski from comment #2)
> > >However, why is this doing string comparison in the first place? It seems 
> > >like checking the exit code would be more robust.
> > 
> > Because we want to check there is no warning too. no_compiler_messages is
> > specifically for no warnings or otherwise.
> 
> Couldn't this be covered with `-Werror`?

Because there are some times assembler warnings or linker ones too.
Plus there are cases where there are notes rather than warnings.

Reply via email to