On Wed, Nov 28, 2018 at 12:38 PM Richard Sandiford
wrote:
>
> Uros Bizjak writes:
> > diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
> > index 21bdcdaeaa35..691e0c7c1b0b 100644
> > --- a/gcc/cfgexpand.c
> > +++ b/gcc/cfgexpand.c
> > @@ -2981,6 +2981,14 @@ expand_asm_stmt (gasm *stmt)
> >
Uros Bizjak writes:
> diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
> index 21bdcdaeaa35..691e0c7c1b0b 100644
> --- a/gcc/cfgexpand.c
> +++ b/gcc/cfgexpand.c
> @@ -2981,6 +2981,14 @@ expand_asm_stmt (gasm *stmt)
> regname);
> return;
> }
Hello!
This patch is based on the discussion in PR88178. Apparently, MIPS
uses accessible_reg_set array to disable register sets, unsupported by
currently active ISAs. The patch implements the same approach for x86,
which also results in IMO better error messages. The middle-end misses
to error ou