Commit Graph

41009 Commits

Author SHA1 Message Date
Alan Matsuoka 37fa124a73 rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look for (const_int 0) in X not just INTVAL.
Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>

	* config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
	  for (const_int 0) in X not just INTVAL.

From-SVN: r49902
2002-02-20 18:19:38 +00:00
Joseph Myers 6e5bb5ad40 * doc/extend.texi: Avoid or reduce overfull hboxes.
From-SVN: r49901
2002-02-20 18:11:53 +00:00
Danny Smith be6efd9f31 2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
* config/os/mingw32/bits/ctype_noninline.h
	(ctype<char>::ctype): Remove default args from parm list.
	* config/os/djgpp/bits/ctype_noninline.h: Same.

From-SVN: r49900
2002-02-20 17:18:00 +00:00
Diego Novillo 420e7dfad9 expmed.c (store_bit_field): Do not store bit fields using SUBREG operations if...
* expmed.c (store_bit_field): Do not store bit fields using SUBREG
	operations if the field does not start at a mode boundary.

From-SVN: r49899
2002-02-20 08:53:13 -05:00
Joel Sherrill 1b7a2af6dd rtems.h, [...]: Use new style of -Asystem= rather than -Asystem().
2001-02-20	Joel Sherrill <joel@OARcorp.com>

	* config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
	config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
	Also done for -Acpu and -Amachine.

From-SVN: r49898
2002-02-20 12:15:06 +00:00
Bryce McKinlay dd071c207a Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
* Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
	* Makefile.in: Rebuilt.

From-SVN: r49895
2002-02-20 08:46:41 +00:00
GCC Administrator 2a785a211d Daily bump.
From-SVN: r49893
2002-02-20 08:16:22 +00:00
Neil Booth 56cd5b954e cppinit.c (init_dependency_output): Take deps output file from -o if none given with -MF.
* cppinit.c (init_dependency_output): Take deps output file
	from -o if none given with -MF.  Suppress normal output.
	* gcc.c (cpp_unique_options): Have -M and -MM imply -E.
	* doc/cpp.texi, doc/invoke.texi: Update.

From-SVN: r49892
2002-02-20 07:24:10 +00:00
Zack Weinberg 042cdf7164 toplev.c (output_quoted_string): Write unprintable characters with octal escapes.
* toplev.c (output_quoted_string): Write unprintable
	characters with octal escapes.

From-SVN: r49891
2002-02-20 05:04:39 +00:00
David Edelsohn c1f1154803 [multiple changes]
2002-02-19  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
        really_call_used[VRSAVE_REGNO] if not Altivec.

2002-02-19  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
        MODE_MASK.
        (constant_pool_expr_1): Fix formatting.
        (rs6000_legitimize_reload_address): Likewise.

From-SVN: r49890
2002-02-19 23:56:34 -05:00
Bryce McKinlay d1cfac5b6e * libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.
From-SVN: r49889
2002-02-20 04:18:54 +00:00
Bryce McKinlay a2139e0c48 libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
* lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
	Don't display expected and actual output for a failed output test.

	* libjava.lang/ArrayStore.java: New file.
	* libjava.lang/ArrayStore.out: New file.
	* libjava.lang/ArrayStore.xfail: New file. xfail-byte-output.
	* libjava.lang/ArrayStore2.java: New file.
	* libjava.lang/ArrayStore2.out: New file.
	* libjava.lang/ArrayStore2.xfail: New file. xfail-source-output.

From-SVN: r49888
2002-02-20 04:14:15 +00:00
Jason Merrill 6ea868b758 ABI change: Mangle `void (A::*)() const' as M1AKFvvE, not MK1AFvvE.
ABI change: Mangle `void (A::*)() const' as
	M1AKFvvE, not MK1AFvvE.
	* mangle.c (write_function_type): Write cv-quals for member
	function type here.
	(write_pointer_to_member_type): Not here.

From-SVN: r49887
2002-02-19 23:09:05 -05:00
Tom Tromey e4e35417f9 re PR libgcj/5696 (natClass.cc run through superclasses of target if they exist while comparing variable types.)
Fix for PR libgcj/5696:
	* verify.cc (is_assignable_from_slow): Never call
	_Jv_IsAssignableFrom.
	(verify_instructions_0): Added new debug statement.
	(state::print): Print information about whether local has
	changed.
	(state::merge): Don't call note_variable when merging locals.
	(state::set_exception): Removed old FIXME comment.

