[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-09-13 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 --- Comment #9 from Aldy Hernandez --- Author: aldyh Date: Wed Sep 13 16:50:00 2017 New Revision: 252389 URL: https://gcc.gnu.org/viewcvs?rev=252389&root=gcc&view=rev Log: PR c++/81586 - valgrind error in output_buffer_append_r with -Wall gcc/C

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-08-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 --- Comment #8 from Martin Sebor --- Author: msebor Date: Thu Aug 10 17:40:11 2017 New Revision: 251029 URL: https://gcc.gnu.org/viewcvs?rev=251029&root=gcc&view=rev Log: PR c++/81586 - valgrind error in output_buffer_append_r with -Wall gcc/Ch

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-08-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-08-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 --- Comment #6 from David Binderman --- (In reply to Martin Sebor from comment #5) > Patch: https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01866.html Did this patch ever get into trunk gcc ? I have some evidence that gcc trunk revision 250947 do

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-07-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor -

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-07-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-07-27 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 --- Comment #3 from Martin Sebor --- I don't see a problem with the code in maybe_warn. It does this: /* Buffer for the directive in the host character set (used when the source character set is different). */ char hostdir[32]; ...

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-07-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/81586] valgrind error in output_buffer_append_r with -Wall

2017-07-27 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81586 --- Comment #1 from David Binderman --- The following much reduced C++ code seems to demonstrate the bug: extern "C" int snprintf(char *, unsigned long, const char *...) ; struct S { char * a; }; void f( S * af) { snprintf(af->a