Commit Graph

47337 Commits

Author SHA1 Message Date
Kaveh R. Ghazi 1faad0fc2c * jcf-io.c (caching_stat): Cast the 3rd arg of scandir to void*.
From-SVN: r61444
2003-01-17 14:27:29 +00:00
Kazu Hirata fbe5a4a607 et-forest.c: Fix comment typos.
* et-forest.c: Fix comment typos.
	* et-forest.h: Likewise.
	* except.c: Likewise.
	* expr.c: Likewise.
	* flags.h: Likewise.
	* flow.c: Likewise.
	* gcc.c: Likewise.
	* gcse.c: Likewise.
	* genattrtab.c: Likewise.
	* genautomata.c: Likewise.
	* gengtype.c: Likewise.
	* genrecog.c: Likewise.
	* global.c: Likewise.
	* gthr-rtems.h: Likewise.

From-SVN: r61443
2003-01-17 14:24:24 +00:00
Kaveh R. Ghazi 095f90933f * i386.c (x86_function_profiler): Fix format specifier.
From-SVN: r61442
2003-01-17 13:44:44 +00:00
Richard Henderson 084087e1f5 * gengtype.c (walk_type): Allow paramN_is.
From-SVN: r61441
2003-01-17 03:36:24 -08:00
Nick Clifton 4a13592ed5 Add missing newline escape.
From-SVN: r61440
2003-01-17 09:43:48 +00:00
GCC Administrator a1d4422910 Daily bump.
From-SVN: r61438
2003-01-17 08:17:36 +00:00
Jakub Jelinek a94a2d4cfb configure.in (baseargs): Avoid using \| in sed regular expressions.
* configure.in (baseargs): Avoid using \| in sed regular
	expressions.
	* configure: Rebuilt.