From-SVN: r49886
2002-02-20 03:16:30 +00:00
Richard Kenner c964d90e21 sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx now that we have one.
* config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
	now that we have one.

From-SVN: r49885
2002-02-19 20:21:06 -05:00
Benjamin Kosnik 0d223e3a4e std_iomanip.h: Inline, tweaks.
2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/std_iomanip.h: Inline, tweaks.
	* config/linker-map.gnu: Remove hacks.

	* testsuite/21_strings/capacity.cc: Add explicit instantiations.
	* testsuite/27_io/ios_init.cc: Same.
	* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
	* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.

From-SVN: r49884
2002-02-20 00:58:17 +00:00
Zack Weinberg ae34ac46dc tree.h (struct tree_common): Remove aux.
* tree.h (struct tree_common): Remove aux.  Add unused_0 at
	end of first block of bitfields (which was only seven bits);
	rename dummy to unused_1; remove comment which is no longer true.

From-SVN: r49883
2002-02-20 00:19:33 +00:00
Gaute B Strokkenes 293c28eedb * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
From-SVN: r49881
2002-02-19 22:51:17 +00:00
Phil Blundell 0cb6c58daa Duh, fix PR number in last commit.
From-SVN: r49880
2002-02-19 22:26:38 +00:00
Philip Blundell 7b8781c861 re PR target/5185 ([ARM] Segmentation fault in final.c)
2002-02-19  Philip Blundell  <pb@nexus.co.uk>

	PR 5185
	* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
	if generating PIC.

	PR 5054
	* config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
	arm_is_longcall_p rather than inspecting call-type cookie
	directly.
	(call_value_insn) [TARGET_THUMB]: Likewise.

From-SVN: r49879
2002-02-19 22:23:56 +00:00
Benjamin Kosnik 9b41c37048 linker-map.gnu: Export global vtable, typeinfo, guard variable, and thunk info as per CXXABI docs.
2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Export global vtable, typeinfo, guard
	variable, and thunk info as per CXXABI docs.

From-SVN: r49878
2002-02-19 21:47:05 +00:00
Loren J. Rittle 42ebb17f48 Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2002-02-19  Loren Rittle <ljrittle@acm.org>

	* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
	* include/Makefile.in: Rebuilt.

From-SVN: r49877
2002-02-19 21:37:37 +00:00
Graham Stott 5c46458361 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
From-SVN: r49876
2002-02-19 20:05:28 +00:00
Scott Snyder b1c1a22fb2 demangle-expected: Add test case for infinite loop in demangler.
* testsuite/demangle-expected: Add test case for infinite loop in
demangler.
* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
if do_type() doesn't make any progress --- prevents an infinite
loop.

From-SVN: r49875
2002-02-19 15:02:16 -05:00
David Edelsohn 6d1def5c66 Add (FP_SAVE_INLINE): Delete. to previous entry.
From-SVN: r49874
2002-02-19 14:46:51 -05:00
David Edelsohn 71c061e673 linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
	({STARTFILE,ENDFILE}_LINUX_SPEC): Define.

	* config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
	* config/rs6000/eabi.asm: Remove ABI save restore routines.
	* config/rs6000/t-ppccomm: Build crtsavres.o.
	* config/rs6000/crtsavres.asm: New file.

From-SVN: r49873
2002-02-19 14:40:41 -05:00
Philip Blundell 3a7731fdc1 arm.c (use_return_insn): Don't reject interrupt functions.
2002-02-19  Philip Blundell  <philb@gnu.org>

	* config/arm/arm.c (use_return_insn): Don't reject interrupt
	functions.
	(arm_compute_save_reg_mask): Save LR for interrupt functions too.
	(output_return_instruction): Allow interrupt functions to return with
	ldmfd sp!, {... pc}^.  Use LDR to restore any single register.
	(arm_expand_prologue): Subtract 4 before stacking LR in an
	interrupt function.

