This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What about this for a C++ optimisation?
- To: David Howells <David dot Howells at nexor dot co dot uk>
- Subject: Re: What about this for a C++ optimisation?
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Thu, 27 Jul 2000 17:19:01 +0100 (BST)
- CC: gcc at gcc dot gnu dot org
> How about this for a C++ optimisation? I know it's along lines discussed or
> implemented before, but it's not currently supported...
I'd also like this to work for C, where applicable. I.e. a value that
is passed directly in registers / on the stack when possible. And pass
it in a register when a scalar would be passed in a register.
For function arguments there is __attribute__ ((transparent_union__)),
but it doesn't work for return values.
It would be nice if you could eventually get the same performance on
i386-linux-gnulibc1 as you have on i386-linuxaout.