va_arg on sol2 and templates

Jens Gustedt gustedt@math.tu-berlin.de
Wed Jan 14 06:07:00 GMT 1998


Hello folks,
this is for egcs-1.0.1 on a sol2 sun sparc:

<48> % uname -a
SunOS wandlitz 5.5.1 Generic sun4m sparc SUNW,SPARCstation-20
<49> % gcc -v
Reading specs from /usr/local/egcs/egcs-1.0.1/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.23/specs
gcc version egcs-2.90.23 980102 (egcs-1.0.1 release)


There seems to be a serious bug when using variable length argument
list in template functions, as you can see from the following example:



More information about the Gcc-bugs mailing list