This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ObjC bug on 64-bit architectures?
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Subject: Re: ObjC bug on 64-bit architectures?
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 15 Oct 2001 09:43:36 -0700
- Cc: gcc at gcc dot gnu dot org, Hartmut Penner <HPENNER at de dot ibm dot com>
- References: <OFE8A06FEB.6E791E38-ONC1256AE6.00586780@de.ibm.com>
On Mon, Oct 15, 2001 at 06:14:00PM +0200, Ulrich Weigand wrote:
>
> This assembly appears to be generated by the objc frontend routine
> generate_protocol_list (in the file gcc/objc/objc-act.c). Unfortunately,
> my understanding of frontend code is rather limited, but it looks like that
> routine is indeed doing a type cast from the integer constant that
> specifies
> the count to some pointer type. This looks like a bug to me, but I'm not
> sure how to fix it ...
>
The assembly output directly from the objc frontend is very likely to
be broken. I have seen another one related to size for ELF symbols.
H.J.