Commit Graph

46779 Commits

Author SHA1 Message Date
DJ Delorie
e2f45c3051 Minor typos
From-SVN: r60672
2002-12-30 21:04:41 -05:00
David Edelsohn
5b8f586593 * config/rs6000/rs6000.h (WIDEST_HARDWARE_FP_SIZE): Define.
From-SVN: r60668
2002-12-30 20:05:21 -05:00
Loren J. Rittle
2f94573a94 Makefile.am: Resolve non-portable use of $<.
* src/Makefile.am: Resolve non-portable use of $<.
	* src/Makefile.in: Rebuilt.

From-SVN: r60666
2002-12-31 00:58:36 +00:00
Mark Mitchell
e5976695d9 parser.c (cp_parser_context_free_list): New variable.
* parser.c (cp_parser_context_free_list): New variable.
	(cp_parser_context_new): Use it.
	(cp_parser_error): Check return code from
	cp_parser_simulate_error.
	(cp_parser_simulate_error): Return a value.
	(cp_parser_id_expression): Optimize common case.
	(cp_parser_class_name): Likewise.
	(cp_parser_class_specifier): Adjust call to
	cp_parser_late_parsing_default_args.
	(cp_parser_lookup_name): Optimize common case.
	(cp_parser_late_parsing_for_member): Adjust call to
	cp_parser_late_parsing_default_args.
	(cp_parser_late_parsing_default_args): Add scope parameter.
	(cp_parser_require): Avoid creating the error message unless it's
	needed.
	(cp_parser_parse_definitely): Place free'd contexts on the free
	list.

From-SVN: r60665
2002-12-31 00:11:47 +00:00
Tom Tromey
9f1cf235ef javaprims.h: Updated.
* gcj/javaprims.h: Updated.
	* scripts/classes.pl (scan): Removed stray semicolon.

From-SVN: r60659
2002-12-30 22:42:20 +00:00
Mark Wielaard
a88c283f0d URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
	if zero or smaller.

From-SVN: r60657
2002-12-30 22:41:10 +00:00
Tom Tromey
582f6e6d63 * doc/install.texi (Testing): Mention Jacks.
From-SVN: r60654
2002-12-30 21:33:42 +00:00
DJ Delorie
121cb775c1 Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.
* Makefile.am (jar.1, grepjar.1): Protect against
texi2pod/pod2man failing.
* Makefile.in: Regenerated.

From-SVN: r60653
2002-12-30 16:32:30 -05:00
DJ Delorie
9a280a6ed2 i* Make-lang.in: Protect against texi2pod/pod2man failing.
From-SVN: r60652
2002-12-30 16:32:07 -05:00
Joseph Myers
f75db6bc00 * doc/gcc.texi, doc/gccint.texi: Update last modification dates.
From-SVN: r60651
2002-12-30 21:29:39 +00:00
Kazu Hirata
2d75548f61 h8300.c (output_logical_op): Use extu.w in more cases.
* config/h8300/h8300.c (output_logical_op): Use extu.w in more
	cases.
	(compute_logical_op_length): Update to reflect the change in
	output_logical_op.
	(compute_logical_op_cc): Likewise.

From-SVN: r60649
2002-12-30 21:08:42 +00:00
Joseph Myers
b351c1d905 * doc/service.texi: Uncomment and update FAQ link.
From-SVN: r60648
2002-12-30 21:07:17 +00:00
Daniel Jacobowitz
b0e0b1f375 * gcc.c-torture/compile/20021230-1.c: New test.
From-SVN: r60645
2002-12-30 20:33:42 +00:00
Mark Mitchell
c838d82f7b * parser.c (cp_parser_declaration_seq_opt): Handle pending_lang_change.
From-SVN: r60644
2002-12-30 20:18:38 +00:00
Mark Mitchell
afd9b9dd9d parse.y: Remove.
* parse.y: Remove.
	* spew.c: Likewise.
	* Make-lang.in (gt-cp-spew.h): Remove.
	* cp-tree.h (do_pending_lang_change): Remove.
	(do_identifier): Change prototype.
	(finish_id_expr): Remove.
	* decl.c (lookup_name_real): Remove yylex variable.
	* decl2.c (build_expr_from_tree): Adjust call to do_identifier.
	* lex.c (init_cpp_parse): Remove.
	(reduce_cmp): Likewise.
	(token_cmp): Likewise.
	(yychar): Likewise.
	(lastiddecl): Likewise.
	(token_count): Likewise.
	(reduce_count): Likewise.
	(yyhook): Likewise.
	(print_parse_statistics): Likewise.
	(do_pending_lang_change): Likewise.
	(do_identifier): Remove parsing parameter.
	* lex.h (lastiddecl): Remove.
	(looking_for_typename): Remove.
	(looking_for_template): Likewise.
	(pending_lang_change): Likewise.
	(yylex): Likewise.
	* semantics.c (finish_id_expr): Remove.

