]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-eh.c
utils.c (init_gnat_to_gnu): Use typed GC allocation.
[thirdparty/gcc.git] / gcc / tree-eh.c
index 9c17c1e092e461dc7a29d08dcf66921b407e9af6..872d4241dc81b4a40a4033cb49724cace17b8c5a 100644 (file)
@@ -96,7 +96,7 @@ add_stmt_to_eh_lp_fn (struct function *ifun, gimple t, int num)
 
   gcc_assert (num != 0);
 
-  n = GGC_NEW (struct throw_stmt_node);
+  n = ggc_alloc_throw_stmt_node ();
   n->stmt = t;
   n->lp_nr = num;