[3.3] fix target/15718

Richard Henderson rth@redhat.com
Fri Aug 27 00:38:00 GMT 2004


I guess I should have taken a closer look at this problem back in May.
Sorry about that Joe.  The problem turns out to be a silly mistake.
I'm not sure how this just started showing up on the branch now...


r~


        PR target/15718
        * config/alpha/alpha.h (HARD_REGNO_MODE_OK): Allow complex float
        modes.

Index: alpha.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.h,v
retrieving revision 1.185.4.5
diff -c -p -d -r1.185.4.5 alpha.h
*** alpha.h	28 May 2004 00:02:03 -0000	1.185.4.5
--- alpha.h	26 Aug 2004 23:58:31 -0000
*************** extern const char *alpha_tls_size_string
*** 647,652 ****
--- 647,653 ----
  #define HARD_REGNO_MODE_OK(REGNO, MODE) 				\
    ((REGNO) >= 32 && (REGNO) <= 62 					\
     ? (MODE) == SFmode || (MODE) == DFmode || (MODE) == DImode		\
+      || (MODE) == SCmode || (MODE) == DCmode				\
     : 1)
  
  /* Value is 1 if MODE is a supported vector mode.  */



More information about the Gcc-patches mailing list