[Bug middle-end/100680] false positive warning for certain __builtin_memcmp() argument

2022-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100680 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:91f7d7e1bb6827bf8e0b7ba7eb949953a5b1bd18 commit r11-9731-g91f7d7e1bb6827bf8e0b7ba7eb949953a5b1bd18 Author: Jakub Jelinek

[Bug middle-end/100680] false positive warning for certain __builtin_memcmp() argument

2022-03-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100680 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:32ca611c42658948f1b8883994796f35e8b4e74d commit r12-7713-g32ca611c42658948f1b8883994796f35e8b4e74d Author: Jakub Jelinek Date:

[Bug middle-end/100680] false positive warning for certain __builtin_memcmp() argument

2021-05-19 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100680 --- Comment #3 from jbeulich at suse dot com --- (In reply to Martin Sebor from comment #2) > The warning is by design: it considers a constant non-null pointer value a > likely result of (invalid) arithmetic on a null pointer, as in the example

[Bug middle-end/100680] false positive warning for certain __builtin_memcmp() argument

2021-05-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100680 Martin Sebor changed: What|Removed |Added Component|c |middle-end Resolution|---