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]

Re: Patch for PowerPC regression gcc.c-torture/compile/20000804-1.c


Alan Modra wrote:

  >On Fri, Nov 30, 2001 at 03:16:25PM -0600, Corey Minyard wrote:
  >
  >>--- rs6000.c	2001/11/27 01:35:23	1.244
  >>+++ rs6000.c	2001/11/30 19:25:09
  >>@@ -1641,6 +1641,8 @@ rs6000_legitimize_address (x, oldx, mode
  >> 	   && GET_CODE (x) != CONST_DOUBLE
  >> 	   && CONSTANT_P (x)
  >> 	   && (TARGET_HARD_FLOAT || mode != DFmode)
  >>+	   && mode != CDImode
  >>+	   && mode != CTImode
  >> 	   && mode != DImode
  >> 	   && mode != TImode)
  >>     {
  >>@@ -1654,6 +1656,8 @@ rs6000_legitimize_address (x, oldx, mode
  >> 	   && GET_CODE (x) != CONST_DOUBLE
  >> 	   && CONSTANT_P (x)
  >> 	   && (TARGET_HARD_FLOAT || mode != DFmode)
  >>+	   && mode != CDImode
  >>+	   && mode != CTImode
  >> 	   && mode != DImode
  >> 	   && mode != TImode)
  >>     {
  >>
  >
  >Wouldn't it be simpler, and safer, to use GET_MODE_UNIT_SIZE here?
  >
Not sure.  Would that screw up CSImode?  I think CSImode would be
allowed here.

BTW, I'm an @Home user, so I'm down for a while.  I've got a backup
UUCP account running now, you can get to me at minyard@wf-rch.cirr.com.
My mail forwarding account is not updated yet.

-Corey



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