This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ?
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Aug 2014 17:59:50 +0000
- Subject: [Bug lto/62067] New: lto-lang.c:549: too many calls to va_end on some code paths ?
- Auto-submitted: auto-generated
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.