neroden [Wed, 1 Jan 2003 20:00:36 +0000 (20:00 +0000)]
g++.dg/parse/namespace2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60758
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 19:39:19 +0000 (19:39 +0000)]
* config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
arm_pr_long_calls_off): Use struct.
* config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
: Similarly.
Don't include cpplib.h.
* config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
sh_pr_nosave_low_regs): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60757
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 1 Jan 2003 16:39:35 +0000 (16:39 +0000)]
* config/h8300/h8300.c: Include cpplib.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60754
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 16:32:15 +0000 (16:32 +0000)]
g++.dg/parse/parens2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60753
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 15:58:43 +0000 (15:58 +0000)]
* g++.dg/lookup/scoped4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60751
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 15:43:19 +0000 (15:43 +0000)]
* g++.dg/parse/parse5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60750
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 1 Jan 2003 15:26:07 +0000 (15:26 +0000)]
* f/Make-lang.in ($(srcdir)/f/BUGS): Add include path for
gcc-common.texi.
($(srcdir)/f/NEWS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60748
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 15:10:03 +0000 (15:10 +0000)]
* Make-lang.in, boehm.c, buffer.c,
buffer.h, builtins.c, class.c,
config-lang.in, constants.c,
convert.h, decl.c, except.c,
expr.c, java-except.h,
java-tree.h, javaop.def,
jcf-parse.c, jcf-write.c,
jv-scan.c, jvgenmain.c,
jvspec.c, keyword.gperf,
keyword.h, lang-options.h,
lang-specs.h, lang.c, lex.c,
lex.h, mangle.c, mangle_name.c,
parse-scan.y, parse.h, parse.y,
typeck.c, verify.c, xref.c,
xref.h: Replace "GNU CC" with
"GCC" in the copyright header.
* check-init.c, gjavah.c, javaop.h,
jcf-depend.c, jcf-dump.c, jcf-io.c,
jcf-path.c, jcf-reader.c, jcf.h,
zextract.c, zipfile.h: These files are
"part of GCC". Also say "GCC" not "GNU CC".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60747
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 15:03:00 +0000 (15:03 +0000)]
* g++.dg/parse/parens1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60746
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 14:59:07 +0000 (14:59 +0000)]
* g++.dg/parse/parens2.C: Removed, turned out to duplicate
angle-bracket1.C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60745
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 14:30:43 +0000 (14:30 +0000)]
* g++.dg/parse/parens2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60744
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 12:54:09 +0000 (12:54 +0000)]
* g++.dg/lookup/scope-operator1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60743
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 12:49:14 +0000 (12:49 +0000)]
* objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
"GCC" in the copyright header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60742
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 1 Jan 2003 12:36:31 +0000 (12:36 +0000)]
* g++.dg/parse/operator1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60741
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 12:27:02 +0000 (12:27 +0000)]
* c-pragma.c (c_register_pragma): New.
(init_pragma): Use it.
* c-pragma.h (cpp_register_pragma): Don't declare.
(c_register_pragma): New.
* cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
* config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
* config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
* config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
* doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
cp:
* lex.c: Remove superfluous include of cpplib.h.
(CONSTRAINT): Define without conditions.
(init_cp_pragma): Use c_register_pragma.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60740
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 12:00:11 +0000 (12:00 +0000)]
* .cvsignore: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60739
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 11:58:58 +0000 (11:58 +0000)]
* call.c, class.c, cp-lang.c, cp-tree.h, cvt.c, dump.c, error.c,
except.c, expr.c friend.c, g++spec.c, init.c, lang-options.h,
lang-specs.h, lex.c, mangle.c, method.c, optimize.c, parser.c,
pt.c, ptree.c, repo.c, rtti.c, search.c, semantics.c, tree.c,
typeck.c, typeck2.c: Replace "GNU CC" with "GCC" in the
copyright header.
* lex.h: parse.y is dead, so don't mention it. Also replace the
copyright header with the default GNU copyright header.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60738
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 1 Jan 2003 08:17:19 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60737
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 1 Jan 2003 07:43:35 +0000 (07:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60730
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 1 Jan 2003 03:16:16 +0000 (03:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60729
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:49:36 +0000 (00:49 +0000)]
* g++.dg/parse/parse4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60728
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:43:53 +0000 (00:43 +0000)]
* g++.dg/parse/parse3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60727
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:38:07 +0000 (00:38 +0000)]
* g++.dg/parse/parse2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60726
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:27:14 +0000 (00:27 +0000)]
* g++.dg/template/friend11.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60725
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:14:57 +0000 (00:14 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60724
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 1 Jan 2003 00:13:48 +0000 (00:13 +0000)]
* g++.dg/parse/parse1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60723
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 31 Dec 2002 22:50:10 +0000 (22:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60722
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Tue, 31 Dec 2002 22:11:33 +0000 (22:11 +0000)]
* .cvsignore: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60720
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 31 Dec 2002 21:06:43 +0000 (21:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60719
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 31 Dec 2002 20:28:27 +0000 (20:28 +0000)]
* parser.c (cp_parser_dependent_type_p): Fix thinko.
* g++.dg/init/array9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60718
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 31 Dec 2002 20:10:53 +0000 (20:10 +0000)]
* Makefile.in: Rebuilt.
* Makefile.def (target_modules) [libffi]: Allow installation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60717
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 31 Dec 2002 20:00:44 +0000 (20:00 +0000)]
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60711
138bc75d-0d04-0410-961f-
82ee72b054a4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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