This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47518] va_arg causes segmentation fault in case of variable length argument
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 16:00:42 +0000
- Subject: [Bug c/47518] va_arg causes segmentation fault in case of variable length argument
- Auto-submitted: auto-generated
- References: <bug-47518-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47518
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-28 16:00:35 UTC ---
You are using a different type for va_arg than you passed to the function.