public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/99917] New: gcc/d/dmd/mtype.c:5223: missing call to va_end ?
@ 2021-04-05 17:52 dcb314 at hotmail dot com
2021-04-05 19:53 ` [Bug d/99917] " ibuclaw at gdcproject dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2021-04-05 17:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99917
Bug ID: 99917
Summary: gcc/d/dmd/mtype.c:5223: missing call to va_end ?
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
trunk.git/gcc/d/dmd/mtype.c:5223:30: error: va_list 'ap' was opened but not
closed by va_end(). [va_end_missing]
Source code is
va_list ap;
va_start(ap, format);
buf.vprintf(format, ap);
return buf.extractChars();
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug d/99917] gcc/d/dmd/mtype.c:5223: missing call to va_end ?
2021-04-05 17:52 [Bug d/99917] New: gcc/d/dmd/mtype.c:5223: missing call to va_end ? dcb314 at hotmail dot com
@ 2021-04-05 19:53 ` ibuclaw at gdcproject dot org
2021-04-06 17:44 ` cvs-commit at gcc dot gnu.org
2021-04-06 17:44 ` ibuclaw at gdcproject dot org
2 siblings, 0 replies; 4+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-04-05 19:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99917
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to David Binderman from comment #0)
> trunk.git/gcc/d/dmd/mtype.c:5223:30: error: va_list 'ap' was opened but not
> closed by va_end(). [va_end_missing]
>
> Source code is
>
> va_list ap;
> va_start(ap, format);
> buf.vprintf(format, ap);
> return buf.extractChars();
Had a look and confirmed, raised a change in upstream dmd and awaiting for it
to be reviewed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug d/99917] gcc/d/dmd/mtype.c:5223: missing call to va_end ?
2021-04-05 17:52 [Bug d/99917] New: gcc/d/dmd/mtype.c:5223: missing call to va_end ? dcb314 at hotmail dot com
2021-04-05 19:53 ` [Bug d/99917] " ibuclaw at gdcproject dot org
@ 2021-04-06 17:44 ` cvs-commit at gcc dot gnu.org
2021-04-06 17:44 ` ibuclaw at gdcproject dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-06 17:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99917
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>:
https://gcc.gnu.org/g:d48f87d5c1927b1bf2009af3251fe8757e823713
commit r11-8016-gd48f87d5c1927b1bf2009af3251fe8757e823713
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date: Tue Apr 6 13:12:54 2021 +0200
d: Fix missing call to va_end in getMatchError [PR99917]
Reviewed-on: https://github.com/dlang/dmd/pull/12380
gcc/d/ChangeLog:
PR d/99917
* dmd/MERGE: Merge upstream dmd d16195406.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug d/99917] gcc/d/dmd/mtype.c:5223: missing call to va_end ?
2021-04-05 17:52 [Bug d/99917] New: gcc/d/dmd/mtype.c:5223: missing call to va_end ? dcb314 at hotmail dot com
2021-04-05 19:53 ` [Bug d/99917] " ibuclaw at gdcproject dot org
2021-04-06 17:44 ` cvs-commit at gcc dot gnu.org
@ 2021-04-06 17:44 ` ibuclaw at gdcproject dot org
2 siblings, 0 replies; 4+ messages in thread
From: ibuclaw at gdcproject dot org @ 2021-04-06 17:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99917
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-06 17:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 17:52 [Bug d/99917] New: gcc/d/dmd/mtype.c:5223: missing call to va_end ? dcb314 at hotmail dot com
2021-04-05 19:53 ` [Bug d/99917] " ibuclaw at gdcproject dot org
2021-04-06 17:44 ` cvs-commit at gcc dot gnu.org
2021-04-06 17:44 ` ibuclaw at gdcproject dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).