Kriang Lerdsuwanakij [Wed, 1 Jan 2003 07:43:35 +0000 (07:43 +0000)]
ambig3.C: Remove XFAIL.
* g++.old-deja/g++.jason/ambig3.C: Remove XFAIL.
* g++.old-deja/g++.other/access6.C: Likewise.
* g++.old-deja/g++.other/decl1.C: Likewise.
* g++.old-deja/g++.pt/typename12.C: Likewise.
From-SVN: r60730
Mark Mitchell [Wed, 1 Jan 2003 03:16:16 +0000 (03:16 +0000)]
cp-tree.h (LOOKUP_TEMPLATES_EXPECTED): Remove.
* cp-tree.h (LOOKUP_TEMPLATES_EXPECTED): Remove.
(lookup_name_namespace_only): Likewise.
(begin_only_namespace_names): Likewise.
(end_only_namespace_names): Likewise.
* decl.c (only_namespace_names): Remove.
(qualify_lookup): Do not check LOOKUP_TEMPLATES_EXPECTED.
(lookup_name_real): Do not check only_namespace_names.
(lookup_name_namespace_only): Remove.
(begin_only_namespace_names): Likewise.
(end_only_namespace_names): Likewise.
* parser.c (cp_parser_nested_name_specifier_opt): Handle erroneous
nested-name-specifiers more gracefully.
(cp_parser_class_or_namespace_name): Avoid looking up namespace
names when they cannot possibly appear.
(cp_parser_template_name): Adjust call to cp_parser_lookup_name.
(cp_parser_elaborated_type_specifier): Likewise.
(cp_parser_namespace_name): Only look for namespace names.
(cp_parser_lookup_name): Add is_namespace parameter.
(cp_parser_lookup_name_simple): Adjust call to
cp_parser_lookup_name.
* g++.dg/parse/namespace1.C: New test.
From-SVN: r60729
Neil Booth [Wed, 1 Jan 2003 00:49:36 +0000 (00:49 +0000)]
* g++.dg/parse/parse4.C: New test.
From-SVN: r60728
Neil Booth [Wed, 1 Jan 2003 00:43:53 +0000 (00:43 +0000)]
* g++.dg/parse/parse3.C: New test.
From-SVN: r60727
Neil Booth [Wed, 1 Jan 2003 00:38:07 +0000 (00:38 +0000)]
* g++.dg/parse/parse2.C: New test.
From-SVN: r60726
Neil Booth [Wed, 1 Jan 2003 00:27:14 +0000 (00:27 +0000)]
* g++.dg/template/friend11.C: New test.
From-SVN: r60725
Neil Booth [Wed, 1 Jan 2003 00:14:57 +0000 (00:14 +0000)]
*** empty log message ***
From-SVN: r60724
Neil Booth [Wed, 1 Jan 2003 00:13:48 +0000 (00:13 +0000)]
* g++.dg/parse/parse1.C: New test.
From-SVN: r60723
Tom Tromey [Tue, 31 Dec 2002 22:50:10 +0000 (22:50 +0000)]
re PR libgcj/7416 (java.security startup refs "GNU libgcj.security")
Fix for PR libgcj/7416:
* javax/naming/InitialContext.java (init): Use
gnu.classpath.home.url.
* java/security/Security.java: Use new properties.
(loadProviders): Accept base url; use it.
* java/lang/System.java: Document gnu.classpath.vm.shortname, and
gnu.classpath.home.url.
(gnu.classpath.home.url): Define.
(gnu.classpath.vm.shortname): Likewise.
From-SVN: r60722
Neil Booth [Tue, 31 Dec 2002 22:11:33 +0000 (22:11 +0000)]
* .cvsignore: Update.
From-SVN: r60720
Kazu Hirata [Tue, 31 Dec 2002 21:06:43 +0000 (21:06 +0000)]
h8300-protos.h: Update the prototypes.
* config/h8300/h8300-protos.h: Update the prototypes.
* config/h8300/h8300.c (const_le_2_operand): Change to
const_int_le_2_operand.
(const_int_le_6_operand): Change to const_int_le_6_operand.
* config/h8300/h8300.md (two peepholes): Update the function
names.
From-SVN: r60719
Mark Mitchell [Tue, 31 Dec 2002 20:28:27 +0000 (20:28 +0000)]
parser.c (cp_parser_dependent_type_p): Fix thinko.
* parser.c (cp_parser_dependent_type_p): Fix thinko.
* g++.dg/init/array9.C: New test.
From-SVN: r60718
Tom Tromey [Tue, 31 Dec 2002 20:10:53 +0000 (20:10 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.
From-SVN: r60717
Janis Johnson [Tue, 31 Dec 2002 20:00:44 +0000 (20:00 +0000)]
profopt.exp: Change the name of a global variable to avoid possible clashes with other test...
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
From-SVN: r60711
Nathan Sidwell [Tue, 31 Dec 2002 19:43:16 +0000 (19:43 +0000)]
class.c (modify_vtable_entry): Remove unused variable.
cp:
* class.c (modify_vtable_entry): Remove unused variable.
(get_vcall_index): Always expect a non-thunk.
(update_vtable_entry_for_fn): Combine covariant adjustments, when
overriding a thunk. Pass get_vcall_index a non-thunk.
* decl2.c (finish_file): Mark undefined inlines as extern.
testsuite:
* g++.dg/inherit/covariant8.C: New test.
From-SVN: r60710
Tom Tromey [Tue, 31 Dec 2002 19:16:24 +0000 (19:16 +0000)]
* doc/install.texi (Testing): Fixed typo.
From-SVN: r60709
Mark Mitchell [Tue, 31 Dec 2002 18:58:09 +0000 (18:58 +0000)]
cp-tree.def (RETURN_INIT): Remove.
* cp-tree.def (RETURN_INIT): Remove.
* cp-tree.h (DECL_IN_MEMORY_P): Remove.
(scope_kind): Add sk_block, sk_try, sk_catch, sk_for.
(note_level_for_for): Remove.
(note_level_for_try): Likewise.
(note_level_for_catch): Likewise.
(finish_named_return_value): Likewise.
(do_pushlevel): Change prototype.
(pending_lang_change): Remove.
* decl.c (begin_scope): Handle sk_block, sk_try, sk_catch,
sk_for.
(note_level_for_for): Remove.
(note_level_for_try): Likewise.
(note_level_for_catch): Likewise.
(maybe_inject_for_scope_var): Remove use of DECL_IN_MEMORY_P.
* parser.c (cp_parser_context_free_list): Make it "deletable".
(cp_parser_template_argument): Remove misleading comment.
* pt.c (tsubst_expr): Remove RETURN_INIT code.
* semantics.c (genrtl_named_return_value): Remove.
(do_pushlevel): Take a scope kind as an argument.
(begin_if_stmt): Adjust.
(begin_while_stmt): Likewise.
(begin_for_stmt): Likewise.
(finish_for_init_stmt): Likewise.
(begin_switch_stmt): Likewise.
(begin_handler): Likewise.
(begin_compound_stmt): Likewise.
(finish_named_return_value): Remove.
(cp_expand_stmt): Remove RETURN_INIT case.
* tree.c (cp_statement_code_p): Remove RETURN_INIT case.
* g++.dg/init/array9.C: New test.
From-SVN: r60707
Mark Mitchell [Tue, 31 Dec 2002 18:48:19 +0000 (18:48 +0000)]
re PR c++/9112 (new C++ parser rejects code older parsers accepted)
PR c++/9112
* parser.c (cp_parser_direct_declarator): Handle erroneous
parenthesized declarators correctly.
PR c++/9112
* g++.dg/parse/expr1.C: New test.
From-SVN: r60706
Kazu Hirata [Tue, 31 Dec 2002 18:31:59 +0000 (18:31 +0000)]
h8300.h (TRAMPOLINE_TEMPLATE): Remove.
* config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Support the normal mode.
(INITIALIZE_TRAMPOLINE): Emit the entire trampoline.
From-SVN: r60705
Andreas Schwab [Tue, 31 Dec 2002 18:01:38 +0000 (18:01 +0000)]
configure.in: Fix use of $program_transform_name.
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.
From-SVN: r60704
Tom Tromey [Tue, 31 Dec 2002 17:52:25 +0000 (17:52 +0000)]
For PR libgcj/8933:
* include/Makefile.in: Rebuilt.
* include/Makefile.am (noinst_HEADERS): Renamed from
include_HEADERS.
From-SVN: r60702
Tom Tromey [Tue, 31 Dec 2002 17:43:47 +0000 (17:43 +0000)]
re PR libgcj/8997 (spin() calls Thread.sleep)
2002-12-31 Tom Tromey <tromey@redhat.com>
Ranjit Mathew <rmathew@hotmail.com>
Fix for PR libgcj/8997:
* java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
Include platform.h.
* include/posix.h (_Jv_platform_usleep): New function.
* include/win32.h (_Jv_platform_usleep): New function.
Co-Authored-By: Ranjit Mathew <rmathew@hotmail.com>
From-SVN: r60700
Mark Mitchell [Tue, 31 Dec 2002 17:34:17 +0000 (17:34 +0000)]
* c-common.h (pending_lang_change): Declare.
From-SVN: r60699
Jerry Quinn [Tue, 31 Dec 2002 14:59:09 +0000 (14:59 +0000)]
invoke.texi (Optimization Options): Clean up -O flag descriptions.
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
descriptions.
From-SVN: r60696
Jerry Quinn [Tue, 31 Dec 2002 14:43:13 +0000 (14:43 +0000)]
invoke.texi (Optimization Options): List the options enabled by each -O flag.
* gcc/doc/invoke.texi (Optimization Options): List the options
enabled by each -O flag.
From-SVN: r60692
Gabriel Dos Reis [Tue, 31 Dec 2002 11:58:16 +0000 (11:58 +0000)]
* cp-tree.h (pending_lang_change): Declare.
From-SVN: r60687
Gerald Pfeifer [Tue, 31 Dec 2002 10:39:27 +0000 (11:39 +0100)]
install.texi (Configuration): Explicitly refer gcc/config.gcc for a list of cpu models.
* doc/install.texi (Configuration): Explicitly refer
gcc/config.gcc for a list of cpu models.
From-SVN: r60684
Kazu Hirata [Tue, 31 Dec 2002 09:07:36 +0000 (09:07 +0000)]
* config/h8300/h8300.h: Fix comment typos.
From-SVN: r60683
GCC Administrator [Tue, 31 Dec 2002 08:17:44 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60682
Alexandre Oliva [Tue, 31 Dec 2002 03:30:48 +0000 (03:30 +0000)]
Add missing changelog entry
From-SVN: r60675
Daniel Jacobowitz [Tue, 31 Dec 2002 03:13:38 +0000 (03:13 +0000)]
* configure: Regenerated.
From-SVN: r60674
Daniel Jacobowitz [Tue, 31 Dec 2002 03:12:53 +0000 (03:12 +0000)]
* configure.in (baseargs): Don't remove first configure argument.
From-SVN: r60673
DJ Delorie [Tue, 31 Dec 2002 02:04:41 +0000 (21:04 -0500)]
Minor typos
From-SVN: r60672
David Edelsohn [Tue, 31 Dec 2002 01:05:21 +0000 (01:05 +0000)]
* config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
From-SVN: r60668
Loren J. Rittle [Tue, 31 Dec 2002 00:58:36 +0000 (00:58 +0000)]
Makefile.am: Resolve non-portable use of $<.
* src/Makefile.am: Resolve non-portable use of $<.
* src/Makefile.in: Rebuilt.
From-SVN: r60666
Mark Mitchell [Tue, 31 Dec 2002 00:11:47 +0000 (00:11 +0000)]
parser.c (cp_parser_context_free_list): New variable.
* parser.c (cp_parser_context_free_list): New variable.
(cp_parser_context_new): Use it.
(cp_parser_error): Check return code from
cp_parser_simulate_error.
(cp_parser_simulate_error): Return a value.
(cp_parser_id_expression): Optimize common case.
(cp_parser_class_name): Likewise.
(cp_parser_class_specifier): Adjust call to
cp_parser_late_parsing_default_args.
(cp_parser_lookup_name): Optimize common case.
(cp_parser_late_parsing_for_member): Adjust call to
cp_parser_late_parsing_default_args.
(cp_parser_late_parsing_default_args): Add scope parameter.
(cp_parser_require): Avoid creating the error message unless it's
needed.
(cp_parser_parse_definitely): Place free'd contexts on the free
list.
From-SVN: r60665
Tom Tromey [Mon, 30 Dec 2002 22:42:20 +0000 (22:42 +0000)]
javaprims.h: Updated.
* gcj/javaprims.h: Updated.
* scripts/classes.pl (scan): Removed stray semicolon.
From-SVN: r60659
Mark Wielaard [Mon, 30 Dec 2002 22:41:10 +0000 (22:41 +0000)]
URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
if zero or smaller.
From-SVN: r60657
Tom Tromey [Mon, 30 Dec 2002 21:33:42 +0000 (21:33 +0000)]
* doc/install.texi (Testing): Mention Jacks.
From-SVN: r60654
DJ Delorie [Mon, 30 Dec 2002 21:32:30 +0000 (16:32 -0500)]
Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.
* Makefile.am (jar.1, grepjar.1): Protect against
texi2pod/pod2man failing.
* Makefile.in: Regenerated.
From-SVN: r60653
DJ Delorie [Mon, 30 Dec 2002 21:32:07 +0000 (16:32 -0500)]
i* Make-lang.in: Protect against texi2pod/pod2man failing.
From-SVN: r60652
Joseph Myers [Mon, 30 Dec 2002 21:29:39 +0000 (21:29 +0000)]
* doc/gcc.texi, doc/gccint.texi: Update last modification dates.
From-SVN: r60651
Kazu Hirata [Mon, 30 Dec 2002 21:08:42 +0000 (21:08 +0000)]
h8300.c (output_logical_op): Use extu.w in more cases.
* config/h8300/h8300.c (output_logical_op): Use extu.w in more
cases.
(compute_logical_op_length): Update to reflect the change in
output_logical_op.
(compute_logical_op_cc): Likewise.
From-SVN: r60649
Joseph Myers [Mon, 30 Dec 2002 21:07:17 +0000 (21:07 +0000)]
* doc/service.texi: Uncomment and update FAQ link.
From-SVN: r60648
Daniel Jacobowitz [Mon, 30 Dec 2002 20:33:42 +0000 (20:33 +0000)]
* gcc.c-torture/compile/
20021230-1.c: New test.
From-SVN: r60645
Mark Mitchell [Mon, 30 Dec 2002 20:18:38 +0000 (20:18 +0000)]
* parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.
From-SVN: r60644
Mark Mitchell [Mon, 30 Dec 2002 19:02:11 +0000 (19:02 +0000)]
parse.y: Remove.
* parse.y: Remove.
* spew.c: Likewise.
* Make-lang.in (gt-cp-spew.h): Remove.
* cp-tree.h (do_pending_lang_change): Remove.
(do_identifier): Change prototype.
(finish_id_expr): Remove.
* decl.c (lookup_name_real): Remove yylex variable.
* decl2.c (build_expr_from_tree): Adjust call to do_identifier.
* lex.c (init_cpp_parse): Remove.
(reduce_cmp): Likewise.
(token_cmp): Likewise.
(yychar): Likewise.
(lastiddecl): Likewise.
(token_count): Likewise.
(reduce_count): Likewise.
(yyhook): Likewise.
(print_parse_statistics): Likewise.
(do_pending_lang_change): Likewise.
(do_identifier): Remove parsing parameter.
* lex.h (lastiddecl): Remove.
(looking_for_typename): Remove.
(looking_for_template): Likewise.
(pending_lang_change): Likewise.
(yylex): Likewise.
* semantics.c (finish_id_expr): Remove.
From-SVN: r60642
Joseph Myers [Mon, 30 Dec 2002 19:01:28 +0000 (19:01 +0000)]
* gcc.pot: Regenerate.
From-SVN: r60641
Andreas Jaeger [Mon, 30 Dec 2002 18:22:36 +0000 (19:22 +0100)]
* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
From-SVN: r60640
David Edelsohn [Mon, 30 Dec 2002 18:21:49 +0000 (18:21 +0000)]
parser.c (cp_parser_parameter_declaration_clause): Treat system header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.
* parser.c (cp_parser_parameter_declaration_clause): Treat system
header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.
From-SVN: r60639
Nathanael Nerode [Mon, 30 Dec 2002 18:06:39 +0000 (18:06 +0000)]
config-lang.in, [...]: GCC, not GNU CC.
* config-lang.in, Make-lang.in, operators.def, cp-tree.def:
GCC, not GNU CC.
From-SVN: r60638
Mark Mitchell [Mon, 30 Dec 2002 17:47:15 +0000 (17:47 +0000)]
decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly.
* decl.c (grokdeclarator): Diagnost "extern thread" and "static
thread" correctly.
From-SVN: r60637
Nathanael Nerode [Mon, 30 Dec 2002 16:25:45 +0000 (16:25 +0000)]
decl.c, [...]: GCC, not GNU CC.
* decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front
end, not the C front end.
From-SVN: r60636
Nathan Sidwell [Mon, 30 Dec 2002 16:21:40 +0000 (16:21 +0000)]
add missing Changelogs
From-SVN: r60635
Phil Edwards [Mon, 30 Dec 2002 15:50:52 +0000 (15:50 +0000)]
configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments, let the defaults work.
2002-12-30 Phil Edwards <pme@gcc.gnu.org>
* configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments,
let the defaults work.
* configure: Regenerate.
From-SVN: r60634
Kazu Hirata [Mon, 30 Dec 2002 15:35:20 +0000 (15:35 +0000)]
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
From-SVN: r60633
Kazu Hirata [Mon, 30 Dec 2002 15:28:31 +0000 (15:28 +0000)]
h8300.c (output_logical_op): Use extu.w if we are clearing the most significant byte.
* config/h8300/h8300.c (output_logical_op): Use extu.w if we
are clearing the most significant byte.
(compute_logical_op_length): Update to reflect the change in
output_logical_op.
(compute_logical_op_cc): Likewise.
From-SVN: r60632
Phil Edwards [Mon, 30 Dec 2002 14:54:45 +0000 (14:54 +0000)]
acinclude.m4: Remove trailing whitespace.
2002-12-30 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Remove trailing whitespace.
(GLIBCPP_ENABLE_CXX_FLAGS): Fix.
* aclocal.m4, configure: Regenerate.
From-SVN: r60631
Nathan Sidwell [Mon, 30 Dec 2002 13:39:48 +0000 (13:39 +0000)]
cp-tree.h (THUNK_TARGET): New macro.
cp:
* cp-tree.h (THUNK_TARGET): New macro.
(THUNK_VIRTUAL_OFFSET): For result thunks it is always a binfo.
(finish_thunk): Remove offset parms.
* class.c (find_final_overrider): Look through thunks.
(get_vcall_index): Use THUNK_TARGET.
(update_vtable_entry_for_fn): Look through thunks. Set covariant
fixed offset here. Adjust finish_thunk call.
(build_vtbl_initializer): Adjust finish_thunk calls.
* mangle.c (mangle_call_offset): Remove superfluous if.
(mangle_thunk): Adjust.
* method.c (make_thunk): Adjust.
(finish_thunk): Adjust.
(thunk_adjust): Remove assert.
(use_thunk): Use THUNK_TARGET
* dump1.c (cp_dump_tree): Adjust thunk dumping.
testsuite:
* g++.dg/inherit/covariant5.C: New test.
* g++.dg/inherit/covariant6.C: New test.
* g++.dg/inherit/covariant7.C: New test.
From-SVN: r60628
Nathan Sidwell [Mon, 30 Dec 2002 12:46:13 +0000 (12:46 +0000)]
re PR c++/9054 (segfault on legal code with option -fdump-translation-unit)
PR c++/9054
* class.c (layout_class_type): Set DECL_CONTEXT of type for base.
* dump.c (cp_dump_tree, RECORD_TYPE): Deal with type for base types.
From-SVN: r60627
GCC Administrator [Mon, 30 Dec 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60626
Mark Wielaard [Mon, 30 Dec 2002 07:20:04 +0000 (07:20 +0000)]
Properties (formatForOutput): Don't fall through to default case after escaping character.
* java/util/Properties (formatForOutput): Don't fall through to
default case after escaping character.
From-SVN: r60618
Mark Wielaard [Mon, 30 Dec 2002 07:16:59 +0000 (07:16 +0000)]
StringBuffer.java (getChars): Remove wrong dstOffset check against count.
* java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
against count.
From-SVN: r60616
Phil Edwards [Mon, 30 Dec 2002 03:58:46 +0000 (03:58 +0000)]
std_bitset.h: Better comments.
2002-12-29 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h: Better comments.
From-SVN: r60614
Kazu Hirata [Sun, 29 Dec 2002 22:25:39 +0000 (22:25 +0000)]
h8300.md: Give internal names to anonymous insns.
* config/h8300/h8300.md: Give internal names to anonymous
insns.
From-SVN: r60613
Kazu Hirata [Sun, 29 Dec 2002 21:33:18 +0000 (21:33 +0000)]
* config/h8300/h8300.md: Reorder some insns.
From-SVN: r60611
Gabriel Dos Reis [Sun, 29 Dec 2002 21:28:25 +0000 (21:28 +0000)]
New test.
From-SVN: r60610
Gabriel Dos Reis [Sun, 29 Dec 2002 21:13:10 +0000 (21:13 +0000)]
new test.
From-SVN: r60609
Gerald Pfeifer [Sun, 29 Dec 2002 19:34:53 +0000 (20:34 +0100)]
gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on gcc/intl/plural.y.
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
depending on gcc/intl/plural.y.
From-SVN: r60607
Alexandre Oliva [Sun, 29 Dec 2002 19:04:40 +0000 (19:04 +0000)]
configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.
From-SVN: r60606
Kriang Lerdsuwanakij [Sun, 29 Dec 2002 17:01:45 +0000 (17:01 +0000)]
re PR c++/2739 (g++ allows accessing private members)
PR c++/2739
* g++.dg/other/access2.C: New test.
From-SVN: r60605
Gabriel Dos Reis [Sun, 29 Dec 2002 16:42:30 +0000 (16:42 +0000)]
New test.
From-SVN: r60604
Gabriel Dos Reis [Sun, 29 Dec 2002 16:12:43 +0000 (16:12 +0000)]
new test.
From-SVN: r60603
Gabriel Dos Reis [Sun, 29 Dec 2002 15:13:12 +0000 (15:13 +0000)]
anon-struct.C: No longer fails
* g++.dg/other/anon-struct.C: No longer fails
* g++.old-deja/g++.brendan/parse4.C: Likewise.
* g++.old-deja/g++.brendan/parse5.C: Likewise.
* g++.old-deja/g++.brendan/parse6.C: Likewise.
From-SVN: r60602
Gabriel Dos Reis [Sun, 29 Dec 2002 14:53:05 +0000 (14:53 +0000)]
Remove traditional C constructs 4/n.
* decl2.c (grok_method_quals, warn_if_unknown_interface,
grok_x_components, cp_build_parm_decl, build_artificial_parm,
maybe_retrofit_in_chrg, grokclassfn, grok_array_decl,
delete_sanity, check_member_template, check_java_method,
check_classfn, finish_static_data_member_decl, grokfield,
grokbitfield, grokoptypename, grok_function_init,
cplus_decl_attributes, constructor_name, defer_fn,
build_anon_union_vars, finish_anon_union, coerce_new_type,
coerce_delete_type, comdat_linkage, maybe_make_one_only,
key_method, import_export_vtable, import_export_class,
output_vtable_inherit, import_export_decl, import_export_tinfo,
build_cleanup, get_guard, get_guard_bits, get_guard_cond,
set_guard, start_objects, finish_objects,
start_static_storage_duration_function,
finish_static_storage_duration_function, get_priority_info,
start_static_initialization_or_destruction,
finish_static_initialization_or_destruction,
do_static_initialization, do_static_destruction,
prune_vars_needing_no_initialization, write_out_vars,
reparse_decl_as_expr, finish_decl_parsing, namespace_ancestor,
add_using_namespace, merge_functions, ambiguous_decl,
lookup_using_namespace, lookup_using_namespace,
qualified_lookup_using_namespace, set_decl_namespace,
decl_namespace, current_decl_namespace, push_decl_namespace,
pop_decl_namespace, push_scope, pop_scope, add_function,
arg_assoc_namespace, arg_assoc_template_arg, arg_assoc,
lookup_arg_dependent, do_namespace_alias,
validate_nonmember_using_decl, do_nonmember_using_decl,
do_toplevel_using_decl, do_local_using_decl,
do_class_using_decl, do_using_directive, check_default_args,
mark_used, handle_class_head): Use C90 prototypings. Use booleans.
* parser.c (cp_parser_class_head): Use booleanss.
* decl.c (walk_globals, walk_vtables): Likewise.
* cp-tree.h (walk_globals_pred, walk_globals_fn, walk_vtables,
walk_globals): Change return type from 'int' to 'bool'.
* rtti.c (init_rtti_processing, build_headof, throw_bad_cast
throw_bad_typeid, get_tinfo_decl_dynamic, typeid_ok_p,
build_typeid, tinfo_name, get_tinfo_decl, get_tinfo_ptr,
get_typeid, ifnonnull, build_dynamic_cast_1, build_dynamic_cast,
qualifier_flags, tinfo_base_init, generic_initializer,
ptr_initializer, dfs_class_hint_mark, ptm_initializer,
dfs_class_hint_unmark, class_hint_flags, class_initializer,
typeinfo_in_lib_p, get_pseudo_ti_init, create_pseudo_type_info,
get_pseudo_ti_desc, create_tinfo_types, emit_support_tinfos,
unemitted_tinfo_decl_p, emit_tinfo_decl): Likewise.
* repo.c (repo_compile_flags, repo_template_declared,
repo_template_defined, repo_class_defined, repo_get_id,
repo_template_used, repo_vtable_used, repo_inline_used,
repo_tinfo_used, repo_template_instantiated, extract_string,
open_repo_file, afgets, init_repo, reopen_repo_file_for_write,
finish_repo): Likewise.
* ptree.c (cxx_print_decl, cxx_print_type, cxx_print_identifier,
cxx_print_xnode): Likewise..
* cp-lang.c (ok_to_generate_alias_set_for_type, cxx_get_alias_set,
cxx_warn_unused_global_decl, cp_expr_size): Likewise.
* cxxfilt.c (demangle_it, print_demangler_list, usage,
standard_symbol_characters, hp_symbol_characters, main, fatal):
Likewise.
(strip_underscore): Change type from 'int' to 'bool'.
(main): Use boolean constants.
From-SVN: r60601
Kazu Hirata [Sun, 29 Dec 2002 14:36:35 +0000 (14:36 +0000)]
h8300-protos.h: Add prototypes for const_int_qi_operand and const_int_hi_operand.
* config/h8300/h8300-protos.h: Add prototypes for
const_int_qi_operand and const_int_hi_operand.
* config/h8300/h8300.c (const_int_qi_operand): New.
(const_int_hi_operand): Likewise.
* config/h8300/h8300.md (three peepholes): New.
From-SVN: r60600
GCC Administrator [Sun, 29 Dec 2002 08:18:43 +0000 (08:18 +0000)]
Daily bump.
From-SVN: r60597
Jason Merrill [Sun, 29 Dec 2002 06:03:42 +0000 (01:03 -0500)]
change error to warning
From-SVN: r60590
Joseph Myers [Sat, 28 Dec 2002 21:38:55 +0000 (21:38 +0000)]
cpp.texi, [...]: Use @copying.
gcc:
* doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
Use @copying.
gcc/ada:
* gnat_rm.texi, gnat_ug.texi: Use @copying.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.
gcc/f:
* g77.texi: Use @copying.
gcc/java:
* gcj.texi: Use @copying.
gcc/treelang:
* treelang.texi: Use @copying.
libstdc++-v3:
* docs/html/17_intro/porting.texi: Use @copying.
* docs/html/17_intro/porting.html: Regenerate.
From-SVN: r60587
Joseph Myers [Sat, 28 Dec 2002 20:51:36 +0000 (20:51 +0000)]
configure.in: Increase makeinfo version requirement to 4.[2-9].
* configure.in: Increase makeinfo version requirement to 4.[2-9].
* configure: Regenerate.
* doc/install.texi: Update Texinfo version requirement.
From-SVN: r60583
Alexandre Oliva [Sat, 28 Dec 2002 17:57:14 +0000 (17:57 +0000)]
configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.
From-SVN: r60582
Alexandre Oliva [Sat, 28 Dec 2002 17:57:00 +0000 (17:57 +0000)]
acx.m4: Name cache variables properly.
* acx.m4: Name cache variables properly.
(NCN_STRICT_CHECK_TOOL): If program is not found and
value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2,
depending on whether build != host or not.
(NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix.
From-SVN: r60581
Alexandre Oliva [Sat, 28 Dec 2002 16:24:47 +0000 (16:24 +0000)]
Makefile.tpl ($(NOTPARALLEL)): Move to the end.
* Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of
program_transform_name to standard idiom.
(AUTOGEN, AUTOCONF): Define.
(Makefile.in): Use $(AUTOGEN).
(Makefile): Depend on config.status, and use autoconf-style rule to
build it. Move original commands to...
(config.status): ... this new target.
(configure): Add $(srcdir). Depend on config/acx.m4. Use
$(AUTOCONF).
* Makefile.in: Rebuilt.
From-SVN: r60580
Alexandre Oliva [Sat, 28 Dec 2002 16:24:33 +0000 (16:24 +0000)]
* gcc_update (configure): Depend on config/acx.m4 as well.
From-SVN: r60579
Gabriel Dos Reis [Sat, 28 Dec 2002 14:38:38 +0000 (14:38 +0000)]
Remove traditional C constructs 3/n.
* cvt.c (cp_convert_to_pointer, convert_to_pointer_force,
build_up_reference, warn_ref_binding, convert_to_reference,
convert_from_reference, convert_lvalue, cp_convert, ocp_convert,
convert_to_void, convert, convert_force, build_type_conversion,
build_expr_type_conversion, type_promotes_to,
perform_qualification_conversions): Use C90 prototyping style.
* decl2.c (grok_array_decl): Use boolean constant.
(delete_sanity): Likewise.
* typeck.c (build_unary_op): Likewise.
* semantics.c (finish_switch_cond): Likewise.
* parser.c (cp_parser_direct_new_declarator): Likewise.
* init.c (build_new): Likewise.
From-SVN: r60574
Andreas Jaeger [Sat, 28 Dec 2002 13:57:59 +0000 (14:57 +0100)]
i386.c (x86_function_profiler): Mark labelno as possibly unused.
* config/i386/i386.c (x86_function_profiler): Mark labelno as
possibly unused.
From-SVN: r60573
Gabriel Dos Reis [Sat, 28 Dec 2002 13:48:54 +0000 (13:48 +0000)]
* g++.dg/parse/angle-bracket.C (main): No longer fails.
From-SVN: r60572
Alexandre Oliva [Sat, 28 Dec 2002 13:21:17 +0000 (13:21 +0000)]
* gcc_update (configure): Depend on configure.in.
From-SVN: r60571
Andreas Jaeger [Sat, 28 Dec 2002 10:51:18 +0000 (11:51 +0100)]
c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for correct format.
* c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
correct format.
From-SVN: r60570
Nathanael Nerode [Sat, 28 Dec 2002 09:12:19 +0000 (09:12 +0000)]
Makefile.tpl: Fix dramatic bustage due to change in program_transform_name.
* Makefile.tpl: Fix dramatic bustage due to change in
program_transform_name.
* Makefile.in: Regenerate.
* configure.in: Remove unnecessary PATH setting.
* configure: Regnerate.
* configure.in: Don't default to unprefixed tools unless
the native tools will work.
* configure: Regenerate.
From-SVN: r60568
GCC Administrator [Sat, 28 Dec 2002 08:17:42 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60567
Mark Mitchell [Sat, 28 Dec 2002 08:03:42 +0000 (08:03 +0000)]
Make-lang.in (po-generated): Remove parse.c.
* Make-lang.in (po-generated): Remove parse.c.
(CXX_OBJS): Remove parse.o and spew.o. Add parser.o.
($(srcdir)/cp/parse.h): Remove target.
($(srcdir)/cp/parse.c): Likewise.
(gt-cp-parse.h): Likewise.
(gt-cp-parser.h): New target.
(c++.distclean): Do not remove parse.output.
(c++.maintainer-clean): Do not remove parse.c or parse.h.
(cp/spew.o): Remove target.
(cp/lex.o): Adjust dependencies.
(cp/pt.o): Likewise.
(cp/parse.o): Likewise.
(cp/TAGS): Do not mention parse.c.
(cp/parser.o): New target.
* NEWS: Mention the new parser.
* call.c (build_scoped_method_call): Simplify.
(build_method_call): Likewise.
(build_new_function_call): Adjust calls to add_function_candidate
and add_template_candidate.
(build_new_op): Improve handling of erroroneous operands.
(convert_default_arg): Remove circular argument processing.
(name_as_c_string): New function.
(build_new_method_call): Use it.
(perform_implicit_conversion): Use error_operand_p.
* class.c (finish_struct_anon): Use constructor_name_p.
(check_field_decls): Likewise.
(pop_nested_class): Use OVL_NEXT, not OVL_CHAIN.
(resolve_address_of_overloaded_function): Likewise.
(instantiate_type): Tweak pointer-to-member handling.
(get_primary_binfo): Remove incorrect assertion.
* config-lang.in (gtfiles): Add parser.c, remove parse.c.
* cp-tree.h (DEFARG_TOKENS): New macro.
(default_arg): New structure.
(cp_tree_node_structure_enum): Add TS_CP_DEFAULT_ARG.
(lang_tree_node): Add default_arg.
(cp_tree_index): Add CPTI_TYPE_INFO_REF_TYPE.
(type_info_ref_type): New macro.
(saved_scope): Make processing_explicit_instantiation a boolean.
(check_access): New field.
(unparsed_text): Remove.
(language_function): Remove unparsed_inlines.
(error_operand_p): New macro.
(lang_decl): Adjust pending_inline_info.
(DEFARG_POINTER): Remove.
(tag_types): Add typenames.
(lookup_ualified_name): Declare.
(lookup_name_real): Likewise.
(shadow_tag): Adjust prototype.
(get_scope_of_declarator): Declare it.
(process_next_inline): Remove it.
(check_for_missing_semicolon): Likewise.
(maybe_get_template_decl_from_type_decl): Declare it.
(finish_label_stmt): Adjust prototype.
(finish_non_static_data_meber): Declare it.
(finish_pseudo_destructor_call_expr): Rename to ...
(finish_pseudo_destructor_expr): ... this.
(finish_compound_literal): Declare it.
(begin_inline_definitions): Remove it.
(init_spew): Remove.
(peekyylex): Likewise.
(arbitrate_lookup): Likewise.
(frob_opname): Likewise.
(maybe_snarf_defarg): Likewise.
(add_defarg_fn): Likewise.
(do_pending_defargs): Likewise.
(done_pending_defargs): Likewise.
(unprocessed_defarg_fn): Likewise.
(replace_defarg): Likewise.
(end_input): Likewise.
(get_overloaded_fn): Likewise.
* cvt.c (convert_to_reference): Improve error handling.
* decl.c (lookup_name_real): Do not declare it static.
(maybe_push_to_top_level): Set check_access.
(identifier_type_value): Adjust call to lookup_name_real.
(lookup_qualified_name): New method.
(lookup_name_real): Remove special-case parsing code.
(lookup_name-nonclass): Adjust call to lookup_name_real.
(lookup_name_namespace_only): Likewise.
(lookup_name): Likewise.
(check_tag_decl): Return the type declared.
(shadow_tag): Likewise.
(register_dtor_fn): Tweak check_access.
(grokfndecl): Use constructor_name_p.
(get_scope_of_declarator): New function.
(grokdeclarator): Obscure tweaks for slightly different declarator
representations.
(start_method): Return error_mark_node to indicate failure.
(cp_tree_node_structure_enum): Use TS_CP_DEFAULT_ARG for DEFAULT_ARGs.
* decl2.c (constructor_name_full): Simplify.
(constructor_name): Use it.
(build_expr_from_tree): Adjust for changes to do new parser.
(push_scope): Improve robustness.
(validate_nonmember_using_decl): Process declarations, not names.
(do_class_using_decl): Likewise.
(handle_class_head): Do not mess with CLASSTYPE_DECLARED_CLASS
here.
* error.c (dump_expr): Handle IDENTIFIER_NODEs and BASELINKs.
* expr.c (cxx_expand_expr): Handle BASELINKs.
* init.c (member_init_ok_or_else): Issue more errors.
(build_offset_ref): Tweak handling of FUNCTION_DECLs.
* lex.c: Do not include parse.h.
(yypring): Do not declare.
(yylval): Likewise.
(make_reference_declarator): Remove error-generating code.
(rid_to_yy): Remove.
(cxx_init): Do not call init_spew.
(yypring): Remove.
(check_for_missing_semicolon): Remove.
* lex.h (got_scope): Remove.
(got_object): Remove.
* method.c (hack_identifier): Use finish_non_static_data_member.
(implicitly_declare_fn): Adjust use of constructor_name.
* parser.c: New file.
* pt.c (parse.h): Do not include it.
(maybe_get_template_decl_from_template): Do not declare it.
(finish_member_template_decl): Tweak.
(begin_explicit_instantiation): Adjust for
processing_explicit_instantiation being boolean.
(end_explicit_instantiation): Likewise.
(maybe_process_partial_specialization): Tighten specialization
test.
(retrieve_local_specialization): Adjust ue of hash table.
(eq_local_specializations): New function.
(register_local_specialization): Likewise.
(push_template_decl_real): Remove unnecessary test.
(maybe_get_template_decl_from_type_decl): Don't make it static.
(for_each_template_parm_r): Handle TYPEOF_TYPE.
(tsubst_copy): Use retrieive_local_specialization to handle
PARM_DECL. Adjust handling of CONST_DECLs. Handle BASELINKs.
Handle COMPONENT_REFs with pseudo-destructor-expressions.
Simplify handling of CALL_EXPR and METHOD_CALL_EXPR.
(tsubst_expr): Pass decls, not names, to do_local_using_decl.
(unify): Tweak handling of CONST_DECLs.
(regenerate_decl_from_template): Use push_nested_class.
(template_for_substitution): New funciton.
(instantiate_decl): Use it. Register parameters as local
specializations.
* rtti.c (init_rtti_processing): Set type_info_ref_type.
(build_typeid): Use it.
(get_typeid): Likeise.
* search.c (accessible_p): Use check_access, not
flag_access_control.
(adjust_result_of_qualified_name_lookup): Pay attention to the
context_class.
* semantics.c (finish_asm_stmt): Adjust error handling.
(finish_label_stmt): Return the statement.
(finish_non_static_data_member): New function.
(finish_class_expr): Handle BASELINKs.
(finish_call_expr): Handle PSEUDO_DTOR_EXPR.
(finish_object_call_expr): Simplify handling during templates.
(finish_pseudo_destructor_call_expr): Rename to ...
(finish_pseudo_dtor_expr): ... this.
(finish_compound_literal): New function.
(begin_inline_definitions): Remove.
(finish_sizeof): Remove special template handling.
* spew.c: Do not include parse.h.
* tree.c (get_overloaded_fn): Remove.
* typeck.c (build_class_member_access_expr): Handle
PSEUDO_DTOR_EXPR. Adjust handling of static member functions.
(lookup_destructor): New function.
(finish_class_member_access_expr): Use it.
(convert_arguments): Simplify.
(build_unary_op): Handle BASELINKs.
From-SVN: r60560
Mark Mitchell [Sat, 28 Dec 2002 07:48:15 +0000 (07:48 +0000)]
spec4.C: Remove stray semicolon.
* g++.dg/eh/spec4.C: Remove stray semicolon.
* g++.dg/expr/pmf-1.C: Change error message.
* g++.dg/ext/asm1.C: Remove stray semicolon.
* g++.dg/ext/typename1.C: Add missing typenames.
* g++.dg/inherit/template-as-base.C: Change error message.
* g++.dg/lookup/scoped1.C: Likewise.
* g++.dg/lookup/scoped2.C: Likewise.
* g++.dg/lookup/using2.C: Likewise.
* g++.dg/other/component1.C: Remove stray semicolon.
* g++.dg/other/do1.C: Change error message.
* g++.dg/other/error2.C: Likewise.
* g++.dg/other/init1.C: Likewise.
* g++.dg/other/packed1.C: Remove stray semicolon.
* g++.dg/other/ptrmem2.C: Change error message.
* g++.dg/parse/parameter-declaration-1.C: Remove line number
marker.
* g++.dg/special/initp1.C: Remove invalid attribute usage.
* g++.dg/template/access3.C: Add typename keyword.
* g++.dg/template/access5.C: Remove stray semicolon.
* g++.dg/template/access6.C: Likewise.
* g++.dg/template/complit1.C: Likewise.
* g++.dg/template/crash1.C: Change error message.
* g++.dg/template/inherit2.C: Remove stray semicolon.
* g++.dg/template/instantiate2.C: Likewise.
* g++.dg/template/instantiate3.C: Change error message.
* g++.dg/template/qual1.C: Remove stray semicolon.
* g++.dg/template/qualttp18.C: Change error message.
* g++.dg/template/ref1.C: Remove stray semicolon.
* g++.dg/template/sizeof1.C (A::value): Declare it.
* g++.dg/template/spec4.C: Change error message.
* g++.dg/template/static1.C: Likewise.
* g++.dg/template/type1.C: Likewise.
* g++.dg/template/typename3.C: Likewise.
* g++.old-deja/g++.benjamin/13478.C: Change error message.
* g++.old-deja/g++.benjamin/15799.C: Remove stray semicolon.
* g++.old-deja/g++.benjamin/bool01.C: Likewise.
* g++.old-deja/g++.benjamin/bool02.C: Likewise.
* g++.old-deja/g++.benjamin/p13417.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.benjamin/tem06.C: Remove stray semicolon.
* g++.old-deja/g++.benjmain/warn01.C: Likewise.
* g++.old-deja/g++.bob/extern_C.C: Likewise.
* g++.old-deja/g++.bob/inherit2.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/crash13.C: Likewise.
* g++.old-deja/g++.brendan/crash15.C: Likewise.
* g++.old-deja/g++.brendan/crash18.C: Change error message.
* g++.old-deja/g++.brendan/crash37.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/crash38.C: Likewise.
* g++.old-deja/g++.brendan/crash50.C: Likewise.
* g++.old-deja/g++.brendan/crash56.C: Likewise.
* g++.old-deja/g++.brendan/crash6.C: Use explicit specialization
syntax.
* g++.old-deja/g++.brendan/crash66.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/crash8.C: Change error message.
* g++.old-deja/g++.brendan/ctors1.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/ctors2.C: Likewise.
* g++.old-deja/g++.brendan/shadow1.C: Likewise.
* g++.old-deja/g++.brendan/template11.C: Likewise.
* g++.old-deja/g++.brendan/template26.C: Likewise.
* g++.old-deja/g++.brendan/template27.C: Use explicit
specialization syntax.
* g++.old-deja/g++.brendan/template30.C: Likewise.
* g++.old-deja/g++.brendan/template5.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/visibility3.C: Account for use of
non-dependent names.
* g++.old-deja/g++.brendan/warnings4.C: Remove stray semicolon.
* g++.old-deja/g++.brendan/warnings7.C: Likewise.
* g++.old-deja/g++.bugs/900121_02.C: Likewise.
* g++.old-deja/g++.eh/catchptr1.C: Likewise.
* g++.old-deja/g++.ext/addrfunc4.C: Likewise.
* g++.old-deja/g++.ext/namedret1.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.ext/namedret2.C: Likewise.
* g++.old-deja/g++.ext/namedret3.C: Likewise.
* g++.old-deja/g++.ext/return1.C: Likewise.
* g++.old-deja/g++.ext/typename1.C: Add missing typename keywords.
* g++.old-deja/g++.jason/access17.C: Issue more error messages.
* g++.old-deja/g++.jason/access8.C: Likewise.
* g++.old-deja/g++.jason/bool.C: Remove stray semicolon.
* g++.old-deja/g++.jason/destruct.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.jason/dtor3.C: Remove stray semicolon.
* g++.old-deja/g++.jason/dtor5.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.jason/opeq3.C: Remove stray semicolon.
* g++.old-deja/g++.jason/overload19.C: Likewise.
* g++.old-deja/g++.jason/overload32.C: Likewise.
* g++.old-deja/g++.jason/parse11.C: Issue error messages about
stray semicolons.
* g++.old-deja/g++.jason/pmem2.C: Remove stray semicolon.
* g++.old-deja/g++.jason/return.C: Likewise.
* g++.old-deja/g++.jason/return2.C: Likewise.
* g++.old-deja/g++.jason/shadow1.C: Likewise.
* g++.old-deja/g++.jason/special.C: Use explicit specialization
syntax.
* g++.old-deja/g++.jason/template10.C: Account for use of
non-dependent names.
* g++.old-deja/g++.jason/template11.C: Use explicit specialization
syntax.
* g++.old-deja/g++.jason/template37.C: Likewise.
* g++.old-deja/g++.law/access4.C: Change error messages.
* g++.old-deja/g++.law/arm13.C: Remove incorrect
pseudo-destructor names.
* g++.old-deja/g++.law/code-gen5.C: Remove stray semicolon.
* g++.old-deja/g++.law/ctors9.C: Likewise.
* g++.old-deja/g++.law/cvt22.C: Likewise.
* g++.old-deja/g++.law/dtors5.C: Likewise.
* g++.old-deja/g++.law/global-init1.C: Likewise.
* g++.old-deja/g++.law/missed-error3.C: Likewise.
* g++.old-deja/g++.law/operators28.C: Likewise.
* g++.old-deja/g++.law/visibility28.C: Likewise.
* g++.old-deja/g++.martin/eval1.C: Likewise.
* g++.old-deja/g++.martin/pmf2.C: Remove qualifier in constructor
name.
* g++.old-deja/g++.mike/hog1.C: Remove stray semicolon.
* g++.old-deja/g++.mike/net34.C: Likewise.
* g++.old-deja/g++.mike/net36.C: Likewise.
* g++.old-deja/g++.mike/ns2.C: Likewise.
* g++.old-deja/g++.mike/p12306.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Adjust for removal of named return
value extension.
* g++.old-deja/g++.mike/p700.C: Likewise.
* g++.old-deja/g++.mike/p701.C: Remove stray semicolon.
* g++.old-deja/g++.mike/p710.C: Likewise.
* g++.old-deja/g++.mike/p784.C: Adjust for removal of named return
value extension.
* g++.old-deja/g++.mike/pmf7.C: Remove stray semicolon.
* g++.old-deja/g++.mike/pmf9.C: Likewise.
* g++.old-deja/g++.ns/crash2.C: Likewise.
* g++.old-deja/g++.ns/crash3.C: Likewise.
* g++.old-deja/g++.ns/invalid1.C: Likewise.
* g++.old-deja/g++.ns/ns17.C: Likewise.
* g++.old-deja/g++.ns/template16.C: Likewise.
* g++.old-deja/g++.ns/template5.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.ns/template6.C: Remove stray semicolon.
* g++.old-deja/g++.ns/using9.C: Remove stray semicolon.
* g++.old-deja/g++.oliva/nameret1.C: Now fails due to use of
named return value extension.
* g++.old-deja/g++.oliva/nameret2.C: Likewise.
* g++.old-deja/g++.other/access4.C: Issue additional error
messages.
* g++.old-deja/g++.other/array6.C: Remove stray semicolon.
* g++.old-deja/g++.other/crash1.C: Isue additional error messages.
* g++.old-deja/g++.other/crash11.C: Add missing class-key.
* g++.old-deja/g++.other/crash25.C: Change error message.
* g++.old-deja/g++.other/crash4.C: Change error message.
* g++.old-deja/g++.other/debug7.C: Remove stray semicolon.
* g++.old-deja/g++.other/decl5.C: Issue more error messages.
* g++.old-deja/g++.other/defarg7.C: Remove circular dependency
checks.
* g++.old-deja/g++.other/defarg8.C: Likewise.
* g++.old-deja/g++.other/dtor1.C: Remove stray semicolon.
* g++.old-deja/g++.other/dtor10.C: Likewise.
* g++.old-deja/g++.other/incomplete.C: Likewise.
* g++.old-deja/g++.other/linkage7.C: Likewise.
* g++.old-deja/g++.other/lookup19.C: Now fails due to corrected
lookup algorithm.
* g++.old-deja/g++.other/mangle2.C: Likewise.
* g++.old-deja/g++.other/refinit2.C: Likewise.
* g++.old-deja/g++.other/sizeof2.C: Change error messages.
* g++.old-deja/g++.other/std1.C: Remove stray semicolon.
* g++.old-deja/g++.pt/crash28.C: Likewise.
* g++.old-deja/g++.pt/crash29.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/crash32.C: Change error message.
* g++.old-deja/g++.pt/crash43.C: Adjust error messages.
* g++.old-deja/g++.pt/crash58.C: Remove stray semicolon.
* g++.old-deja/g++.pt/crash65.C: Tweak to acount for change in
error message position.
* g++.old-deja/g++.pt/defarg5.C: Remove stray semicolon.
* g++.old-deja/g++.pt/defarg8.C: Change error message.
* g++.old-deja/g++.pt/eichin01.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/eichin01a.C: Define static data members.
* g++.old-deja/g++.pt/eichin01b.C: Likewise.
* g++.old-deja/g++.pt/enum7.C: Remove stray semicolon.
* g++.old-deja/g++.pt/explicit12.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/explicit31.C: Likewise.
* g++.old-deja/g++.pt/explicit33.C: Remove stray semicolon.
* g++.old-deja/g++.pt/explicit35.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/explicit71.C: Change error message.
* g++.old-deja/g++.pt/explicit80.C: Use explicit specialization
syntax.
* g++.old-deja/g++.pt/friend28.C: Account for use of
non-dependent names.
* g++.old-deja/g++.pt/friend29.C: Likewise.
* g++.old-deja/g++.pt/friend46.C: Adjust for correct name lookup
rules.
* g++.old-deja/g++.pt/friend48.C: Remove stray semicolon.
* g++.old-deja/g++.pt/instantiate1.C: Use correct class-key.
* g++.old-deja/g++.pt/instantiate11.C: Adjust for correct name
lookup rules.
* g++.old-deja/g++.pt/instantiate8.C: Remove stray semicolon.
* g++.old-deja/g++.pt/instantiate9.C: Insert missing typename
keyword.
* g++.old-deja/g++.pt/memclass20.C: Likewise.
* g++.old-deja/g++.pt/memclass5.C: Likewise.
* g++.old-deja/g++.pt/memclass7.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/memtemp75.C: Likewise.
* g++.old-deja/g++.pt/memtemp81.C: Remove stray semicolon.
* g++.old-deja/g++.pt/memtemp87.C: Add missing access specifier.
* g++.old-deja/g++.pt/overload13.C: Correct error messages.
* g++.old-deja/g++.pt/parms2.C: Add missing typename keyword.
* g++.old-deja/g++.pt/ptrmem1.C: Remove invalid use of template
keyword.
* g++.old-deja/g++.pt/spec10.C: Likewise.
* g++.old-deja/g++.pt/spec28.C: Reorder declarations.
* g++.old-deja/g++.pt/t10.C: Add explicit specialization syntax.
* g++.old-deja/g++.pt/t32.C: Remove stray semicolon.
* g++.old-deja/g++.pt/t35a.C: Add explicit specialization syntax.
* g++.old-deja/g++.pt/ttp24.C: Remove stray semicolon.
* g++.old-deja/g++.pt/ttp62.C: Likewise.
* g++.old-deja/g++.pt/ttp64.C: Likewise.
* g++.old-deja/g++.pt/typename11.C: Add missing typename keyword.
* g++.old-deja/g++.pt/typename15.C: Likewise.
* g++.old-deja/g++.pt/typename22.C: Likewise.
* g++.old-deja/g++.pt/typename6.C: Change error messages.
* g++.old-deja/g++.pt/using1.C: Remove stray semicolon.
* g++.old-deja/g++.pt/virtual2.C: Likewise.
* g++.old-deja/g++.robertl/eb118.C: Add explicit specialization
syntax.
* g++.old-deja/g++.robertl/eb27.C: Now fails due to use of named
return value extension.
* g++.old-deja/g++.robertl/eb43.C: Remove stray semicolon.
* g++.old-deja/g++.robertl/eb79.C: Correct for new name lookup rules.
* g++.old-deja/g++.robertl/eb82.C: Remove stray semicolons.
* g++.old-deja/g++.robertl/eb86.C: Add missing forward declaration.
From-SVN: r60559
Nathanael Nerode [Sat, 28 Dec 2002 06:57:50 +0000 (06:57 +0000)]
configure.in: Convert to autoconf script.
(toplev)
* configure.in: Convert to autoconf script. Blow away lots
of now-redundant Makefile fragments.
* configure: Generate using Autoconf.
* Makefile.tpl: Rewrite to reflect autoconfiscation.
* Makefile.in: Regenerate.
(config)
* acx.m4: New.
* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
mh-riscos, mh-sysv: Delete.
* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.
From-SVN: r60558
Mark Mitchell [Sat, 28 Dec 2002 06:38:52 +0000 (06:38 +0000)]
boehm.cc: Remove stray semicolon.
* boehm.cc: Remove stray semicolon.
* interpret.cc: Likewise.
* prims.cc: Likewise.
* verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
earlier to ensure default arguments are processed.
* gcj/array.h (JArray): Add forward declaration.
(elements): Likewise.
* gcj/javaprim.h: Remove stray semicolons.
* include/bohm-gc.h: Likewise.
* include/jni.h: Likewise.
* include/jvm.h: Likewise.
* java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
From-SVN: r60556
Mark Mitchell [Sat, 28 Dec 2002 06:29:24 +0000 (06:29 +0000)]
gjavah.c (print_name_for_stub_or_jni): Adjust call to print_cxx_classname.
* gjavah.c (print_name_for_stub_or_jni): Adjust call to
print_cxx_classname.
(print_cxx_classname): Add add_scope parameter.
(print_class_decls): Do not emit a semicolon after the extern
"Java" block.
(process_file): Adjust calls to print_cxx_classname.
From-SVN: r60555
Kazu Hirata [Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)]
h8300.md (*iorhi_shift_8): Change the name to *iorhi_ashift_8.
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.
From-SVN: r60553
Nathanael Nerode [Sat, 28 Dec 2002 00:59:52 +0000 (00:59 +0000)]
configure: Fix stupid bug where RANLIB was mistakenly included.
* configure: Fix stupid bug where RANLIB was mistakenly included.
* configure.in: Rename (buildargs, hostargs, targargs) to
(build_configargs, host_configargs, target_configargs).
* configure.in: Move logic out of sed statement.
From-SVN: r60551
Nathanael Nerode [Fri, 27 Dec 2002 23:15:39 +0000 (23:15 +0000)]
configure: Remove unneeded 'export's.
* configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.
From-SVN: r60550
Mark Mitchell [Fri, 27 Dec 2002 23:03:03 +0000 (23:03 +0000)]
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Remove stray semicolon.
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true>::_M_initialize_moneypunct): Avoid
defining classes in static_cast.
(moneypunct<wchar_t, false>::_M_initialize_moneypunct): Likewise.
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t, false>::_M_initialize_numpunct): Likewise.
* include/bits/stl_deque.h (operator-): Insert typename where
required.
* include/bits/stl_multiset.h (multiset): Remove stray semicolon.
* include/bits/stl_set.h (set): Likewise.
* include/bits/valarray_meta.h (bits/slice_array.h): Include it.
* include/std/std_fstream.h (basic_fstream::open): Use this-> to
avoid Koenig lookup.
(basic_fstream::close): Likewise.
* libsupc++/new (operator delete): Remove stray semicolon.
* libsupc++/new (operator delete[]): Likewise.
* libsupc++/tinfo.cc: Likewise.
* src/stdexcept.c (logic_error::~logic_error): Likewise.
(runtime_error::~runtime_error): Likewise.
From-SVN: r60547