diff options
Diffstat (limited to 'gcc/cp/semantics.c')
| -rw-r--r-- | gcc/cp/semantics.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 4ff333b..2daff6f 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2125,15 +2125,6 @@ begin_class_definition (tree t) pushtag (make_anon_name (), t, 0); } - /* If this type was already complete, and we see another definition, - that's an error. */ - if (COMPLETE_TYPE_P (t)) - { - error ("redefinition of %q#T", t); - cp_error_at ("previous definition of %q#T", t); - return error_mark_node; - } - /* Update the location of the decl. */ DECL_SOURCE_LOCATION (TYPE_NAME (t)) = input_location; |
