Commit Graph

46837 Commits

Author SHA1 Message Date
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
Kazu Hirata
59d7c857d2 * config/h8300/h8300.h: Fix comment typos.
From-SVN: r60683
2002-12-31 09:07:36 +00:00
GCC Administrator
81ea8a5d3b Daily bump.
From-SVN: r60682
2002-12-31 08:17:44 +00:00
Alexandre Oliva
c512091192 Add missing changelog entry
From-SVN: r60675
2002-12-31 03:30:48 +00:00
Daniel Jacobowitz
1b414d319e * configure: Regenerated.
From-SVN: r60674
2002-12-31 03:13:38 +00:00
Daniel Jacobowitz
6c1b8d0a73 * configure.in (baseargs): Don't remove first configure argument.
From-SVN: r60673
2002-12-31 03:12:53 +00:00
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