From-SVN: r49872
2002-02-19 18:08:10 +00:00
Philip Blundell 14f583b8c3 arm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.
2002-02-19  Philip Blundell  <pb@nexus.co.uk>

	* config/arm/arm.c (arm_encode_call_attribute): Operate on any
	decl, not just FUNCTION_DECL.
	(legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
	(arm_assemble_integer): Likewise.
	* config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
	marked local.

From-SVN: r49871
2002-02-19 18:04:05 +00:00
Matthew Green 4cb7482c3a config.gcc (sparc-*-netbsdelf*): Enable target.
2002-02-19  matthew green  <mrg@eterna.com.au>

* config.gcc (sparc-*-netbsdelf*): Enable target.
(sparc64-*-netbsd*): New target.
* config/sparc/netbsd-elf.h: New file.
* config/sparc/t-netbsd64: New file.

From-SVN: r49870
2002-02-19 17:43:25 +00:00
Gaute B Strokkenes 2df3a718da * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
From-SVN: r49867
2002-02-19 17:27:12 +00:00
Ryan T. Sammartino 77f6c1eb3a invoke.texi: explicitly list the style guidelines that -Weffc++ checks for.
* doc/invoke.texi: explicitly list the style guidelines that
        -Weffc++ checks for.

From-SVN: r49866
2002-02-19 09:05:53 -05:00
Jan Hubicka fd973d5630 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
From-SVN: r49864
2002-02-19 11:39:01 +00:00
GCC Administrator 419a71d37c Daily bump.
From-SVN: r49861
2002-02-19 08:16:52 +00:00
Neil Booth 30518e459c gcc.c (cpp_unique_options): Treat -o as indicating object file only if not -E.
* gcc.c (cpp_unique_options): Treat -o as indicating object file
	only if not -E.  If -E, pass -o through to the preprocessor.

From-SVN: r49860
2002-02-19 07:44:38 +00:00
Kazu Hirata 39ea570448 h8300.h (REGNO_REG_CLASS): Replace a literal register number with an appropriate macro.
* config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
	register number with an appropriate macro.

From-SVN: r49859
2002-02-19 07:36:55 +00:00
Peter Schmid 1c417030f4 collate_byname.cc (test01): Replace size4 with size3 for the string collations of str5.
2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* testsuite/22_locale/collate_byname.cc (test01): Replace size4
          with size3 for the string collations of str5.

From-SVN: r49857
2002-02-19 05:59:09 +00:00
Bryce McKinlay 7355dba75e * doc/rtl.texi (Constants): Close @code tag.
From-SVN: r49855
2002-02-19 05:01:24 +00:00
Aldy Hernandez 91c8aa9ea6 forgot cl entries
From-SVN: r49854
2002-02-19 03:26:19 +00:00
Aldy Hernandez 69ef87e2bc i386.md ("mmx_uavgv8qi3"): Use const_vector.
2002-02-19  Aldy Hernandez  <aldyh@redhat.com>

	* config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
	("mmx_uavgv4hi3"): Same.
	("pmulhrwv4hi3"): Same.

	* tree-inline.c (walk_tree): Handle vectors.

	* c-common.c (constant_expression_warning): Handle vectors.
	(overflow_warning): Same.

	* sched-deps.c (sched_analyze_2): Handle vectors.

	* rtlanal.c (rtx_unstable_p): Handle vectors.
	(rtx_varies_p): Same.
	(count_occurrences): Same.
	(regs_set_between_p): Same.
	(modified_between_p): Same.
	(modified_in_p): Same.
	(volatile_insn_p): Same.
	(volatile_refs_p): Same.
	(side_effects_p): Same.
	(may_trap_p): Same.
	(inequality_comparisons_p): Same.
	(replace_regs): Same.
	(computed_jump_p_1): Same.

	* rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
	argument.
	(inner_mode_array): New.
	(copy_rtx): Handle vectors.
	(copy_most_rtx): Same.
	(rtx_equal_p): Same.
	(get_mode_alignment): Adjust for vectors.

	* resource.c (mark_referenced_resources): Handle vectors.
	(mark_set_resources): Same.

	* reload1.c (eliminate_regs): Handle vectors.
	(elimination_effects): Same.
	(scan_paradoxical_subregs): Same.

	* reload.c (subst_reg_equivs): Handle vectors.

	* regrename.c (scan_rtx): Handle vectors.

	* regclass.c (reg_scan_mark_refs): Handle vectors.

	* recog.c (find_single_use_1): Handle vectors.

	* local-alloc.c (equiv_init_varies_p): Handle vectors.
	(contains_replace_regs): Same.
	(memref_referenced_p): Same.

	* integrate.c (copy_rtx_and_substitute): Handle vectors.
	(subst_constants): Same.

	* genattrtab.c (attr_copy_rtx): Handle vectors.
	(encode_units_mask): Same.
	(clear_struct_flag): Same.
	(count_sub_rtxs): Same.

	* gcse.c (want_to_gcse_p): Handle vectors.
	(oprs_unchanged_p): Same.
	(hash_expr_1): Same.
	(oprs_not_set_p): Same.
	(expr_killed_p): Same.
	(compute_transp): Same.
	(store_ops_ok): Same.

	* function.c (purge_addressof_1): Do not allow paradoxical subregs
	of vectors.
	(fixup_var_refs_1): Same.
	(instantiate_virtual_regs_1): Same.

	* fold-const.c (operand_equal_p): Handle vectors.
	(fold): Same.
	(rtl_expr_nonnegative_p): Same.

	* flow.c (mark_used_regs): Handle vectors.

	* df.c (df_uses_record): Handle vectors.

	* cselib.c (cselib_subst_to_values): Handle vectors.
	(cselib_mem_conflict_p): Same.
	(hash_rtx): Same.

	* cse.c (canon_reg): Handle vectors.
	(fold_rt): Same.
	(cse_process_notes): Same.
	(count_reg_usage): Same.
	(canon_hash): Same.

	* alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.

	* combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.

	* emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
	(gen_rtx): Handle CONST_VECTOR.
	(gen_const_vector_0): New.
	(copy_rtx_if_shared): CONST_VECTORs can be shared.
	(reset_used_flags): Same.
	(copy_insn_1): Same.
	(initializer_constant_valid_p): Handle VECTOR_CST.

	* doc/c-tree.texi (Expression trees): Document VECTOR_CST.

	* doc/rtl.texi (Constants): Document const_vector.
	(CONST0_RTX): Update for vectors.
	(RTL sharing): Same.

	* print-tree.c (print_node): Add case for VECTOR_CST.

	* tree.h (TREE_VECTOR_CST_ELTS): New.
	(struct tree_vector): New.
	(union tree_node): Add vector node.
	(build_vector): Add prototype.

	* tree.def (VECTOR_CST): New.

	* tree.c (build_vector): New.

	* expmed.c (make_tree): Handle CONST_VECTOR.

	* rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
	(CONST_VECTOR_ELT): New.
	(CONST_VECTOR_NUNITS): New.

	* machmode.h (GET_MODE_INNER): New.
	(DEF_MACHMODE): Accept 8th arg.

	* machmode.def: Add 8th argument for vector inner mode.
	Add inner vector modes for vectors.

	* rtl.def (VEC_CONST): Remove.
	(CONST_VECTOR): New.

	* expr.c (clear_storage): Allow vectors.
	(is_zeros_p): Handle VECTOR_CST.

	* varasm.c (output_constant_pool): Handle vectors.
	(rtx_const): Add veclo and vechi fields.
	(kind): Add RTX_VECTOR.
	(decode_rtx_const): Add case for vector.

	* config/rs6000/rs6000-protos.h: Add zero_constant.

	* config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
	constants.  Force easy vector constants into memory.
	(easy_vector_constant): New.
	(emit_easy_vector_constant): New.
	(rs6000_legitimize_reload_address): Do not generate bad reloads on
	darwin.

	* config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
	instruction does.
	("altivec_lvxl"): Same.
	(altivec_lvebx): Same.
	(altivec_lvehx): Same.
	(altivec_lvewx): Same.
	("*movv4si_const0"): New.
	("*movv4sf_const0"): New.
	("*movv8hi_const0"): New.
	("*movv16qi_const0"): New.

From-SVN: r49853
2002-02-19 02:53:41 +00:00
Carlo Wood 336669e7b0 re PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parameters.)
2002-02-18  Carlo Wood  <carlo@gnu.org>

	PR c++/5390
        * cplus-dem.c (demangle_integral_value): Accept multi-digit
        numbers that do not start with an underscore; This is needed
        for integer template parameters. This doesn't break anything
        because multi-digit numbers are never followed by a digit.
        * testsuite/demangle-expected: Corrected all mangled test
        cases with multi-digit template parameters: g++ 2.95.x does
        not generate underscores around these parameters.

