https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
Thomas Koenig changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
--- Comment #6 from Thomas Koenig ---
Forgot the PR in the commit message... here it is:
https://gcc.gnu.org/viewcvs?rev=250473=gcc=rev
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
Thomas Koenig changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
--- Comment #4 from Vittorio Zecca ---
Or you may add
assert(buf);
just before the memcpy library call.
If nbyte==0 then it should be harmless, but undefined.
assert(buf || !nbyte) should catch an error situation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
--- Comment #3 from Dominique d'Humieres ---
> How do I actually obtain this error?
I see it with a build configured with
Configured with: ../work/configure --prefix=/opt/gcc/gcc8g
--enable-languages=c,c++,fortran --with-gmp=/opt/mp-new
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
Thomas Koenig changed:
What|Removed |Added
CC||tkoenig at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80365
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|