summaryrefslogtreecommitdiff
path: root/gcc/genconditions.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genconditions.c')
-rw-r--r--gcc/genconditions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genconditions.c b/gcc/genconditions.c
index 6a5c40b2dd7..94a6bc43929 100644
--- a/gcc/genconditions.c
+++ b/gcc/genconditions.c
@@ -57,7 +57,7 @@ add_condition (const char *expr)
if (expr[0] == 0)
return;
- test = xmalloc (sizeof (struct c_test));
+ test = XNEW (struct c_test);
test->expr = expr;
*(htab_find_slot (condition_table, test, INSERT)) = test;