diff mbox series

[55/55] rs6000: Enable the new builtin support

Message ID d4ec6530bdb6a26953a95a3457801882474f6c53.1623941442.git.wschmidt@linux.ibm.com
State New
Headers show
Series Replace the Power target-specific builtin machinery | expand

Commit Message

Bill Schmidt June 17, 2021, 3:19 p.m. UTC
2021-03-05  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/
	* config/rs6000/rs6000-gen-builtins.c (write_init_file):
	Initialize new_builtins_are_live to 1.
---
 gcc/config/rs6000/rs6000-gen-builtins.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

will schmidt July 27, 2021, 9:07 p.m. UTC | #1
On Thu, 2021-06-17 at 10:19 -0500, Bill Schmidt via Gcc-patches wrote:
> 2021-03-05  Bill Schmidt  <wschmidt@linux.ibm.com>
> 
> gcc/
> 	* config/rs6000/rs6000-gen-builtins.c (write_init_file):
> 	Initialize new_builtins_are_live to 1.
> ---
>  gcc/config/rs6000/rs6000-gen-builtins.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c
> b/gcc/config/rs6000/rs6000-gen-builtins.c
> index acb213ca606..658c4e042f1 100644
> --- a/gcc/config/rs6000/rs6000-gen-builtins.c
> +++ b/gcc/config/rs6000/rs6000-gen-builtins.c
> @@ -2755,7 +2755,7 @@ write_init_file (void)
>    fprintf (init_file, "#include \"rs6000-builtins.h\"\n");
>    fprintf (init_file, "\n");
> 
> -  fprintf (init_file, "int new_builtins_are_live = 0;\n\n");
> +  fprintf (init_file, "int new_builtins_are_live = 1;\n\n");


Needs moar fanfare! :-)

lgtm, 
thanks
-Will

> 
>    fprintf (init_file, "tree
> rs6000_builtin_decls_x[RS6000_OVLD_MAX];\n\n");
>
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000-gen-builtins.c b/gcc/config/rs6000/rs6000-gen-builtins.c
index acb213ca606..658c4e042f1 100644
--- a/gcc/config/rs6000/rs6000-gen-builtins.c
+++ b/gcc/config/rs6000/rs6000-gen-builtins.c
@@ -2755,7 +2755,7 @@  write_init_file (void)
   fprintf (init_file, "#include \"rs6000-builtins.h\"\n");
   fprintf (init_file, "\n");
 
-  fprintf (init_file, "int new_builtins_are_live = 0;\n\n");
+  fprintf (init_file, "int new_builtins_are_live = 1;\n\n");
 
   fprintf (init_file, "tree rs6000_builtin_decls_x[RS6000_OVLD_MAX];\n\n");