On Thu, May 21, 2020 at 09:05:09AM -0400, David Malcolm wrote:
> So the above should read something like:
>
> + exit(1); /* { dg-warning "call to 'exit' from within signal handler"
> "warning" } */
> + /* { dg-message "note: '_exit' is a possible signal-safe alternative for
> 'exit'" "replacement note" { target *-*-* } .-1 } */
>
> OK with that change (but please double-check I got the syntax correct!)
You got the syntax correct and now the test PASS message is different
in gcc.sum. Pushed.
Thanks,
Mark