]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/cris/cris.c
c-format.c (handle_format_attribute): Fix -Wc++-compat and/or -Wcast-qual warnings.
[thirdparty/gcc.git] / gcc / config / cris / cris.c
index 810366f5681368a9f76281f38272c200e7b9fa1b..3a0eb2de06609d68cc78ad9220d935a9b8bc36eb 100644 (file)
@@ -2533,7 +2533,7 @@ cris_init_expanders (void)
 static struct machine_function *
 cris_init_machine_status (void)
 {
-  return ggc_alloc_cleared (sizeof (struct machine_function));
+  return GGC_CNEW (struct machine_function);
 }
 
 /* Split a 2 word move (DI or presumably DF) into component parts.