This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386] Enable attribute based calling convention switching and support vaarg.
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Cc: "Diego Novillo" <dnovillo at google dot com>, "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Jan Hubicka" <hubicka at ucw dot cz>, "Ian Lance Taylor" <iant at google dot com>, "Jan Hubicka" <jh at suse dot cz>, "Kai Tietz" <ktietz70 at googlemail dot com>, "Mark Mitchell" <mark at codesourcery dot com>, "Ralf Wildenhues" <Ralf dot Wildenhues at gmx dot de>
- Date: Fri, 4 Jul 2008 21:05:47 +0200
- Subject: Re: [patch i386] Enable attribute based calling convention switching and support vaarg.
- References: <b798aad50807040621m426730b9waf80f5e2d711bbb8@mail.gmail.com> <OF5A55C230.EDBD51FC-ONC125747C.004A9E1C-C125747C.004AC6F4@onevision.de>
On Fri, Jul 4, 2008 at 3:36 PM, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> Diego,
>
> I missed two )'s in the prior patch file.
> I tested it by adding an assert for canonical_va_list_type in builtins.c:
> stabilize_va_list() and regression tested it via linux64 cross and for
> w64.
Doesn't work.
/space/rguenther/obj/./gcc/xgcc -B/space/rguenther/obj/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -g -O2 -O2 -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wc++-compat -Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc
-I../../../trunk/libgcc -I../../../trunk/libgcc/.
-I../../../trunk/libgcc/../gcc -I../../../trunk/libgcc/../include
-I../../../trunk/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o _gcov_execl.o -MT _gcov_execl.o -MD -MP -MF
_gcov_execl.dep -DL_gcov_execl -c
../../../trunk/libgcc/../gcc/libgcov.c
../../../trunk/libgcc/../gcc/libgcov.c: In function '__gcov_execl':
../../../trunk/libgcc/../gcc/libgcov.c:843: warning: cast discards
qualifiers from pointer target type
../../../trunk/libgcc/../gcc/libgcov.c:838: error: first argument to
'va_arg' not of type 'va_list'
../../../trunk/libgcc/../gcc/libgcov.c:845: error: first argument to
'va_arg' not of type 'va_list'
make[3]: *** [_gcov_execl.o] Error 1