https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88781
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-09 Depends on| |88780, 87383, 86764, 85902, | |85650, 84732, 84624, 84561, | |84398, 84397, 84396, 84395, | |82944, 87028, 85728, 85700, | |85643, 84649, 84480, 84474, | |84468, 84228 Ever confirmed|0 |1 Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82944 [Bug 82944] missing -Wstringop-truncation on strncpy due to system header macro https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84228 [Bug 84228] Bogus -Wstringop-truncation warning with -g https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84395 [Bug 84395] -Wstringop-truncation where -Wstringop-overflow is expected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84396 [Bug 84396] missing -Wstringop-truncation with non-nul assignment to destination https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84397 [Bug 84397] missing -Wstringop-truncation on strncpy into a multidimensional array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84398 [Bug 84398] missing -Wstringop-truncation on strncpy into VLA and dynamically allocated arrays https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468 [Bug 84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84474 [Bug 84474] Unexpected -Wstringop-truncation on strncpy with string literal https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84480 [Bug 84480] [8 Regression] bogus -Wstringop-truncation despite assignment with an inlined string literal https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84561 [Bug 84561] -Wstringop-truncation with -O2 depends on strncpy's size type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84624 [Bug 84624] bogus -Wstringop-truncation in a catch statement and nul assignment outside it https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84649 [Bug 84649] -Wstringop-truncation shouldn't warn on strncat() when 2nd argument is a char array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84732 [Bug 84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85643 [Bug 85643] attribute nonstring fails to squash -Wstringop-truncation warning at an offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650 [Bug 85650] Additional warnings when -fsanitize=undefined is used with -Wstringop-truncation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700 [Bug 85700] Spurious -Wstringop-truncation warning with strncat https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85728 [Bug 85728] strncpy -Wstringop-truncation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85902 [Bug 85902] -Wstringop-truncation false-positive https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86764 [Bug 86764] missing -Wstringop-truncation writing to the last array member https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87028 [Bug 87028] false positive -Wstringop-truncation strncpy with global variable source string https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87383 [Bug 87383] improve text and detail in -Wstringop-truncation warnings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 [Bug 88780] bogus -Wstringop-truncation for copying as many bytes from a string as its length