corrected test case

Jack Howarth howarth@nitro.med.uc.edu
Sun Nov 8 16:55:00 GMT 1998


Thanks to Zack Weinberg, here is a corrected test case for the va_dcl 
bug...

#include <varargs.h>

int
foo()
   va_dcl
{
}

on both intel and ppc, we have to pass foo a va_alist argument to compile
this successfully. However shouldn't the code fragment above without the
va_alist argument compile as valid C?
          Jack

-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474



More information about the Gcc-bugs mailing list