This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [IA64] Remove CHAR_TYPE usage from the IA-64 backend
- From: Roger Sayle <roger at eyesopen dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Feb 2006 13:36:17 -0700 (MST)
- Subject: Re: [IA64] Remove CHAR_TYPE usage from the IA-64 backend
Hi Eric,
On Mon, 6 Feb 2006, Eric Botcazou wrote:
> > Ok for mainline? It looks like it'll be a few days before bootstrap
> > and regression testing will finish on sparc-sun-solaris2.8 for a similar
> > fix to the SPARC backend, so a preapproval (as obvious?) for the
> > equivalent sparc.c change would be very much appreciated. :-)
>
> Preapproved as obvious. :-)
For the record. Here's the patch I just committed. I took the liberty
of correcting the comment on the following line as BOOLEAN_TYPE is no
longer just used for GNU fortran's LOGICAL types.
Thanks for your pre-approval!
2006-02-07 Roger Sayle <roger@eyesopen.com>
* config/sparc/sparc.c (sparc_type_code): Don't handle CHAR_TYPE.
Correct comment describing BOOLEAN_TYPE.
Index: config/sparc/sparc.c
===================================================================
*** config/sparc/sparc.c (revision 110627)
--- config/sparc/sparc.c (working copy)
***************
*** 1,6 ****
/* Subroutines for insn-output.c for SPARC.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
! 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
64-bit SPARC-V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
at Cygnus Support.
--- 1,7 ----
/* Subroutines for insn-output.c for SPARC.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
! 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
! Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
64-bit SPARC-V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
at Cygnus Support.
*************** sparc_type_code (register tree type)
*** 7004,7011 ****
return (qualifiers | 7); /* Who knows? */
case VECTOR_TYPE:
! case CHAR_TYPE: /* GNU Pascal CHAR type. Not used in C. */
! case BOOLEAN_TYPE: /* GNU Fortran BOOLEAN type. */
case LANG_TYPE: /* ? */
return qualifiers;
--- 7005,7011 ----
return (qualifiers | 7); /* Who knows? */
case VECTOR_TYPE:
! case BOOLEAN_TYPE: /* Boolean truth value type. */
case LANG_TYPE: /* ? */
return qualifiers;
Roger
--