[Bug analyzer/109106] GCC Static Analyzer doesn't model printf

2023-07-19 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109106 --- Comment #5 from Geoffrey --- (In reply to David Malcolm from comment #4) > Thanks for filing this, and for the comments; marking it as a dup of PR > 107017 > > *** This bug has been marked as a duplicate of bug 107017 *** Hi, David. I want

[Bug analyzer/109106] GCC Static Analyzer doesn't model printf

2023-03-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109106 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/109106] GCC Static Analyzer doesn't model printf

2023-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109106 --- Comment #3 from Andreas Schwab --- When an output error occurs it returns < 0. Only printf("") or printf("%s", "") can return 0.

[Bug analyzer/109106] GCC Static Analyzer doesn't model printf

2023-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109106 --- Comment #2 from Andrew Pinski --- Why do you think printf will not return zero in some cases? Especially if stdout is write fails.

[Bug analyzer/109106] GCC Static Analyzer doesn't model printf

2023-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109106 --- Comment #1 from Andrew Pinski --- printf can still return 0.