aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index 32fae44..90b3cc1 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -673,8 +673,7 @@ genrtl_case_label (case_label)
if (cleanup)
{
static int explained = 0;
- warning_with_decl (TREE_PURPOSE (cleanup),
- "destructor needed for `%#D'");
+ warning ("destructor needed for `%#D'", (TREE_PURPOSE (cleanup)));
warning ("where case label appears here");
if (!explained)
{