[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216

Martin Sebor  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Martin Sebor  ---
Fixed.

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216

--- Comment #4 from CVS Commits  ---
The master branch has been updated by Martin Sebor :

https://gcc.gnu.org/g:fd51b344ca86c9673db0161d4a383cccdb2f429c

commit r12-1819-gfd51b344ca86c9673db0161d4a383cccdb2f429c
Author: Martin Sebor 
Date:   Fri Jun 25 17:01:01 2021 -0600

PR middle-end/101216 - spurious notes for function calls

PR middle-end/101216

gcc/ChangeLog:

* calls.c (maybe_warn_rdwr_sizes): Use the no_warning constant.

gcc/testsuite/ChangeLog:

* gcc.dg/Wnonnull-7.c: New test.

[Bug middle-end/101216] [12 regression] setjmp/longjmp excess "note" when warning suppressed after r12-1805

2021-06-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101216

David Malcolm  changed:

   What|Removed |Added

Summary|[12 regression] |[12 regression]
   |setjmp/longjmp excess   |setjmp/longjmp excess
   |errors after r12-1805   |"note" when warning
   ||suppressed after r12-1805

--- Comment #3 from David Malcolm  ---
As noted in bug 101217 this doesn't need -fanalyzer to reproduce; stray "note"s
are coming from calls.c