From-SVN: r60642
2002-12-30 19:02:11 +00:00
Joseph Myers
a47a68100f * gcc.pot: Regenerate.
From-SVN: r60641
2002-12-30 19:01:28 +00:00
Andreas Jaeger
47ab0cbb90 * unwind-dw2-fde.h (last_fde): Add unused attribute for obj.
From-SVN: r60640
2002-12-30 19:22:36 +01:00
David Edelsohn
c73aecdfc0 parser.c (cp_parser_parameter_declaration_clause): Treat system header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.
* parser.c (cp_parser_parameter_declaration_clause): Treat system
        header as extern "C" if NO_IMPLICIT_EXTERN_C undefined.

From-SVN: r60639
2002-12-30 13:21:49 -05:00
Nathanael Nerode
b599b13591 config-lang.in, [...]: GCC, not GNU CC.
* config-lang.in, Make-lang.in, operators.def, cp-tree.def:
	GCC, not GNU CC.

From-SVN: r60638
2002-12-30 18:06:39 +00:00
Mark Mitchell
946d5e4529 decl.c (grokdeclarator): Diagnost "extern thread" and "static thread" correctly.
* decl.c (grokdeclarator): Diagnost "extern thread" and "static
	thread" correctly.

From-SVN: r60637
2002-12-30 17:47:15 +00:00
Nathanael Nerode
1c3139456d decl.c, [...]: GCC, not GNU CC.
* decl.c, decl2.c, decl.h:  GCC, not GNU CC.  This is the C++ front
	end, not the C front end.

From-SVN: r60636
2002-12-30 16:25:45 +00:00
Nathan Sidwell
8e268f721e add missing Changelogs
From-SVN: r60635
2002-12-30 16:21:40 +00:00
Phil Edwards
645419c8bc configure.in (GLIBCPP_ENABLE_CXX_FLAGS): Do not pass arguments, let the defaults work.
2002-12-30  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in (GLIBCPP_ENABLE_CXX_FLAGS):  Do not pass arguments,
	let the defaults work.
	* configure:  Regenerate.

From-SVN: r60634
2002-12-30 15:50:52 +00:00
Kazu Hirata
3cc3e1cd36 * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
From-SVN: r60633
2002-12-30 15:35:20 +00:00
Kazu Hirata
a6e8d1139d h8300.c (output_logical_op): Use extu.w if we are clearing the most significant byte.
* config/h8300/h8300.c (output_logical_op): Use extu.w if we
	are clearing the most significant byte.
	(compute_logical_op_length): Update to reflect the change in
	output_logical_op.
	(compute_logical_op_cc): Likewise.

From-SVN: r60632
2002-12-30 15:28:31 +00:00
Phil Edwards
37bc6ca264 acinclude.m4: Remove trailing whitespace.
2002-12-30  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r60631
2002-12-30 14:54:45 +00:00
Nathan Sidwell
07fa487859 cp-tree.h (THUNK_TARGET): New macro.
cp:
	* cp-tree.h (THUNK_TARGET): New macro.
	(THUNK_VIRTUAL_OFFSET): For result thunks it is always a binfo.
	(finish_thunk): Remove offset parms.
	* class.c (find_final_overrider): Look through thunks.
	(get_vcall_index): Use THUNK_TARGET.
	(update_vtable_entry_for_fn): Look through thunks. Set covariant
	fixed offset here. Adjust finish_thunk call.
	(build_vtbl_initializer): Adjust finish_thunk calls.
	* mangle.c (mangle_call_offset): Remove superfluous if.
	(mangle_thunk): Adjust.
	* method.c (make_thunk): Adjust.
	(finish_thunk): Adjust.
	(thunk_adjust): Remove assert.
	(use_thunk): Use THUNK_TARGET
	* dump1.c (cp_dump_tree): Adjust thunk dumping.
testsuite:
	* g++.dg/inherit/covariant5.C: New test.
	* g++.dg/inherit/covariant6.C: New test.
	* g++.dg/inherit/covariant7.C: New test.

From-SVN: r60628
2002-12-30 13:39:48 +00:00
Nathan Sidwell
5a5cccaa4e re PR c++/9054 (segfault on legal code with option -fdump-translation-unit)
PR c++/9054
	* class.c (layout_class_type): Set DECL_CONTEXT of type for base.
	* dump.c (cp_dump_tree, RECORD_TYPE): Deal with type for base types.

