]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/iq2000/iq2000.c
use templates instead of gengtype for typed allocation functions
[thirdparty/gcc.git] / gcc / config / iq2000 / iq2000.c
index ed7aecbd46997d282beb53ab1f48265b627aa31b..717df2e9d3842cf2e0c590f07882eed4cd1457e6 100644 (file)
@@ -1424,7 +1424,7 @@ iq2000_va_start (tree valist, rtx nextarg)
 static struct machine_function *
 iq2000_init_machine_status (void)
 {
-  return ggc_alloc_cleared_machine_function ();
+  return ggc_cleared_alloc<machine_function> ();
 }
 
 /* Detect any conflicts in the switches.  */