This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix variable-size typedef problem
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Apr 04 18:21:37 EDT
- Subject: Re: Fix variable-size typedef problem
Why? I'm pretty sure this breaks s390x, wherein we have an
extension to allow the user to declare 32-bit pointers even
in 64-bit mode. I.e.
typedef char *small_ptr __attribute__((mode ("SI")));
We do not want this non-ptr_mode entity linked into this list.
It's actually the other way around: it *fixes* some bugs with those
pointers (and also the ones that force alias set 0). Look at the related
changes I made a few weeks ago in tree.c.
These are also useful for IA64/VMS.