This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tiny tree.c update
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: tiny tree.c update
- From: Jan Hubicka <jh at suse dot cz>
- Date: Tue, 25 Sep 2001 14:35:52 +0200
- Cc: gcc-patches at gcc dot gnu dot org, jh at suse dot cz, rth at redhat dot com
- References: <no.id> <200109242119.f8OLJ2d7029107@hiauly1.hia.nrc.ca>
> > I got back to working on the vax port on the mainline last weekend. Your
> > "tiny tree.c update" breaks the build on the vax in fixup_unsigned_type.
> > It partially reverted:
> >
> > Thu Oct 8 05:56:00 1998 Jeffrey A Law (law@cygnus.com)
> >
> > * c-common.c (type_for_mode): Only return TItype nodes when
> > HOST_BITS_PER_WIDE_INT is >= 64 bits.
> > * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
> > when HOST_BITS_PER_WIDE_INT is >= 64 bits.
> > (init_decl_processing): Only create TItype nodes when
> > HOST_BITS_PER_WIDE_INT is >= 64 bits.
> > * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
> > when HOST_BITS_PER_WIDE_INT is >= 64 bits.
>
> I'm sorry. The correct patch that got reverted was:
>
> Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
>
> * tree.c (build_common_tree_nodes): Do not build TI nodes unless
> HOST_BITS_PER_WIDE_INT is >= 64.
>
> The early patch was I believe the first fix.
We need the TImodes for SSE on i386, that is 32bit. The trick is that we don't do
any computation in that mode so everything "works" even when the compiler is not
able to repreent the constants.
Can you describe the VAX problem in more detail?
Honza
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6605)