Commit Graph

46834 Commits

Author SHA1 Message Date
Nathanael Nerode
faa75e896f g++.dg/lookup/exception1.C: New test.
From-SVN: r60763
2003-01-01 21:03:50 +00:00
Neil Booth
cd2801fb0b darwin-protos.h, [...]: Use struct, and don't conditionally compile on GCC_C_PRAGMA_H.
* config/darwin-protos.h, config/c4x/c4x-protos.h,
	config/cris/cris-protos.h, config/i370/i370-protos.h,
	config/i960/i960-protos.h, config/ia64/ia64-protos.h,
	config/v850/v850-protos.h: Use struct, and don't conditionally
	compile on GCC_C_PRAGMA_H.

From-SVN: r60762
2003-01-01 20:39:12 +00:00
Nathanael Nerode
3d83e33e5f g++.dg/lookup/template1.C: New test.
From-SVN: r60761
2003-01-01 20:36:49 +00:00
Kazu Hirata
378b1b8ecf arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
	* config/h8300/h8300-protos.h: Likewise.
	* config/sh/sh-protos.h: Likewise.

From-SVN: r60760
2003-01-01 20:23:02 +00:00
Kazu Hirata
7106a5bcd6 arm-protos.h: Use struct cpp_reader instead of cpp_reader.
* config/arm/arm-protos.h: Use struct cpp_reader instead of
	cpp_reader.
	* config/h8300/h8300-protos.h: Likewise.
	* config/sh/sh-protos.h: Likewise.

From-SVN: r60759
2003-01-01 20:15:51 +00:00
Nathanael Nerode
a5b9863ae8 g++.dg/parse/namespace2.C: New test.
From-SVN: r60758
2003-01-01 20:00:36 +00:00
Neil Booth
231b51a160 arm.c (arm_pr_long_calls, [...]): Use struct.
* 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.

From-SVN: r60757
2003-01-01 19:39:19 +00:00
Kazu Hirata
0f18b2b080 * config/h8300/h8300.c: Include cpplib.h.
From-SVN: r60754
2003-01-01 16:39:35 +00:00
Nathanael Nerode
894167c5fa g++.dg/parse/parens2.C: New test.
From-SVN: r60753
2003-01-01 16:32:15 +00:00
Neil Booth
35bce286a1 * g++.dg/lookup/scoped4.C: New test.
From-SVN: r60751
2003-01-01 15:58:43 +00:00
Neil Booth
0ba7ab3e31 * g++.dg/parse/parse5.C: New test.
From-SVN: r60750
2003-01-01 15:43:19 +00:00
Andreas Jaeger
16dfd8d12a Make-lang.in ($(srcdir)/f/BUGS): Add include path for gcc-common.texi.
* f/Make-lang.in ($(srcdir)/f/BUGS): Add include path for
	gcc-common.texi.
	($(srcdir)/f/NEWS): Likewise.

From-SVN: r60748
2003-01-01 16:26:07 +01:00
Steven Bosscher
f309ff0a12 Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* 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".

From-SVN: r60747
2003-01-01 15:10:03 +00:00
Nathanael Nerode
64505efc35 * g++.dg/parse/parens1.C: New test.
From-SVN: r60746
2003-01-01 15:03:00 +00:00
Nathanael Nerode
c818e8b86f parens2.C: Removed, turned out to duplicate angle-bracket1.C.
* g++.dg/parse/parens2.C: Removed, turned out to duplicate
	angle-bracket1.C.

From-SVN: r60745
2003-01-01 14:59:07 +00:00
Nathanael Nerode
f06fed4ab1 * g++.dg/parse/parens2.C: New test.
From-SVN: r60744
2003-01-01 14:30:43 +00:00
Nathanael Nerode
c6df507e88 * g++.dg/lookup/scope-operator1.C: New test.
From-SVN: r60743
2003-01-01 12:54:09 +00:00
Steven Bosscher
b959359931 Make-lang.in, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* 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.

From-SVN: r60742
2003-01-01 12:49:14 +00:00
Nathanael Nerode
65ed8728e6 * g++.dg/parse/operator1.C: New test.
From-SVN: r60741
2003-01-01 12:36:31 +00:00
Neil Booth
c58b209a5d c-pragma.c (c_register_pragma): New.
* 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.

