This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.2, mainline] C++ ABI? Wrong passing of class argument inopenoffice
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Jan Hubicka <jh at suse dot cz>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "rth at cygnus dot com" <rth at cygnus dot com>, "aj at suse dot de" <aj at suse dot de>, jason at redhat dot com
- Date: Tue, 03 Sep 2002 08:51:57 -0700
- Subject: Re: [3.2, mainline] C++ ABI? Wrong passing of class argument inopenoffice
--On Tuesday, September 03, 2002 05:36:32 PM +0200 Jan Hubicka <jh@suse.cz>
wrote:
Hi,
compiling openoffice for -mcpu=i486 dies on interesting problem.
I added Jason to the cc list; he's been mucking with these bits recently.
Does the attached patch look sane?
You have to worry about variable-sized types, too, I think.
I think the real problem is expr_size_in_bytes not doing the right thing
for C++. It's having a hard time knowing whether the value is a complete
object or not, and whether it should be treated like one or not. I'm not
sure if there's going to be enough information there to figure out what to
do or not.
If, as I've suggested earlier, we actually had two different types for
classes, we could give expressions the right type, and then we would
not have these problems.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com