aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-12-02 00:04:36 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-12-02 00:04:36 +0000
commit1f978f5f7eba451706f9d6a7b54ac8226ef591fb (patch)
tree3dc37bbf8a99ef97f3a73dc491dbfca9f6a93d79 /gcc/testsuite
parent357351e5a702dde74fbccf7ba88027e166b0111c (diff)
downloadgcc-1f978f5f7eba451706f9d6a7b54ac8226ef591fb.zip
gcc-1f978f5f7eba451706f9d6a7b54ac8226ef591fb.tar.gz
gcc-1f978f5f7eba451706f9d6a7b54ac8226ef591fb.tar.bz2
c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading capital from diagnostics. * c-lex.c (cb_file_change): Similarly. * c-parse.in : Similarly. * cfgrtl.c (verify_flow_info): Similarly. * collect2.c: Similarly. * cppfiles.c (find_include_file): Similarly. * cppinit.c (cpp_handle_option): Similarly. * cpplex.c (cpp_spell_token): Similarly. * cppmain.c (do_preprocessing): Similarly. * gcc.c (translate_options, process_command, do_spec1, main, pfatal_execute): Similarly. * genattr.c (main): Similarly. * genattrtab.c (check_attr_test, operate_exp, simplify_test_exp, write_test_expr, main): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genflags.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (process_template, main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * gensupport.c (is_predicable, identify_predicable_attribute, alter_predicate_for_insn, init_md_reader_args, main): Similarly. * ggc-page.c (alloc_anon): Similarly. * mips-tfile.c (add_string, add_procedure, add_file, read_line, parse_begin, parse_bend, parse_def, parse_end, parse_file, parse_stabs_common, parse_stabs, write_varray, write_object, read_seek, copy_object, main, error): Similarly. * profile.c (compute_branch_probabilities): Similarly. * reg-stack.c (check_asm_stack_operands): Similarly. * reload.c (find_reloads): Similarly. * reload1.c (spill_failure, failed_reload): Similarly. * rtl-error.c (_fatal_insn_not_found): Similarly. * toplev.c (read_integral_parameter, crash_signal, decode_f_option, set_target_switch, parse_options_and_default_flags) : Similarly. * tradcif.y (parse_number, yylex): Similarly. * tradcpp.c (main, fancy_abort): Similarly. * tree.c (tree_check_failed): Similarly. * varray.c (varray_check_failed): Similarly. * xcoffout.c (xcoff_output_standard_types): Similarly. cp: * call.c (build_java_interface_fn_ref): Similarly. * except.c (is_admissible_throw_operand): Similarly. * init.c (build_java_class_ref): Similarly. * xref.c (open_xref_file): Similarly. objc: * objc-act.c (get_object_ref, lookup_and_install_protocols, build_objc_string_object, objc_declare_alias, build_ivar_chain, finish_message_expr, build_protocol_expr, is_public, start_class): Similarly. testsuite: * objc.dg/alias.m: Update. * objc.dg/class-1.m: Update. * objc.dg/const-str-1.m: Update. * objc.dg/fwd-proto-1.m: Update. * objc.dg/id-1.m: Update. * objc.dg/super-class-1.m: Update. From-SVN: r47518
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog9
-rw-r--r--gcc/testsuite/objc.dg/alias.m4
-rw-r--r--gcc/testsuite/objc.dg/class-1.m2
-rw-r--r--gcc/testsuite/objc.dg/const-str-1.m2
-rw-r--r--gcc/testsuite/objc.dg/fwd-proto-1.m4
-rw-r--r--gcc/testsuite/objc.dg/id-1.m2
-rw-r--r--gcc/testsuite/objc.dg/super-class-1.m2
7 files changed, 17 insertions, 8 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f326990..6f19f84 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * objc.dg/alias.m: Update.
+ * objc.dg/class-1.m: Update.
+ * objc.dg/const-str-1.m: Update.
+ * objc.dg/fwd-proto-1.m: Update.
+ * objc.dg/id-1.m: Update.
+ * objc.dg/super-class-1.m: Update.
+
2001-11-29 Mark Mitchell <mark@codesourcery.com>
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
diff --git a/gcc/testsuite/objc.dg/alias.m b/gcc/testsuite/objc.dg/alias.m
index bf6d12d..a57d032 100644
--- a/gcc/testsuite/objc.dg/alias.m
+++ b/gcc/testsuite/objc.dg/alias.m
@@ -1,7 +1,7 @@
/* Test alias warnings. */
/* { dg-do compile } */
-@compatibility_alias class1 class2; /* { dg-warning "Cannot find class" } */
+@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@@ -9,4 +9,4 @@
@interface class4;
@end
-@compatibility_alias class4 class3; /* { dg-warning "Class" "already exists" } */
+@compatibility_alias class4 class3; /* { dg-warning "lass" "already exists" } */
diff --git a/gcc/testsuite/objc.dg/class-1.m b/gcc/testsuite/objc.dg/class-1.m
index a7760e1..64304f5 100644
--- a/gcc/testsuite/objc.dg/class-1.m
+++ b/gcc/testsuite/objc.dg/class-1.m
@@ -17,4 +17,4 @@ int glob;
@implementation glob
@end /* { dg-error "redeclared as different kind of symbol" } */
/* { dg-error "previous declaration of" "" { target *-*-* } 15 } */
-/* { dg-warning "Cannot find interface declaration" "" { target *-*-* } 18 } */
+/* { dg-warning "annot find interface declaration" "" { target *-*-* } 18 } */
diff --git a/gcc/testsuite/objc.dg/const-str-1.m b/gcc/testsuite/objc.dg/const-str-1.m
index 1d94faa..6c6ae05 100644
--- a/gcc/testsuite/objc.dg/const-str-1.m
+++ b/gcc/testsuite/objc.dg/const-str-1.m
@@ -4,7 +4,7 @@
int foo()
{
- baz(@"hiya"); /* { dg-error "Cannot find interface declaration" } */
+ baz(@"hiya"); /* { dg-error "annot find interface declaration" } */
}
@interface NXConstantString
diff --git a/gcc/testsuite/objc.dg/fwd-proto-1.m b/gcc/testsuite/objc.dg/fwd-proto-1.m
index fd88780..3b21c51 100644
--- a/gcc/testsuite/objc.dg/fwd-proto-1.m
+++ b/gcc/testsuite/objc.dg/fwd-proto-1.m
@@ -10,12 +10,12 @@ typedef struct objc_object { struct objc_class *class_pointer; } *id;
@protocol Foo
- (id <Bar>)someMethod;
-- (id <Baz>)anotherMethod; /* { dg-error "Cannot find protocol declaration" } */
+- (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
@end
@protocol Bar <Boo>
- (id <Foo>)someOtherMethod;
-- (id <Baz>)anotherMethod; /* { dg-error "Cannot find protocol declaration" } */
+- (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
- (id <Boo>)yetAnotherMethod;
@end
diff --git a/gcc/testsuite/objc.dg/id-1.m b/gcc/testsuite/objc.dg/id-1.m
index 026a6d4..abc17bc 100644
--- a/gcc/testsuite/objc.dg/id-1.m
+++ b/gcc/testsuite/objc.dg/id-1.m
@@ -3,4 +3,4 @@
typedef int id;
-id b; /* { dg-warning "Unexpected type for `id'" } */
+id b; /* { dg-warning "nexpected type for `id'" } */
diff --git a/gcc/testsuite/objc.dg/super-class-1.m b/gcc/testsuite/objc.dg/super-class-1.m
index d4252c9..9c8ab86 100644
--- a/gcc/testsuite/objc.dg/super-class-1.m
+++ b/gcc/testsuite/objc.dg/super-class-1.m
@@ -2,4 +2,4 @@
/* { dg-do compile } */
@interface class0 : supclass0
-@end /* { dg-error "Cannot find interface declaration for .*, superclass" } */
+@end /* { dg-error "annot find interface declaration for .*, superclass" } */