This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.3.0 Status Report (2007-09-04)
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, Jan Hubicka <jh at suse dot cz>
- Date: Fri, 14 Sep 2007 10:03:41 +0200
- Subject: Re: GCC 4.3.0 Status Report (2007-09-04)
Mark Mitchell wrote on 13.09.2007 20:42:25:
> Jan Hubicka wrote:
> >> Kai Tietz wrote:
> >>
> >>> See
> >>> http://www.nabble.com/-PING%5E2-PATCH-%3A-Preparations-for-SYSV-
> MS-ABI-attributes-in-backend-tf4414541.html
> >>> http://www.nabble.com/-PATCH-%3A-Implementation-for-SYSV-MS-ABI-
> attributes-in-i386-may-before-stage--3-tf4428449.html
> >> Thanks for letting me know. I'm going to leave this to the x86
back-end
> >> maintainers.
>
> > Global or middle end maintainer is needed for the first patch however.
>
> Good point.
>
> Kai, why is your change making OUTGOING_REG_PARM_STACK_SPACE accept a
> FUNCTION_DECL, rather than a FUNCTION_TYPE? I'd think that all
> calling-convention predicates ought to be looking at the type to support
> calling through function pointers?
Hi Mark,
This macro is used also in builtin's and libcalls subject where the
FUNC_DECL is a null reference. Also in most places the FUNC_DECL is
allready present. To avoid duplicate code to check and get the FUNC_TYPE
by FUNC_DECL, I choose to pass the function declaration.
Cheers,
i.A. Kai Tietz
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
------------------------------------------------------------------------------------------
OneVision Software Entwicklungs GmbH & Co. KG
Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
Handelsregister: HRA 6744, Amtsgericht Regensburg
KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer:
Ulrike DÃhler, Manuela Kluger