On Mon, Sep 30, 2019 at 07:47:54PM +0200, Jakub Jelinek wrote:
> So, can you try just
>    { dg-prune-output "warning: warning: \[^\n\r\]* possibly used unsafely; 
> consider using" } */
> or if that doesn't work, with .* at start end end?

Or even just

{ dg-prune-output {(?n)warning: warning: .* possibly used unsafely; consider 
using} } */

(?n) means to match single lines only; . and bracket expressions using ^
will not match newlines if you use it.

("warning: " twice, btw?)


Segher

Reply via email to