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: define_constraints patch, re-revised


On Sun, Oct 01, 2006 at 09:09:28PM -0700, Zack Weinberg wrote:

> The last substantive change to genpreds.c was back in June, which is
> kinda worrisome.  Could you please try reverting the file to revision
> 112515 (just genpreds.c, not the rest of the tree) and see if the
> problem goes away?

   It does not. Here's the first and last constraint as generated by
revision 112515. They're both broken, the latter more so than the former.

/* Generated automatically by the program 'build/genpreds'
   from the machine description file '../../../cvssrc/gcc/gcc/config/ia16/ia16.md'.  */

#ifndef GCC_TM_CONSTRS_H
#define GCC_TM_CONSTRS_H

static inline bool
satisfies_constraint_I0 (rtx op)
{
  HOST_WIDE_INT ival = 0;
  if (GET_CODE (op) == CONST_INT)
    ival = INTVAL (op);
  return 
#line 39 "../../../cvssrc/gcc/gcc/config/ia16/constraints.md"
(ival == 0);
}
[cut]
static inline bool
satisfies_constraint_Ipu (rtx op)
{
  return 
#line 95 "../../../cvssrc/gcc/gcc/config/ia16/constraints.md"
(TARGET_18x ? true : false);
}
#endif /* tm-constrs.h */

-- 
Rask Ingemann Lambertsen


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