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: [rs6000,patch] Fix ppc-specific problem with functions returning logical(8) value


	Wouldn't it be cleaner and clearer to write:


  mode = TYPE_MODE (valtype);
  if ((INTEGRAL_TYPE_P (valtype)
       && GET_MODE_BITSIZE (mode) < BITS_PER_WORD)
      || POINTER_TYPE_P (valtype))
    mode = TARGET_32BIT ? SImode : DImode;


In general, the patch is okay on mainline and 4.2.  Please do not include
the patch in 4.1.2.

Thanks, David


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