From-SVN: r49851
2002-02-18 22:41:45 +00:00
Kazu Hirata d4d6d0ce4c h8300.c (notice_update_cc): Use cc_status.value2.
* config/h8300/h8300.c (notice_update_cc): Use
	cc_status.value2.

From-SVN: r49850
2002-02-18 22:37:04 +00:00
Kazu Hirata 4915d3aa28 h8300.md (divmod patterns): Change the constraints for operands[1] to register_operand.
* config/h8300/h8300.md (divmod patterns): Change the
	constraints for operands[1] to register_operand.

From-SVN: r49849
2002-02-18 22:20:58 +00:00
Kazu Hirata 82be00ee67 h8300-protos.h: Remove the prototype for p_operand.
* config/h8300/h8300-protos.h: Remove the prototype for
	p_operand.
	* config/h8300/h8300.c (p_operand): Remove.
	* config/h8300/h8300.md: Replace p_operand with
	const_int_operand.

From-SVN: r49848
2002-02-18 22:07:42 +00:00
Paolo Carlini 577f406186 locale_facets.tcc (money_put::do_put): For the space field use __fill instead of ' ', uniformly.
2002-02-18  Paolo Carlini  <pcarlini@unitus.it>

	libstdc++/5708
	* include/bits/locale_facets.tcc (money_put::do_put):
	For the space field use __fill instead of ' ', uniformly.
	* testsuite/22_locale/money_put_members_char.cc:
	Add test05 distilled from PR.
	(test01-02-03): Trim some '*' to ' '.
	* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.

