This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17301] ICE on wrong usage of __builtin_stdarg_start
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2004 08:52:13 -0000
- Subject: [Bug c/17301] ICE on wrong usage of __builtin_stdarg_start
- References: <20040902224421.17301.chris@chrisseaton.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-11 08:52 -------
Joseph, your fix is only a partial one. We still ICE if no argument at all
is passed to __builtin_stdarg_start:
=================================
void foo (char *format, ...)
{
__builtin_stdarg_start ();
}
=================================
bug.c: In function `foo':
bug.c:3: error: too few arguments to function `__builtin_stdarg_start'
bug.c:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu dot org
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17301