OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agocp:
nathan [Tue, 31 Dec 2002 19:43:16 +0000 (19:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60710 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Testing): Fixed typo.
tromey [Tue, 31 Dec 2002 19:16:24 +0000 (19:16 +0000)]
* doc/install.texi (Testing): Fixed typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60709 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.def (RETURN_INIT): Remove.
mmitchel [Tue, 31 Dec 2002 18:58:09 +0000 (18:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60707 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9112
mmitchel [Tue, 31 Dec 2002 18:48:19 +0000 (18:48 +0000)]
PR c++/9112
* parser.c (cp_parser_direct_declarator): Handle erroneous
parenthesized declarators correctly.

PR c++/9112
* g++.dg/parse/expr1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60706 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
kazu [Tue, 31 Dec 2002 18:31:59 +0000 (18:31 +0000)]
* config/h8300/h8300.h (TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Support the normal mode.
(INITIALIZE_TRAMPOLINE): Emit the entire trampoline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60705 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Fix use of $program_transform_name.
schwab [Tue, 31 Dec 2002 18:01:38 +0000 (18:01 +0000)]
* configure.in: Fix use of $program_transform_name.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60704 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago For PR libgcj/8933:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60702 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-31 Tom Tromey <tromey@redhat.com>
tromey [Tue, 31 Dec 2002 17:43:47 +0000 (17:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60700 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.h (pending_lang_change): Declare.
mmitchel [Tue, 31 Dec 2002 17:34:17 +0000 (17:34 +0000)]
* c-common.h (pending_lang_change): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60699 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
gerald [Tue, 31 Dec 2002 14:59:09 +0000 (14:59 +0000)]
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
descriptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60696 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/doc/invoke.texi (Optimization Options): List the options
gerald [Tue, 31 Dec 2002 14:43:13 +0000 (14:43 +0000)]
* gcc/doc/invoke.texi (Optimization Options): List the options
enabled by each -O flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60692 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* cp-tree.h (pending_lang_change): Declare.
gdr [Tue, 31 Dec 2002 11:58:16 +0000 (11:58 +0000)]
* cp-tree.h (pending_lang_change): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60687 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Configuration): Explicitly refer
gerald [Tue, 31 Dec 2002 10:39:27 +0000 (10:39 +0000)]
* doc/install.texi (Configuration): Explicitly refer
gcc/config.gcc for a list of cpu models.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60684 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h: Fix comment typos.
kazu [Tue, 31 Dec 2002 09:07:36 +0000 (09:07 +0000)]
* config/h8300/h8300.h: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60683 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Tue, 31 Dec 2002 08:17:44 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60682 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoAdd missing changelog entry
drow [Tue, 31 Dec 2002 03:30:48 +0000 (03:30 +0000)]
Add missing changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60675 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure: Regenerated.
drow [Tue, 31 Dec 2002 03:13:38 +0000 (03:13 +0000)]
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60674 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (baseargs): Don't remove first configure argument.
drow [Tue, 31 Dec 2002 03:12:53 +0000 (03:12 +0000)]
* configure.in (baseargs): Don't remove first configure argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60673 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoMinor typos
dj [Tue, 31 Dec 2002 02:04:41 +0000 (02:04 +0000)]
Minor typos

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60672 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
dje [Tue, 31 Dec 2002 01:05:21 +0000 (01:05 +0000)]
    * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60668 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * src/Makefile.am: Resolve non-portable use of $<.
ljrittle [Tue, 31 Dec 2002 00:58:36 +0000 (00:58 +0000)]
* src/Makefile.am: Resolve non-portable use of $<.
* src/Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60666 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parser.c (cp_parser_context_free_list): New variable.
mmitchel [Tue, 31 Dec 2002 00:11:47 +0000 (00:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60665 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcj/javaprims.h: Updated.
tromey [Mon, 30 Dec 2002 22:42:20 +0000 (22:42 +0000)]
* gcj/javaprims.h: Updated.
* scripts/classes.pl (scan): Removed stray semicolon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60659 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/net/URLStreamHandler.java (toExternalForm): Ignore port
mark [Mon, 30 Dec 2002 22:41:10 +0000 (22:41 +0000)]
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
if zero or smaller.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60657 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/install.texi (Testing): Mention Jacks.
tromey [Mon, 30 Dec 2002 21:33:42 +0000 (21:33 +0000)]
* doc/install.texi (Testing): Mention Jacks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60654 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.am (jar.1, grepjar.1): Protect against
dj [Mon, 30 Dec 2002 21:32:30 +0000 (21:32 +0000)]
* Makefile.am (jar.1, grepjar.1): Protect against
texi2pod/pod2man failing.
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60653 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoi* Make-lang.in: Protect against texi2pod/pod2man failing.
dj [Mon, 30 Dec 2002 21:32:07 +0000 (21:32 +0000)]
i* Make-lang.in: Protect against texi2pod/pod2man failing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60652 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
jsm28 [Mon, 30 Dec 2002 21:29:39 +0000 (21:29 +0000)]
* doc/gcc.texi, doc/gccint.texi: Update last modification dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60651 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (output_logical_op): Use extu.w in more
kazu [Mon, 30 Dec 2002 21:08:42 +0000 (21:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60649 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/service.texi: Uncomment and update FAQ link.
jsm28 [Mon, 30 Dec 2002 21:07:17 +0000 (21:07 +0000)]
* doc/service.texi: Uncomment and update FAQ link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60648 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/compile/20021230-1.c: New test.
drow [Mon, 30 Dec 2002 20:33:42 +0000 (20:33 +0000)]
* gcc.c-torture/compile/20021230-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60645 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.
mmitchel [Mon, 30 Dec 2002 20:18:38 +0000 (20:18 +0000)]
* parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60644 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parse.y: Remove.
mmitchel [Mon, 30 Dec 2002 19:02:11 +0000 (19:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60642 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.pot: Regenerate.
jsm28 [Mon, 30 Dec 2002 19:01:28 +0000 (19:01 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60641 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
aj [Mon, 30 Dec 2002 18:22:36 +0000 (18:22 +0000)]
* unwind-dw2-fde.h (last_fde): Add unused attribute for obj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60640 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * parser.c (cp_parser_parameter_declaration_clause): Treat system
dje [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60639 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config-lang.in, Make-lang.in, operators.def, cp-tree.def:
neroden [Mon, 30 Dec 2002 18:06:39 +0000 (18:06 +0000)]
* config-lang.in, Make-lang.in, operators.def, cp-tree.def:
GCC, not GNU CC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60638 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c (grokdeclarator): Diagnost "extern thread" and "static
mmitchel [Mon, 30 Dec 2002 17:47:15 +0000 (17:47 +0000)]
* decl.c (grokdeclarator): Diagnost "extern thread" and "static
thread" correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60637 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c, decl2.c, decl.h: GCC, not GNU CC. This is the C++ front
neroden [Mon, 30 Dec 2002 16:25:45 +0000 (16:25 +0000)]
* decl.c, decl2.c, decl.h:  GCC, not GNU CC.  This is the C++ front
end, not the C front end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60636 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoadd missing Changelogs
nathan [Mon, 30 Dec 2002 16:21:40 +0000 (16:21 +0000)]
add missing Changelogs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60635 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-30 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 30 Dec 2002 15:50:52 +0000 (15:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60634 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
kazu [Mon, 30 Dec 2002 15:35:20 +0000 (15:35 +0000)]
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60633 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (output_logical_op): Use extu.w if we
kazu [Mon, 30 Dec 2002 15:28:31 +0000 (15:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60632 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-30 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 30 Dec 2002 14:54:45 +0000 (14:54 +0000)]
2002-12-30  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4:  Remove trailing whitespace.
(GLIBCPP_ENABLE_CXX_FLAGS):  Fix.
* aclocal.m4, configure:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60631 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Mon, 30 Dec 2002 13:39:48 +0000 (13:39 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60628 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/9054
nathan [Mon, 30 Dec 2002 12:46:13 +0000 (12:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60627 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 30 Dec 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60626 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/util/Properties (formatForOutput): Don't fall through to
mark [Mon, 30 Dec 2002 07:20:04 +0000 (07:20 +0000)]
* java/util/Properties (formatForOutput): Don't fall through to
default case after escaping character.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60618 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
mark [Mon, 30 Dec 2002 07:16:59 +0000 (07:16 +0000)]
    * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
        against count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60616 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-29 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 30 Dec 2002 03:58:46 +0000 (03:58 +0000)]
2002-12-29  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Better comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60614 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md: Give internal names to anonymous
kazu [Sun, 29 Dec 2002 22:25:39 +0000 (22:25 +0000)]
* config/h8300/h8300.md: Give internal names to anonymous
insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60613 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md: Reorder some insns.
kazu [Sun, 29 Dec 2002 21:33:18 +0000 (21:33 +0000)]
* config/h8300/h8300.md: Reorder some insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60611 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
gdr [Sun, 29 Dec 2002 21:28:25 +0000 (21:28 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60610 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agonew test.
gdr [Sun, 29 Dec 2002 21:13:10 +0000 (21:13 +0000)]
new test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60609 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
gerald [Sun, 29 Dec 2002 19:34:53 +0000 (19:34 +0000)]
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
depending on gcc/intl/plural.y.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60607 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in (host_configargs): Replace reference to
aoliva [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: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60606 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/2739
lerdsuwa [Sun, 29 Dec 2002 17:01:45 +0000 (17:01 +0000)]
PR c++/2739
* g++.dg/other/access2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60605 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
gdr [Sun, 29 Dec 2002 16:42:30 +0000 (16:42 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60604 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agonew test.
gdr [Sun, 29 Dec 2002 16:12:43 +0000 (16:12 +0000)]
new test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60603 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/other/anon-struct.C: No longer fails
gdr [Sun, 29 Dec 2002 15:13:12 +0000 (15:13 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60602 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Remove traditional C constructs 4/n.
gdr [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60601 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300-protos.h: Add prototypes for
kazu [Sun, 29 Dec 2002 14:36:35 +0000 (14:36 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60600 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 29 Dec 2002 08:18:43 +0000 (08:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60597 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agochange error to warning
jason [Sun, 29 Dec 2002 06:03:42 +0000 (06:03 +0000)]
change error to warning

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60590 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
jsm28 [Sat, 28 Dec 2002 21:38:55 +0000 (21:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60587 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Increase makeinfo version requirement to 4.[2-9].
jsm28 [Sat, 28 Dec 2002 20:51:36 +0000 (20:51 +0000)]
* configure.in: Increase makeinfo version requirement to 4.[2-9].
* configure: Regenerate.
* doc/install.texi: Update Texinfo version requirement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60583 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* configure.in (host_configargs): Replace reference to
aoliva [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: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60582 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* acx.m4: Name cache variables properly.
aoliva [Sat, 28 Dec 2002 17:57:00 +0000 (17:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60581 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of
aoliva [Sat, 28 Dec 2002 16:24:47 +0000 (16:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60580 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc_update (configure): Depend on config/acx.m4 as well.
aoliva [Sat, 28 Dec 2002 16:24:33 +0000 (16:24 +0000)]
* gcc_update (configure): Depend on config/acx.m4 as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60579 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Remove traditional C constructs 3/n.
gdr [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60574 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.c (x86_function_profiler): Mark labelno as
aj [Sat, 28 Dec 2002 13:57:59 +0000 (13:57 +0000)]
* config/i386/i386.c (x86_function_profiler): Mark labelno as
possibly unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60573 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/parse/angle-bracket.C (main): No longer fails.
gdr [Sat, 28 Dec 2002 13:48:54 +0000 (13:48 +0000)]
* g++.dg/parse/angle-bracket.C (main): No longer fails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60572 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc_update (configure): Depend on configure.in.
aoliva [Sat, 28 Dec 2002 13:21:17 +0000 (13:21 +0000)]
* gcc_update (configure): Depend on configure.in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60571 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
aj [Sat, 28 Dec 2002 10:51:18 +0000 (10:51 +0000)]
* c-parse.in (yyprint): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX for
correct format.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60570 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.tpl: Fix dramatic bustage due to change in
neroden [Sat, 28 Dec 2002 09:12:19 +0000 (09:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60568 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 28 Dec 2002 08:17:42 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60567 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Make-lang.in (po-generated): Remove parse.c.
mmitchel [Sat, 28 Dec 2002 08:03:42 +0000 (08:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60560 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.dg/eh/spec4.C: Remove stray semicolon.
mmitchel [Sat, 28 Dec 2002 07:48:15 +0000 (07:48 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60559 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago(toplev)
neroden [Sat, 28 Dec 2002 06:57:50 +0000 (06:57 +0000)]
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60558 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * boehm.cc: Remove stray semicolon.
mmitchel [Sat, 28 Dec 2002 06:38:52 +0000 (06:38 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60556 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gjavah.c (print_name_for_stub_or_jni): Adjust call to
mmitchel [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.
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60555 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.md (*iorhi_shift_8): Change the name to
kazu [Sat, 28 Dec 2002 04:15:27 +0000 (04:15 +0000)]
* config/h8300/h8300.md (*iorhi_shift_8): Change the name to
*iorhi_ashift_8.
(*iorhi_lshiftrt_8): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60553 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure: Fix stupid bug where RANLIB was mistakenly included.
neroden [Sat, 28 Dec 2002 00:59:52 +0000 (00:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60551 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
neroden [Fri, 27 Dec 2002 23:15:39 +0000 (23:15 +0000)]
* configure: Remove unneeded 'export's.  Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60550 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/locale/gnu/ctype_members.cc
mmitchel [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60547 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/include/texinfo.tex: Update to version 2002-12-26.16.
jsm28 [Fri, 27 Dec 2002 20:07:55 +0000 (20:07 +0000)]
* doc/include/texinfo.tex: Update to version 2002-12-26.16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60545 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.
gerald [Fri, 27 Dec 2002 17:49:15 +0000 (17:49 +0000)]
* doc/contrib.texi (Contributors): Add Abramo and Roberto Bagnara.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60544 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Fri, 27 Dec 2002 08:17:28 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60543 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-26 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 27 Dec 2002 00:23:20 +0000 (00:23 +0000)]
2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

* libsupc++/exception:  Add comment (mistakenly skipped).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60534 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-26 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 27 Dec 2002 00:03:17 +0000 (00:03 +0000)]
2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h (_Base_bitset::_M_do_left_shift,
_Base_bitset::_M_do_right_shift): Expect a non-zero shift.
(bitset::operator<<=, bitset::operator>>=):  When shifting more bits
than are in the bitset, zero memory rather than segfault.
(operator>>(basic_istream,bitset):  Only call setstate once, after
all work has been done.

* testsuite/23_containers/bitset_members.cc (test03):  New test.
* testsuite/23_containers/bitset_shift.cc (test02):  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60533 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-26 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 26 Dec 2002 22:26:29 +0000 (22:26 +0000)]
2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

* libsupc++/vterminate.cc (writestr):  Use __builtin_strlen.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60531 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-12-26 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 26 Dec 2002 21:14:19 +0000 (21:14 +0000)]
2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

* libsupc++/eh_term_handler.cc:  Add comment about embedded systems.
* docs/html/debug.html:  Cosmetic and HTML changes.  Point to
verb-term notes.
* docs/html/documentation.html:  Link to the FAQ.
* docs/html/17_intro/howto.html:  Mention use of isatty(3).
* docs/html/19_diagnostics/howto.html:  Update verb-term description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60528 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300-protos.h: Fix comment typos.
kazu [Thu, 26 Dec 2002 21:11:34 +0000 (21:11 +0000)]
* config/h8300/h8300-protos.h: Fix comment typos.
Update copyright.
* config/h8300/h8300.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60527 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.
kazu [Thu, 26 Dec 2002 20:58:10 +0000 (20:58 +0000)]
* config/h8300/h8300.h (IDENT_ASM_OP): End with a tab.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60525 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/athlon.md: Fix comment typos.
kazu [Thu, 26 Dec 2002 18:45:04 +0000 (18:45 +0000)]
* config/i386/athlon.md: Fix comment typos.
* config/i386/crtdll.h: Likewise.
* config/i386/djgpp.h: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/k6.md: Likewise.
* config/i386/mingw32.h: Likewise.
* config/i386/pentium.md: Likewise.
* config/i386/sco5.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/xmmintrin.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60524 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Thu, 26 Dec 2002 18:20:14 +0000 (18:20 +0000)]
cp:
PR c++/4803
* decl2.c (mark_used): Defer inline functions.
(finish_file): Merge deferred_fns loops. Check all used
inline functions have a definition.
* method.c (make_thunk): Thunks are not inline.
testsuite:
* g++.dg/warn/inline1.C: New test.
* g++.old-deja/g++.brendan/crash64.C: Remove spurious inlines.
* g++.old-deja/g++.jason/synth10.C: Likewise.
* g++.old-deja/g++.mike/net31.C: Likewise.
* g++.old-deja/g++.mike/p8786.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60521 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
law [Thu, 26 Dec 2002 18:15:56 +0000 (18:15 +0000)]
   * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
        INSN_P before checking to see if it is dead.
        (mark_all_insn_unnecessary): Similarly.
        (ssa_eliminate_dead_code): Similarly.
        * rtl.h (struct rtx_def): Update comments for in_struct usage
        in dead code elimination pass.
        (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60520 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.
schwab [Thu, 26 Dec 2002 18:01:22 +0000 (18:01 +0000)]
* config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60519 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Thu, 26 Dec 2002 12:23:11 +0000 (12:23 +0000)]
cp:
        PR c++/5116, c++/764
        * call.c (build_new_op): Make sure template class operands are
        instantiated.
testsuite:
        * g++.dg/template/friend10.C: New test.
        * g++.dg/template/conv5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60514 138bc75d-0d04-0410-961f-82ee72b054a4