This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/9598: missing DEFAULT_PCC_STRUCT_RETURN declaration during gcc compilation
- From: pvantrepote at yahoo dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Feb 2003 16:20:09 -0000
- Subject: bootstrap/9598: missing DEFAULT_PCC_STRUCT_RETURN declaration during gcc compilation
- Reply-to: pvantrepote at yahoo dot fr
>Number: 9598
>Category: bootstrap
>Synopsis: missing DEFAULT_PCC_STRUCT_RETURN declaration during gcc compilation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 06 16:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: gcc
>Release: 3.2.2
>Organization:
>Environment:
Solaris 2.8 i386 Intel
>Description:
Gcc 3.2.2 compilation failed on Solaris Intel Platform while compiling i386.c file.
Missing DEFAULT_PCC_STRUCT_RETURN declaration.
>How-To-Repeat:
Just compile gcc with :
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --with-gnu-ld --with-ld=/usr/bin/ld --with-gnu-nm --with-nm=/usr/bin/nm --with-gnu-as --with-as=/usr/bin/as --enable-languages=c,c++
make bootstrap
>Fix:
I have added the DEFAULT_PCC_STRUCT_RETURN at line 1179 in file i386.h.
#ifndef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 0
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: