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: CLASS_CANNOT_CHANGE_MODE* redesign


Hi Richard, Aldy,

On Thu, 24 Oct 2002, Richard Henderson wrote:

> > + #ifdef HARD_CONST
> > + extern void cannot_change_mode_set_regs PARAMS ((HARD_REG_SET *,
> > +                                                enum machine_mode,
> > +                                                unsigned int));
> > + #endif
> >
> > in rtl.h looks wrong.
>
> I know, but there are other instances of the same already.
> And there doesn't appear to be a better place to put it.

Err.  Not the place looks wrong.  The fact, that the prototype is guarded
by HARD_CONST (anyway defined unconditionally) and not C_C_C_M_P, by which
the implementation is guarded, and that only one of them is guarded seems
wrong.

> > in rtl.h looks wrong.  Also
>
> This seemed like the more logical place because it had all the proper
> include files included,

Dito ;-)


Ciao,
Michael.


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