From-SVN: r61431
2003-01-17 09:02:23 +01:00
Richard Henderson 011936178c * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
From-SVN: r61430
2003-01-16 23:37:13 -08:00
Richard Henderson c292e3750e * g++.dg/tls/init-2.C: Fix error matches for real this time.
From-SVN: r61429
2003-01-16 23:10:22 -08:00
Richard Henderson aab37812b1 pch.exp: Copy test header to the working directory before using it either for...
* g++.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * g++.dg/pch/*.Hs: Rename from gcc.dg/pch/*.H.
        * g++.dg/pch/*.C: Include foo.H, not foo.Hp.

From-SVN: r61428
2003-01-16 23:05:54 -08:00
Richard Henderson bb38bbdfa7 New.
From-SVN: r61427
2003-01-16 23:04:42 -08:00
Richard Henderson f030826a53 alpha.c (alpha_sr_alias_set): Mark GTY.
* config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
        (alpha_next_sequence_number): Likewise.
        (alpha_this_literal_sequence_number): Likewise.
        (alpha_this_gpdisp_sequence_number): Likewise.
        (struct alpha_funcs, alpha_funcs_num): Likewise.
        (struct alpha_links): Fix branch merge error.
        (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.

From-SVN: r61426
2003-01-16 22:45:44 -08:00
Alexandre Oliva e1551d4745 mips.h: Don't use #elif.
* config/mips/mips.h: Don't use #elif.  Reported by Kaveh
R. Ghazi.

From-SVN: r61425
2003-01-17 05:00:23 +00:00
Jason Merrill a48cccead8 re PR c++/8564 (ICE in find_function_data, at function.c:329)
PR c++/8564
        * init.c (build_vec_init): Re-add maxindex parm.
        (perform_member_init, build_aggr_init): Pass it.
        (build_new_1): Pass it. Use an incomplete array type for full_type.
        * typeck.c (build_modify_expr): Pass it.
        * cp-tree.h: Adjust.

From-SVN: r61422
2003-01-16 22:43:52 -05:00
Kazu Hirata 3d042e770b ifcvt.c: Fix comment typos.
* ifcvt.c: Fix comment typos.
	* lcm.c: Likewise.
	* libgcc2.c: Likewise.
	* local-alloc.c: Likewise.
	* loop.c: Likewise.
	* predict.c: Likewise.
	* ra-build.c: Likewise.
	* ra.c: Likewise.
	* ra-colorize.c: Likewise.
	* ra.h: Likewise.
	* ra-rewrite.c: Likewise.
	* regmove.c: Likewise.
	* reload.h: Likewise.
	* rtlanal.c: Likewise.
	* toplev.c: Likewise.
	* tree.h: Likewise.
	* unwind-dw2-fde-glibc.c: Likewise.
	* vmsdbgout.c: Likewise.

From-SVN: r61421
2003-01-17 03:28:11 +00:00
Bruce Korb fd2190ca49 fixincl.sh has been editable for several years now...
From-SVN: r61420
2003-01-17 02:59:18 +00:00
Richard Henderson 50c620d648 pch.exp: Copy test header to the working directory before using it either for...
* gcc.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * gcc.dg/pch/*.hs: Rename from gcc.dg/pch/*.h.
        * gcc.dg/pch/*.c: Include foo.h, not foo.hp.

From-SVN: r61419
2003-01-16 18:48:09 -08:00
Richard Henderson c4274b22b9 dwarf2out.c (struct file_table): Remove.
* dwarf2out.c (struct file_table): Remove.
        (FILE_TABLE_INCREMENT): Remove.
        (file_table): Make a varray; mark for GC.  Update all users.
        (file_table_last_lookup_index): Extract from struct file_table.
        (output_file_names): Fix unsigned compare warnings.
        (add_name_attribute): Remove inline marker.
        (add_comp_dir_attribute): Split out from gen_compile_unit_die.
        (lookup_filename): Don't manage size of file_table.
        (init_file_table): Allocate file_table with GC.
        (dwarf2out_init): Don't record main_input_filename here.
        (dwarf2out_finish): Do it here instead.

From-SVN: r61418
2003-01-16 18:34:04 -08:00
Bruce Korb 19162d0e2b QNX needs a bypass for limits_ifndefs
From-SVN: r61417
2003-01-17 02:08:05 +00:00
Jeffrey D. Oldham ca2ceadd31 * config/locale/generic/messages_members.h
(messages_byname<_CharT>::messages_byname): Use this-> to refer to
	unqualified members of base clasess.

From-SVN: r61416
2003-01-17 01:20:08 +00:00
Kaveh R. Ghazi f981519d5e builtins.c (java_build_function_call_expr): Renamed from build_function_call_expr.
* builtins.c (java_build_function_call_expr): Renamed from
	build_function_call_expr.  All callers changed.

From-SVN: r61415
2003-01-17 00:58:08 +00:00
Kaz Kojima f1e2239f79 sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr instead of rotldi3_mextr.
* config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
        instead of rotldi3_mextr.

From-SVN: r61413
2003-01-17 00:26:53 +00:00
Vladimir Makarov cda1f76561 haifa-sched.c (move_insn): Restore moving all schedule group.
2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>

	* haifa-sched.c (move_insn): Restore moving all schedule group.
	(set_priorities): Restore taking SCHED_GROUP_P into account.

	* sched-deps.c (add_dependence): Restore processing the last group
	insn.
	(remove_dependence, group_leader): Restore the functions.
	(set_sched_group_p): Restore adding dependencies from previous insn
	in the group.
	(compute_forward_dependences): Restore usage of group_leader.

	* sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
	account.

	* sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
	account.
	(can_schedule_ready_p): Ditto.
	(add_branch_dependences): Restore skipping over the group insns.

From-SVN: r61412
2003-01-17 00:00:18 +00:00
Stephane Carrez 200097cc9a m68hc11.c (m68hc11_check_z_replacement): Fix handling 68HC12 pre/post inc/dec side effects.
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
	68HC12 pre/post inc/dec side effects.

From-SVN: r61410
2003-01-16 23:12:39 +01:00
Jeffrey D. Oldham cc23546e32 cp-tree.h (tsubst_copy_and_build): New declaration.
2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>

	* cp-tree.h (tsubst_copy_and_build): New declaration.
	* pt.c (tsubst_copy): Remove 'build_expr_from_tree' from comment.
	(tsubst_expr): Use 'tsubst_copy_and_build'.  Update initial comment.
	(tsubst_copy_and_build): New function.

From-SVN: r61409
2003-01-16 22:06:04 +00:00
Stephane Carrez f411c7397a * config/m68hc11/m68hc11.h (MASK_M6812): Define.
From-SVN: r61407
2003-01-16 22:50:20 +01:00
J"orn Rennecke 08c43ea722 * sh.md (mshflo_w_x): Fix description of operation.
From-SVN: r61406
2003-01-16 21:43:43 +00:00
Mark Wielaard 3afcbc9b34 SocketImpl.java (toString): Don't explicitly call toString() on possible null address.
* java/net/SocketImpl.java (toString): Don't explicitly call
       toString() on possible null address.

From-SVN: r61404
2003-01-16 21:37:56 +00:00
Mark Mitchell 8fbc5ae723 cp-tree.h (lang_type_class): Remove is_partial_instantiation.
* cp-tree.h (lang_type_class): Remove is_partial_instantiation.
	(PARTIAL_INSTANTIATION_P): Remove.
	(IMPLICIT_TYPENAME_P): Likewise.
	(IMPLICIT_TYPENAME_TYPE_DECL_P): Likewise.
	(build_typename_type): Remove declaration.
	(parmlist_is_exprlist): Likewise.
	* decl.c (build_typename_type): Make it static, remove third
	parameter.
	(push_class_binding): Don't do implicit typename stuff.
	(make_typename_type): Likewise.
	(lookup_name_real): Likewise.
	(grokdeclarator): Don't try to convert declarations into
	initializations.  Don't do implicit typename stuff.
	(parmlist_is_exprlist): Remove.
	(xref_basetypes): Simplify.
	* decl2.c (grokfield): Don't try to convert declarations into
	initializations.
	(build_anon_union_vars): Do this while processing templates, too.
	(finish_anon_union): Likewise.
	* error.c (dump_type): Remove implicit typename handling.
	* parser.c (cp_parser_diagnose_invalid_type_name): New method.
	(cp_parser_primary_expression): Correct handling of names not
	found by unqualified name lookup in templates.
	(cp_parser_nested_name_specifier_opt): Avoid checking dependency
	of types when possible.
	(cp_parser_simple_declaration): Complain intelligently about some
	invalid declarations.
	(cp_parser_member_declaration): Likewise.
	(cp_parser_constructor_declarator_p): Don't check when we're in a
	function scope.
	* pt.c (instantiate_class_template): Remove
	PARTIAL_INSTANTIATION_P gunk.
	* search.c (lookup_field_r): Don't build implicit typenames.
	(marked_pushdecls_p): Don't enter dependent base types.
	(unmarked_pushdecls_p): Likewise.
	* semantics.c (begin_class_definition): Remove implicit typename
	stuff.

	* config/locale/gnu/messages_members.h: Use this-> to refer to
	unqualified members of base clasess.
	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
	* include/bits/codecvt.h: Likewise.
	* include/bits/deque.tcc: Likewise.
	* include/bits/fstream.tcc: Likewise.
	* include/bits/istream.tcc: Likewise.
	* include/bits/list.tcc: Likewise.
	* include/bits/locale_facets.h: Likewise.
	* include/bits/ostream.tcc: Likewise.
	* include/bits/sstream.tcc: Likewise.
	* include/bits/stl_bvector.h: Likewise.
	* include/bits/stl_deque.h: Likewise.
	* include/bits/stl_list.h: Likewise.
	* include/bits/stl_tree.h: Likewise.
	* include/bits/stl_vector.h: Likewise.
	* include/bits/vector.tcc: Likewise.
	* include/ext/ropeimpl.h: Likewise.
	* include/ext/stdio_filebuf.h: Likewise.
	* include/ext/stl_rope.h: Likewise.
	* include/std/std_fstream.h: Likewise.
	* include/std/std_sstream.h: Likewise.

Co-Authored-By: Jeffrey Oldham <oldham@codesourcery.com>

From-SVN: r61403
2003-01-16 20:30:50 +00:00
Zack Weinberg 07488f322a rs6000.h: Mention Altivec registers in commentary.
* config/rs6000/rs6000.h: Mention Altivec registers in
	commentary.  Fix typo.

From-SVN: r61401
2003-01-16 18:09:21 +00:00
Nathan Sidwell 712becabc6 re PR c++/9212 (Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc 3.2])
cp:
	PR C++/9212
	* parser.c (cp_parser_direct_declarator): If accepting either
	abstract or named, the name must be an unqualified-id.
testsuite:
	* g++.dg/parse/ambig2.C: New test.

From-SVN: r61399
2003-01-16 17:08:54 +00:00
David Edelsohn 27dc0551a1 rs6000.md (movti_string): Remove clobber.
* config/rs6000/rs6000.md (movti_string): Remove clobber.
        * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
        generate PARALLEL with clobber for TARGET_POWER.

From-SVN: r61398
2003-01-16 11:32:25 -05:00
Jakub Jelinek 73f849244a configure.in (baseargs): Remove all supported forms of --cache-file...
* configure.in (baseargs): Remove all supported forms of
	--cache-file, --srcdir, --host, --build and --target options
	from argument lists.
	* configure: Rebuilt.

From-SVN: r61397
2003-01-16 17:31:49 +01:00
Kaveh R. Ghazi 0334ef47d9 Make-lang.in (f/target.o): Depend on toplev.h.
f:
	* Make-lang.in (f/target.o): Depend on toplev.h.
	* target.c: Include toplev.h.

java:
	* Make-lang.in (java/jcf-parse.o): Depend on $(TM_P_H).
	* jcf-parse.c: Include tm_p.h.

gcc:
	* ra-colorize.c (colorize_one_web): Initialize variable.
	* regmove.c (fixup_match_1): Likewise.
	* reload1.c (reload_as_needed): Likewise.
	* sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.

From-SVN: r61394
2003-01-16 15:58:40 +00:00
Zdenek Dvorak 16f2b86aa8 cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

	* cfgloop.c (flow_loops_find): Fix handling of abnormal edges.

From-SVN: r61393
2003-01-16 15:49:20 +00:00
Kaveh Ghazi c1b50e4978 dbxout.c (lastfile, cwd): Fix `unused' warning.
* dbxout.c (lastfile, cwd): Fix `unused' warning.
	* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
	dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
	is_main_source, file_table, decl_die_table_in_use,
	abbrev_die_table_in_use, line_info_table_in_use,
	separate_line_info_table_in_use, pubname_table_in_use,
	arange_table_in_use, ranges_table_in_use,
	current_function_has_inlines): Likewise.
	* flow.c (life_analysis): Likewise.
	* genemit.c (gen_insn): Likewise.
	* protoize.c (cplus_suffix): Likewise.

From-SVN: r61392
2003-01-16 15:37:57 +00:00
Kaveh Ghazi 93d8c755c1 dbxout.c (lastfile, cwd): Fix `unused' warning.
* dbxout.c (lastfile, cwd): Fix `unused' warning.
	* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
	dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
	is_main_source, file_table, decl_die_table_in_use,
	abbrev_die_table_in_use, line_info_table_in_use,
	separate_line_info_table_in_use, pubname_table_in_use,
	arange_table_in_use, ranges_table_in_use,
	current_function_has_inlines): Likewise.
	* flow.c (life_analysis): Likewise.
	* genemit.c (gen_insn): Likewise.
	* protoize.c (cplus_suffix): Likewise.

From-SVN: r61391
2003-01-16 15:30:20 +00:00
Kaveh R. Ghazi 0c2ca901f1 arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
	* arm.h (ROUND_UP_WORD): Likewise.

From-SVN: r61390
2003-01-16 15:22:54 +00:00
Kaveh R. Ghazi fc55537052 arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning.
* arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
	warning.
	* emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
	init_emit_once): Likewise.
	* flow.c (mark_regs_live_at_end, calculate_global_regs_live):
	Likewise.
	* function.c (assign_stack_temp_for_type): Likewise.
	* loop.c (loop_invariant_p): Likewise.
	* recog.c (push_operand): Likewise.
	* regclass.c (init_reg_sets_1): Likewise.
	* reload.c (update_auto_inc_notes): Likewise.
	* reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
	* stmt.c (expand_asm_operands): Likewise.
	* stor-layout.c (start_record_layout): Likewise.

cp:
	* class.c (layout_virtual_bases): Avoid signed/unsigned warning.

java:
	* jcf-write.c (generate_bytecode_insns): Avoid signed/unsigned
	warning.

From-SVN: r61389
2003-01-16 15:13:33 +00:00
GCC Administrator faca036b47 Daily bump.
From-SVN: r61387
2003-01-16 08:17:35 +00:00
Michael Koch 676f46d083 2003-01-16 Michael Koch <konqueror@gmx.de>
* java/net/MulticastSocket.java
	(setInterface): Reindented.

From-SVN: r61379
2003-01-16 08:01:27 +00:00
Herman A.J. ten Brugge 64510a4ff2 * config/c4x/c4x.md (epilogue): Correct last patch.
From-SVN: r61378
2003-01-16 06:20:27 +00:00
Phil Edwards 25ad7e06c6 basic_string.tcc (_S_string_copy): Unused, remove.
2003-01-15  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/basic_string.tcc (_S_string_copy): Unused, remove.

From-SVN: r61377
2003-01-16 03:11:13 +00:00
Richard Henderson 77480b0bea alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; also check that GP is being used.
* config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
        also check that GP is being used.
        (alpha_find_lo_sum_using_gp): New.
        (alpha_does_function_need_gp): Use get_attr_usegp.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
        as needed.

From-SVN: r61376
2003-01-15 17:50:54 -08:00
Roger Sayle a013431213 gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypass_jumps flags...
* gcse.c (one_cprop_pass): Change function arguments to take both
	cprop_jumps and bypass_jumps flags instead of just alter_jumps.
	(gcse_main): Update calls to one_cprop_pass, disabling bypassing.
	(bypass_jumps): New function to perform separate jump bypassing pass.
	* rtl.h (bypass_jumps): Add function prototype.
	* timevar.def (TV_BYPASS): New timing variable.
	* toplev.c (enum dump_file_index): Add new entry DFI_bypass.
	(dump_file): New entry for the bypass RTL dump file.
	(rest_of_compilation): Insert new jump bypassing optimization
	pass after loop.
	* doc/passes.texi: Document new pass.

From-SVN: r61374
2003-01-16 01:06:33 +00:00
Benjamin Kosnik 6b543e86f4 acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
	GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* testsuite/Makefile.am (all-local): Add conditional rule to
	generate testsuite_wchar_t.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/lib/libstdc++-v3-dg.exp
	(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
	testsuite_wchar_t is not present in the build directory.
	* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
	Remove setulimit bits.
	* testsuite/26_numerics/complex_value.cc: Set to noopts.
	* testsuite/Makefile.am (CLEANFILES): Add.
	* testsuite/Makefile.in: Regenerate.

From-SVN: r61373
2003-01-16 00:50:20 +00:00
John David Anglin 4af6a06372 som.h (SUPPORTS_WEAK, [...]): Define.
* som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
	ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
	* pa.h (TARGET_SOM_SDEF): Define.
	* pa-hpux11.h (TARGET_SOM_SDEF): Define.
	* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
	__hppa__.

From-SVN: r61372
2003-01-16 00:34:45 +00:00
Scott Gilbertson f826d5952c natGC.cc (fillPolygon): New method.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
	* gnu/gcj/xlib/GC.java (fillPolygon): Declare.
	* gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
	translateY arguments.  Implement.
	* gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
	down translation arguments.
	(drawPolyline, drawPolygon): Fix incorrect tests.
	* gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
	translateX and translateY arguments.

From-SVN: r61369
2003-01-15 23:53:49 +00:00
Scott Gilbertson 2af84af57b Makefile.in: Rebuilt.
2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

	* Makefile.in: Rebuilt.
	* Makefile.am (xlib_includes): New macro.
	(INCLUDES): Use it.

From-SVN: r61366
2003-01-15 23:34:14 +00:00
Stephane Carrez 51e13b7194 m68hc11.c (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC11.
* config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
	allocate 4-bytes of locals on 68HC11.
	(expand_epilogue): Likewise.
	(m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.

From-SVN: r61364
2003-01-16 00:30:40 +01:00