From-SVN: r60627
2002-12-30 12:46:13 +00:00
GCC Administrator
8b5d67e116 Daily bump.
From-SVN: r60626
2002-12-30 08:17:30 +00:00
Mark Wielaard
d2427b1d6e Properties (formatForOutput): Don't fall through to default case after escaping character.
* java/util/Properties (formatForOutput): Don't fall through to
	default case after escaping character.

From-SVN: r60618
2002-12-30 07:20:04 +00:00
Mark Wielaard
de2baf30bb StringBuffer.java (getChars): Remove wrong dstOffset check against count.
* java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
        against count.

From-SVN: r60616
2002-12-30 07:16:59 +00:00
Phil Edwards
70e12fb914 std_bitset.h: Better comments.
2002-12-29  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r60614
2002-12-30 03:58:46 +00:00
Kazu Hirata
c85263d297 h8300.md: Give internal names to anonymous insns.
* config/h8300/h8300.md: Give internal names to anonymous
	insns.

From-SVN: r60613
2002-12-29 22:25:39 +00:00
Kazu Hirata
fbcb02cd36 * config/h8300/h8300.md: Reorder some insns.
From-SVN: r60611
2002-12-29 21:33:18 +00:00
Gabriel Dos Reis
b626ec1b39 New test.
From-SVN: r60610
2002-12-29 21:28:25 +00:00
Gabriel Dos Reis
17db6bcc29 new test.
From-SVN: r60609
2002-12-29 21:13:10 +00:00
Gerald Pfeifer
695a8bcfbf gcc_update (files_and_dependencies): Add gcc/intl/plural.c as depending on gcc/intl/plural.y.
* gcc_update (files_and_dependencies): Add gcc/intl/plural.c as
	depending on gcc/intl/plural.y.

From-SVN: r60607
2002-12-29 19:34:53 +00:00
Alexandre Oliva
ade82b16ba configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60606
2002-12-29 19:04:40 +00:00
Kriang Lerdsuwanakij
f2551f3571 re PR c++/2739 (g++ allows accessing private members)
PR c++/2739
	* g++.dg/other/access2.C: New test.

From-SVN: r60605
2002-12-29 17:01:45 +00:00
Gabriel Dos Reis
348d992107 New test.
From-SVN: r60604
2002-12-29 16:42:30 +00:00
Gabriel Dos Reis
5f77bfb5c7 new test.
From-SVN: r60603
2002-12-29 16:12:43 +00:00
Gabriel Dos Reis
53101fd1dd anon-struct.C: No longer fails
* g++.dg/other/anon-struct.C: No longer fails
	* g++.old-deja/g++.brendan/parse4.C: Likewise.
	* g++.old-deja/g++.brendan/parse5.C: Likewise.
	* g++.old-deja/g++.brendan/parse6.C: Likewise.

