From 2a1da89b745d35fa6d29c83dc237765eb5811009 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 11 Sep 2000 22:25:44 +0200 Subject: [PATCH] * c-decl.c (do_case): Fix a typo. From-SVN: r36327 --- gcc/ChangeLog | 2 ++ gcc/c-decl.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd8593e88a1..a2e3b40e870 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2000-09-11 Jakub Jelinek + * c-decl.c (do_case): Fix a typo. + * combine.c (simplify_if_then_else): Don't convert a == b ? b : a to a if the comparison is floating mode and not -ffast-math. * simplify-rtx.c (simplify_ternary_operation): Likewise. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 8b006577f94..bc1857c1b34 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6985,7 +6985,7 @@ do_case (low_value, high_value) error_with_decl (duplicate, "this is the first default label"); } else - error ("dupicate case value"); + error ("duplicate case value"); if (high_value != NULL_TREE) error_with_decl (duplicate, "this is the first entry for that value"); -- 2.30.2