This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/62068] libjava/prims.cc:807: possible missing call to va_end ?
- From: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 08 Aug 2014 18:50:00 +0000
- Subject: [Bug libgcj/62068] libjava/prims.cc:807: possible missing call to va_end ?
- Auto-submitted: auto-generated
- References: <bug-62068-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62068
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #1 from Tom Tromey <tromey at gcc dot gnu.org> ---
I thought va_start and va_end could expand to anything,
including code to introduce and close a block, so they
needed to be lexically paired.
This means that the fix here would have to rewrite
the logic in the function a little bit.