]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/xtensa/xtensa.c
use templates instead of gengtype for typed allocation functions
[thirdparty/gcc.git] / gcc / config / xtensa / xtensa.c
index 06e1eb78ada7012fa7ffa6c9fd33e1e5241657be..6b6693ff3414e25d7e67ea5b2723ac74ee1a1c3b 100644 (file)
@@ -1355,7 +1355,7 @@ xtensa_expand_nonlocal_goto (rtx *operands)
 static struct machine_function *
 xtensa_init_machine_status (void)
 {
-  return ggc_alloc_cleared_machine_function ();
+  return ggc_cleared_alloc<machine_function> ();
 }