public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ?
@ 2014-08-08 17:59 dcb314 at hotmail dot com
2014-08-11 8:42 ` [Bug lto/62067] " rguenth at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2014-08-08 17:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62067
Bug ID: 62067
Summary: lto-lang.c:549: too many calls to va_end on some code
paths ?
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
[trunk/gcc/lto/lto-lang.c:549]: (error) va_list 'list' used before va_start()
was called.
egress:
builtin_types[def] = t;
va_end (list);
For function def_fn_type, there are some code paths
where va_end is called twice.
Suggest code rework. If that means removing the goto statement,
even better.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/62067] lto-lang.c:549: too many calls to va_end on some code paths ?
2014-08-08 17:59 [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ? dcb314 at hotmail dot com
@ 2014-08-11 8:42 ` rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-08-11 8:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62067
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-08-11
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Mine.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/62067] lto-lang.c:549: too many calls to va_end on some code paths ?
2014-08-08 17:59 [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ? dcb314 at hotmail dot com
2014-08-11 8:42 ` [Bug lto/62067] " rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.org
@ 2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-08-14 13:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62067
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Aug 14 13:13:41 2014
New Revision: 213960
URL: https://gcc.gnu.org/viewcvs?rev=213960&root=gcc&view=rev
Log:
2014-08-14 Richard Biener <rguenther@suse.de>
PR lto/62067
* lto-lang.c (def_fn_type): Fix error handling wrt va_end.
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto-lang.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/62067] lto-lang.c:549: too many calls to va_end on some code paths ?
2014-08-08 17:59 [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ? dcb314 at hotmail dot com
2014-08-11 8:42 ` [Bug lto/62067] " rguenth at gcc dot gnu.org
@ 2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-08-14 13:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62067
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-14 13:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-08 17:59 [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ? dcb314 at hotmail dot com
2014-08-11 8:42 ` [Bug lto/62067] " rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.org
2014-08-14 13:14 ` rguenth at gcc dot gnu.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).