summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index 535c839345f..707173f904b 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -321,10 +321,7 @@ gendef (format)
the memory and initializes it. */
puts ("{");
puts (" rtx rt;");
- puts (" if (ggc_p)");
- printf (" rt = ggc_alloc_rtx (%d);\n", (int) strlen (format));
- puts (" else");
- printf (" rt = obstack_alloc_rtx (%d);\n", (int) strlen (format));
+ printf (" rt = ggc_alloc_rtx (%d);\n", (int) strlen (format));
puts (" memset (rt, 0, sizeof (struct rtx_def) - sizeof (rtunion));\n");
puts (" PUT_CODE (rt, code);");