From-SVN: r49847
2002-02-18 21:23:26 +00:00
Loren J. Rittle 3fcfe88d19 Makefile.am (thread_builddir): Remove (map all existing uses to target_builddir).
libstdc++/5697
	* include/Makefile.am (thread_builddir): Remove (map all
	existing uses to target_builddir).
	(thread_headers): Rename to...
	(thread_target_headers): ...this.
	(stamp-thread): Remove.
	(stamp-target): Correctly state the position as built.
	Update all dependencies to match the new reality.  Remove all
	dependency calculations on directories.
	* include/Makefile.in: Rebuilt.

From-SVN: r49846
2002-02-18 20:23:56 +00:00
Philip Blundell 1768c26f04 arm.c (arm_compute_save_reg_mask): Fix typo in comment.
2002-02-18 Philip Blundell <pb@nexus.co.uk>

	* config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
	comment.
	(output_return_instruction): Allow use of LDR to unstack
	return addresss even for interrupt handlers or when
	interworking.  If compiling for ARMv5, use interworking-safe
	return instructions by default.  Remove duplicated code and
	lengthy "strcat" sequences.

From-SVN: r49845
2002-02-18 19:37:33 +00:00
Franz Sirl ccd84f51ad sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
2002-02-18  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
	(LINK_EH_SPEC): Define.
	* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.

From-SVN: r49844
2002-02-18 18:46:19 +00:00
Ulrich Weigand 2c153108fd s390.c (s390_emit_prologue): Do not set the frame_related flag for call-clobbered registers.
* config/s390/s390.c (s390_emit_prologue): Do not set the
	frame_related flag for call-clobbered registers.

From-SVN: r49843
2002-02-18 18:17:52 +00:00
Jan Hubicka e95d6b23ae i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
* i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
	(construct_container): Fix handling of SSE operands.
	(ix86_expand_builtin): Fix handling of 64bit pointers.
	(mmx_maskmovq_rex): New pattern.

From-SVN: r49840
2002-02-18 14:09:39 +00:00
Philipp Thomas 605e15f791 es.po, fr.po: Updated to newest version.
2002-02-18  Philipp Thomas  <pthomas@suse.de>

	* es.po, fr.po: Updated to newest version.
	* nl.po: New files.

From-SVN: r49839
2002-02-18 11:20:09 +00:00