aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2000-09-11 22:25:44 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2000-09-11 22:25:44 +0200
commit2a1da89b745d35fa6d29c83dc237765eb5811009 (patch)
tree6de4037ab0a857e1772a425272644c72ef9164cf
parent6ff85fd82d366db03289da8f6b47e202eb4eee7b (diff)
downloadgcc-2a1da89b745d35fa6d29c83dc237765eb5811009.zip
gcc-2a1da89b745d35fa6d29c83dc237765eb5811009.tar.gz
gcc-2a1da89b745d35fa6d29c83dc237765eb5811009.tar.bz2
* c-decl.c (do_case): Fix a typo.
From-SVN: r36327
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/c-decl.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dd8593e..a2e3b40 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2000-09-11 Jakub Jelinek <jakub@redhat.com>
+ * 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 8b00657..bc1857c 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");