From-SVN: r60740
2003-01-01 12:27:02 +00:00
Neil Booth
7347c2c511 * .cvsignore: Remove.
From-SVN: r60739
2003-01-01 12:00:11 +00:00
Steven Bosscher
f5adbb8d5c call.c, [...]: Replace "GNU CC" with "GCC" in the copyright header.
* 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.

From-SVN: r60738
2003-01-01 11:58:58 +00:00
GCC Administrator
81f61566b2 Daily bump.
From-SVN: r60737
2003-01-01 08:17:19 +00:00
Kriang Lerdsuwanakij
a0f1180476 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
2003-01-01 07:43:35 +00:00
Mark Mitchell
eea9800f07 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
2003-01-01 03:16:16 +00:00
Neil Booth
79cc298616 * g++.dg/parse/parse4.C: New test.
From-SVN: r60728
2003-01-01 00:49:36 +00:00
Neil Booth
54ea87dbcc * g++.dg/parse/parse3.C: New test.
From-SVN: r60727
2003-01-01 00:43:53 +00:00
Neil Booth
9b1e4260bd * g++.dg/parse/parse2.C: New test.
From-SVN: r60726
2003-01-01 00:38:07 +00:00
Neil Booth
d441394839 * g++.dg/template/friend11.C: New test.
From-SVN: r60725
2003-01-01 00:27:14 +00:00
Neil Booth
ecc7182c22 *** empty log message ***
From-SVN: r60724
2003-01-01 00:14:57 +00:00
Neil Booth
2010d38458 * g++.dg/parse/parse1.C: New test.
From-SVN: r60723
2003-01-01 00:13:48 +00:00
Tom Tromey
9f17a7afd2 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
2002-12-31 22:50:10 +00:00
Neil Booth
3d1252a94a * .cvsignore: Update.
From-SVN: r60720
2002-12-31 22:11:33 +00:00
Kazu Hirata
bc455f9ce7 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
2002-12-31 21:06:43 +00:00
Mark Mitchell
f1aba0a566 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
2002-12-31 20:28:27 +00:00
Tom Tromey
89a7012aca Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.def (target_modules) [libffi]: Allow installation.

From-SVN: r60717
2002-12-31 20:10:53 +00:00
Janis Johnson
5dc25517f9 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
2002-12-31 20:00:44 +00:00
Nathan Sidwell
3cfabe60d4 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
2002-12-31 19:43:16 +00:00
Tom Tromey
3b41afd944 * doc/install.texi (Testing): Fixed typo.
From-SVN: r60709
2002-12-31 19:16:24 +00:00
Mark Mitchell
92bc132346 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
2002-12-31 18:58:09 +00:00
Mark Mitchell
abda8efeda 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
2002-12-31 18:48:19 +00:00
Kazu Hirata
9e56a932f9 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
2002-12-31 18:31:59 +00:00
Andreas Schwab
3f4f56e27a configure.in: Fix use of $program_transform_name.
* configure.in: Fix use of $program_transform_name.
	* configure: Regenerated.

From-SVN: r60704
2002-12-31 18:01:38 +00:00
Tom Tromey
7d60eb23b7 For PR libgcj/8933:
* include/Makefile.in: Rebuilt.
	* include/Makefile.am (noinst_HEADERS): Renamed from
	include_HEADERS.

From-SVN: r60702
2002-12-31 17:52:25 +00:00
Tom Tromey
35a94bdca8 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
2002-12-31 17:43:47 +00:00
Mark Mitchell
731e8b3886 * c-common.h (pending_lang_change): Declare.
From-SVN: r60699
2002-12-31 17:34:17 +00:00
Jerry Quinn
147d1cd3bb invoke.texi (Optimization Options): Clean up -O flag descriptions.
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
	descriptions.

From-SVN: r60696
2002-12-31 14:59:09 +00:00
Jerry Quinn
fad893da14 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
2002-12-31 14:43:13 +00:00
Gabriel Dos Reis
eddcae5a27 * cp-tree.h (pending_lang_change): Declare.
From-SVN: r60687
2002-12-31 11:58:16 +00:00
Gerald Pfeifer
ec5b5ef169 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
2002-12-31 10:39:27 +00:00