[Bug c/17301] ICE on wrong usage of __builtin_stdarg_start

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 11 08:52:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list