[patch] don't build insn-extract.o with rtl checking

Richard Biener rguenther@suse.de
Mon Dec 7 08:12:42 GMT 2020


On Mon, 7 Dec 2020, Matthias Klose wrote:

> As seen in PR98144, building insn-extract.o with rtl checking takes some memory,
> and it doesn't work on 32bit architectures at all (PR97314).  Richard suggested
> on irc to disable rtl checking for this auto-generated file, like it's already
> done for genconditions.c.  Patching it like done for genconditons.c.  Ok for the
> trunk?

OK.  There's nothing to be gained from RTL checking on this generated
code.

Thanks,
Richard.

> Matthias
> 
> --- a/gcc/genextract.c
> +++ b/gcc/genextract.c
> @@ -365,6 +365,8 @@ print_header (void)
>  #define IN_TARGET_CODE 1\n\
>  #include \"config.h\"\n\
>  #include \"system.h\"\n\
> +#undef ENABLE_RTL_CHECKING\n\
> +#undef ENABLE_RTL_FLAG_CHECKING\n\
>  #include \"coretypes.h\"\n\
>  #include \"tm.h\"\n\
>  #include \"rtl.h\"\n\
> 

-- 
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)


More information about the Gcc-patches mailing list