https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #14 from Martin Sebor ---
Author: msebor
Date: Wed Jul 18 17:20:05 2018
New Revision: 262859
URL: https://gcc.gnu.org/viewcvs?rev=262859&root=gcc&view=rev
Log:
Backport from trunk.
PR middle-end/85602 - -Wsizeof-pointer-memaccess fo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #12 from Martin Sebor ---
Author: msebor
Date: Tue Jun 19 22:35:45 2018
New Revision: 261774
URL: https://gcc.gnu.org/viewcvs?rev=261774&root=gcc&view=rev
Log:
PR middle-end/85602 - -Warray-bounds fails to detect the out of bound arr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #11 from seurer at gcc dot gnu.org ---
It is fixed now. Thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #9 from Martin Sebor ---
Thanks, r261751 should take care of it.
--- Comment #10 from Martin Sebor ---
Author: msebor
Date: Tue Jun 19 17:30:47 2018
New Revision: 261751
URL: https://gcc.gnu.org/viewcvs?rev=261751&root=gcc&view=rev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #9 from Martin Sebor ---
Thanks, r261751 should take care of it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
seurer at gcc dot gnu.org changed:
What|Removed |Added
CC||seurer at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #7 from Martin Sebor ---
Adjusted patch committed into trunk in r261718.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #6 from Martin Sebor ---
Author: msebor
Date: Mon Jun 18 22:17:57 2018
New Revision: 261718
URL: https://gcc.gnu.org/viewcvs?rev=261718&root=gcc&view=rev
Log:
PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #5 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #4 from Paul Eggert ---
Thanks, that workaround is much better for coreutils, and I installed it here:
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=f6cb50cc991d461f443ea3afc517c9e1e37ef496
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #3 from Martin Sebor ---
I agree that's not an improvement. Would something like this be better? (at
least until utmp_ent is marked nonstring and GCC taught to suppress the
diagnostic)
size_t utmpsize = sizeof UT_ID (utmp_ent);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
--- Comment #2 from Paul Eggert ---
Thanks for looking into it. For what it's worth, the practical effect of this
new warning was that I changed that part of coreutils to not use strncat,
causing 3 lines of code to grow to 8 lines. See the end of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
14 matches
Mail list logo