From-SVN: r60602
2002-12-29 15:13:12 +00:00
Gabriel Dos Reis
848eed9249 Remove traditional C constructs 4/n.
* decl2.c (grok_method_quals, warn_if_unknown_interface,
	grok_x_components, cp_build_parm_decl, build_artificial_parm,
	maybe_retrofit_in_chrg, grokclassfn, grok_array_decl,
	delete_sanity, check_member_template, check_java_method,
	check_classfn, finish_static_data_member_decl, grokfield,
	grokbitfield, grokoptypename, grok_function_init,
	cplus_decl_attributes, constructor_name, defer_fn,
	build_anon_union_vars, finish_anon_union, coerce_new_type,
	coerce_delete_type, comdat_linkage, maybe_make_one_only,
	key_method, import_export_vtable, import_export_class,
	output_vtable_inherit, import_export_decl, import_export_tinfo,
	build_cleanup, get_guard, get_guard_bits, get_guard_cond,
	set_guard, start_objects, finish_objects,
	start_static_storage_duration_function,
	finish_static_storage_duration_function, get_priority_info,
	start_static_initialization_or_destruction,
	finish_static_initialization_or_destruction,
	do_static_initialization, do_static_destruction,
	prune_vars_needing_no_initialization, write_out_vars,
	reparse_decl_as_expr, finish_decl_parsing, namespace_ancestor,
	add_using_namespace, merge_functions, ambiguous_decl,
	lookup_using_namespace, lookup_using_namespace,
	qualified_lookup_using_namespace, set_decl_namespace,
	decl_namespace, current_decl_namespace, push_decl_namespace,
	pop_decl_namespace, push_scope, pop_scope, add_function,
	arg_assoc_namespace, arg_assoc_template_arg, arg_assoc,
	lookup_arg_dependent, do_namespace_alias,
	validate_nonmember_using_decl, do_nonmember_using_decl,
	do_toplevel_using_decl, do_local_using_decl,
	do_class_using_decl, do_using_directive, check_default_args,
	mark_used, handle_class_head): Use C90 prototypings.  Use booleans.
	* parser.c (cp_parser_class_head): Use booleanss.
	* decl.c (walk_globals, walk_vtables): Likewise.
	* cp-tree.h (walk_globals_pred, walk_globals_fn, walk_vtables,
	walk_globals): Change return type from 'int' to 'bool'.
	* rtti.c (init_rtti_processing, build_headof, throw_bad_cast
	throw_bad_typeid, get_tinfo_decl_dynamic, typeid_ok_p,
	build_typeid, tinfo_name, get_tinfo_decl, get_tinfo_ptr,
	get_typeid, ifnonnull, build_dynamic_cast_1, build_dynamic_cast,
	qualifier_flags, tinfo_base_init, generic_initializer,
	ptr_initializer, dfs_class_hint_mark, ptm_initializer,
	dfs_class_hint_unmark, class_hint_flags, class_initializer,
	typeinfo_in_lib_p, get_pseudo_ti_init, create_pseudo_type_info,
	get_pseudo_ti_desc, create_tinfo_types, emit_support_tinfos,
	unemitted_tinfo_decl_p, emit_tinfo_decl): Likewise.
	* repo.c (repo_compile_flags, repo_template_declared,
	repo_template_defined, repo_class_defined, repo_get_id,
	repo_template_used, repo_vtable_used, repo_inline_used,
	repo_tinfo_used, repo_template_instantiated, extract_string,
	open_repo_file, afgets, init_repo, reopen_repo_file_for_write,
	finish_repo): Likewise.
	* ptree.c (cxx_print_decl, cxx_print_type, cxx_print_identifier,
	cxx_print_xnode): Likewise..
	* cp-lang.c (ok_to_generate_alias_set_for_type, cxx_get_alias_set,
	cxx_warn_unused_global_decl, cp_expr_size): Likewise.
	* cxxfilt.c (demangle_it, print_demangler_list, usage,
	standard_symbol_characters, hp_symbol_characters, main, fatal):
	Likewise.
	(strip_underscore):  Change type from 'int' to 'bool'.
	(main): Use boolean constants.

From-SVN: r60601
2002-12-29 14:53:05 +00:00
Kazu Hirata
2873836bd9 h8300-protos.h: Add prototypes for const_int_qi_operand and const_int_hi_operand.
* config/h8300/h8300-protos.h: Add prototypes for
	const_int_qi_operand and const_int_hi_operand.
	* config/h8300/h8300.c (const_int_qi_operand): New.
	(const_int_hi_operand): Likewise.
	* config/h8300/h8300.md (three peepholes): New.

From-SVN: r60600
2002-12-29 14:36:35 +00:00
GCC Administrator
b63d28bf68 Daily bump.
From-SVN: r60597
2002-12-29 08:18:43 +00:00
Jason Merrill
65e7caddc9 change error to warning
From-SVN: r60590
2002-12-29 01:03:42 -05:00
Joseph Myers
bdefb2ab19 cpp.texi, [...]: Use @copying.
gcc:
	* doc/cpp.texi, doc/gcc.texi, doc/gccint.texi, doc/install.texi:
	Use @copying.

gcc/ada:
	* gnat_rm.texi, gnat_ug.texi: Use @copying.
	* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
	gnat_ug_wnt.texi: Regenerate.

gcc/f:
	* g77.texi: Use @copying.

gcc/java:
	* gcj.texi: Use @copying.

gcc/treelang:
	* treelang.texi: Use @copying.

libstdc++-v3:
	* docs/html/17_intro/porting.texi: Use @copying.
	* docs/html/17_intro/porting.html: Regenerate.

From-SVN: r60587
2002-12-28 21:38:55 +00:00
Joseph Myers
a38f87a9d2 configure.in: Increase makeinfo version requirement to 4.[2-9].
* configure.in: Increase makeinfo version requirement to 4.[2-9].
	* configure: Regenerate.
	* doc/install.texi: Update Texinfo version requirement.

From-SVN: r60583
2002-12-28 20:51:36 +00:00
Alexandre Oliva
903de29523 configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60582
2002-12-28 17:57:14 +00:00
Alexandre Oliva
5888b7f20e acx.m4: Name cache variables properly.
* acx.m4: Name cache variables properly.
(NCN_STRICT_CHECK_TOOL): If program is not found and
value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2,
depending on whether build != host or not.
(NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix.

From-SVN: r60581
2002-12-28 17:57:00 +00:00