[Bug c/41461] New: Regression between gcc 3.4.3 and gcc 3.4.6 for va_list

stephane dot herve at areva dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 24 12:18:00 GMT 2009


Problem with va_list argument returned by a fonction with 3.4.6 version of gcc.
Works fine with 3.4.3 version.

gcc version :
-----------
gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

System :
------
Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64
GNU/Linux

Error :
-----
toto.c:3: error: `test' declared as function returning an array

Source text :
-----------
#include <stdarg.h>
va_list test();
main ()
{
 printf ("Hello world\n");
}

Many thanks.


-- 
           Summary: Regression between gcc 3.4.3 and gcc 3.4.6 for va_list
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stephane dot herve at areva dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41461



More information about the Gcc-bugs mailing list