This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[IA64] Remove CHAR_TYPE usage from the IA-64 backend


The following patch removes a reference to the now unused CHAR_TYPE
tree code from the IA-64 backend.

The following patch has been tested on ia64-unknown-linux-gnu with a
full "make bootstrap", all default languages, and regression tested
with a top-level "make -k check" with no new failures.

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.  :-)


2006-02-06  Roger Sayle  <roger@eyesopen.com>

	* config/ia64/ia64.c (hfa_element_mode): Don't handle CHAR_TYPE.


Index: config/ia64/ia64.c
===================================================================
*** config/ia64/ia64.c	(revision 110617)
--- config/ia64/ia64.c	(working copy)
*************** hfa_element_mode (tree type, bool nested
*** 3816,3822 ****
    switch (code)
      {
      case VOID_TYPE:	case INTEGER_TYPE:	case ENUMERAL_TYPE:
!     case BOOLEAN_TYPE:	case CHAR_TYPE:		case POINTER_TYPE:
      case OFFSET_TYPE:	case REFERENCE_TYPE:	case METHOD_TYPE:
      case LANG_TYPE:		case FUNCTION_TYPE:
        return VOIDmode;
--- 3816,3822 ----
    switch (code)
      {
      case VOID_TYPE:	case INTEGER_TYPE:	case ENUMERAL_TYPE:
!     case BOOLEAN_TYPE:	case POINTER_TYPE:
      case OFFSET_TYPE:	case REFERENCE_TYPE:	case METHOD_TYPE:
      case LANG_TYPE:		case FUNCTION_TYPE:
        return VOIDmode;

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]