Commit Graph

39027 Commits

Author SHA1 Message Date
Zack Weinberg 52acbdcba9 rs6000.h (RETURN_IN_MEMORY): Cast result of int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
* rs6000.h (RETURN_IN_MEMORY): Cast result of
	int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.

From-SVN: r47554
2001-12-03 18:47:44 +00:00
Jeff Law 97d521024f mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant.
* mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
        bit twiddling constant.

From-SVN: r47552
2001-12-03 09:16:35 -07:00
Jan Hubicka 9cd56be1b9 gcse.c (delete_null_pointer_checks_1): Do not use delelete_list; call purge_dead_edges after removing.
* gcse.c (delete_null_pointer_checks_1): Do not use delelete_list;
	call purge_dead_edges after removing.
	(delete_null_pointer_checks): Do not handle delete_list.

	* cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
	(count_basic_blocks): ... here.
	(find_basic_blocks, find_bb_boundaries): Cleanup.

	* stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
	overflow for types greater then 2 * HOST_WIDE_INT.

	* reload.c (find_reloads): Update the duplicates after swapingg.

From-SVN: r47551
2001-12-03 15:22:47 +00:00
Jakub Jelinek 63658a9aaa * gcc.dg/20011130-1.c: New test.
From-SVN: r47550
2001-12-03 15:23:01 +01:00
Jan Hubicka 5e2ce672f4 * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
From-SVN: r47548
2001-12-03 12:54:59 +00:00
Mumit Khan a5d7c4a3db re PR c++/3394 (ICE in tree_low_cst, at tree.c:3462)
2001-12-03  Mumit Khan  <khan@nanotech.wisc.edu>

        PR c++/3394
        *  decl.c (xref_basetypes): Handle attributes between
          'class' and name.

From-SVN: r47547
2001-12-03 12:50:36 +00:00
Nathan Sidwell f1880e134c re PR c++/3381 (explicit template instantations fail with absolutely qualified names)
cp:
	PR g++/3381
	* parse.y (named_complex_class_head_sans_basetype): Add new
	reduction.
	* Make-lang.in (parse.c): Adjust expected conflict count.
testsuite:
	* g++.dg/other/scope1.C: New test.
	* g++.dg/template/explicit-instantiation.C: Remove XFAIL

From-SVN: r47546
2001-12-03 12:39:49 +00:00
GCC Administrator a2ad3e94f5 Daily bump.
From-SVN: r47545
2001-12-03 08:17:03 +00:00
Jason Merrill ff6685064f class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our virtual bases.
* class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the
        immediate binfos for our virtual bases.

From-SVN: r47543
2001-12-02 21:43:18 -05:00
Zack Weinberg 6fa3f289e4 rs6000.h (MASK_ALTIVEC_ABI, [...]): Delete.
* config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
	MASK_LONG_DOUBLE_128): Delete.
	(MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
	TARGET_AIX_STRUCT_RET): New flags.
	(TARGET_SWITCHES): Remove entries for -mlong-double-128 and
	-mlong-double-64.  Add entries for -m(no-)aix-struct-return
	and -m(no-)svr4-struct-return.
	(TARGET_OPTIONS): Add entry for -mlong-double-.
	(rs6000_long_double_size_string, rs6000_long_double_type_size,
	rs6000_altivec_abi): Declare.
	(TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
	LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
	(RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
	structures of size <= 8 bytes in registers.
	(PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.

	* config/rs6000/rs6000.c (rs6000_long_double_size_string,
	rs6000_long_double_type_size, rs6000_altivec_abi): New
	globals.
	(rs6000_override_options): Set rs6000_long_double_type_size
	from rs6000_long_double_size_string, if nonzero.  Set the
	MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
	not already set.
	(rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
	target_flags bit.
	(rs6000_init_builtins): This hook now takes no arguments.

	* config/rs6000/netbsd.h, config/rs6000/linux.h: Define
	DRAFT_V4_STRUCT_RET to 1.

From-SVN: r47541
2001-12-03 00:49:41 +00:00
Phil Edwards 50b30e0bf3 howto.html: Update list of implemented DRs.
2001-12-02  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/ext/howto.html:  Update list of implemented DRs.
	* docs/html/ext/lwg-active.html:  Import R20 from upstream.
	* docs/html/ext/lwg-defects.html:  Import R20 from upstream.

From-SVN: r47540
2001-12-03 00:33:57 +00:00
Joseph Myers 39bc99c265 c-typeck.c (really_start_incremental_init, [...]): Avoid constructor_max_index being other than an INTEGER_CST.
* c-typeck.c (really_start_incremental_init, push_init_level):
	Avoid constructor_max_index being other than an INTEGER_CST.

testsuite:
	* gcc.dg/vla-init-1.c: New test.

From-SVN: r47539
2001-12-03 00:09:34 +00:00
David Edelsohn 671f5733ff xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
* config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
        unsigned.
        (ASM_GENERATE_INTERNAL_LABEL): Same.
        (UNIQUE_SECTION): Fix typo.

From-SVN: r47538
2001-12-02 17:54:52 -05:00
Richard Kenner 487c9b1a47 Fix copyright noticed.
From-SVN: r47537
2001-12-02 17:19:02 -05:00
Ben Elliston 03777dd7fc * MAINTAINERS: Update mail address for config.* patches.
From-SVN: r47536
2001-12-03 08:14:23 +11:00
Richard Henderson 385d4094a4 * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
From-SVN: r47535
2001-12-02 11:18:22 -08:00
Richard Henderson 998d7deb14 rtl.h (mem_attrs): Rename decl to expr; adjust all users.
* rtl.h (mem_attrs): Rename decl to expr; adjust all users.
        (MEM_EXPR): Rename from MEM_DECL; adjust all users.
        * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
        * expr.h, final.c, reload1.c: Adjust users.

        * alias.c (nonoverlapping_component_refs_p): New.
        (decl_for_component_ref, adjust_offset_for_component_ref): New.
        (nonoverlapping_memrefs_p): Use them.
        * emit-rtl.c (component_ref_for_mem_expr): New.
        (set_mem_attributes): Use it.
        (set_mem_offset): New.
        * expr.c (expand_assignment): Call set_mem_attributes for
        inner references; adjust the memory offset as needed.
        * print-rtl.c (print_mem_expr): New.
        (print_rtx): Use it.

From-SVN: r47534
2001-12-02 11:04:23 -08:00
Douglas B Rupp 3d55d21291 * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
From-SVN: r47533
2001-12-02 09:47:45 -05:00
Douglas B Rupp 7a0c8d7108 vms.h (VMS_DEBUGGING_INFO): New macro.
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
	(PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
	(ASM_SPEC): Don't redefine.
	(OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
	* config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
	* config/alpha/vms-dwarf2.asm: New file.
	* Makefile.in (OBJS): Add vmsdbgout.c and its rule.
	* c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
	* debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
	(vmsdbgout_after_prologue): New declaration.
	* defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
	* dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
	* dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
	(dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
	(dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
	(add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
	* final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
	Test VMS_DEBUGGING_INFO.
	(final_end_function): Test for VMS_AND_DWARF2_DEBUG.
	(final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
	* flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
	* toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
	VMS_AND_DWARF2_DEBUG.
	(rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
	(decode_g_option): Add "vms" to debug_type_names.
	(process_options): Set vmsdbg_debug_hooks if -gvms.
	(lang_independent_init): Emit line number for VMS unless -g0.
	* tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
	* vmsdbg.h, vmsdbgout.c: New files.

From-SVN: r47532
2001-12-02 09:38:07 -05:00
Toon Moene e773246d9c 2001-12-02 Toon Moene <toon@moene.indiv.nluug.nl>
* Fix typos in ChangeLog.

From-SVN: r47531
2001-12-02 14:19:02 +00:00
Richard Kenner fb67cb9fb3 * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
From-SVN: r47530
2001-12-02 09:09:59 -05:00
Toon Moene f813aee742 re PR fortran/4885 (BACKSPACE example that doesn't work as of gcc/g77-3.0.x)
2001-01-02  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR fortran/4885
	* endfile.c (t_runc): After ftruncate. seek to end-of-file.

From-SVN: r47529
2001-12-02 14:00:56 +00:00
Kaveh R. Ghazi 710af8993d cfgrtl.c (purge_all_dead_edges): Initialize variable.
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
	* dwarf2out.c (is_cxx): Prototype.
	* local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
	warning.
	* objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.

From-SVN: r47528
2001-12-02 13:43:10 +00:00
Richard Kenner a1f04b2e51 * libgcc2.c (__bb_exit_func): Fix line wrap problems.
From-SVN: r47527
2001-12-02 07:19:01 -05:00
Bryce McKinlay 7e5f4beeca Fix ChangeLog entry.
From-SVN: r47526
2001-12-02 11:05:57 +00:00
Tang Ching-Hui b736dee607 re PR java/3096 (GCJ does not increment)
2001-12-02  Tang Ching-Hui  <nicholas@cs.nthu.edu.tw>
	    Alexandre Petit-Bianco  <apbianco@redhat.com>

	* expr.c: call save_expr on array for correct evaluation order,
	modified comment, fixed indentation.
	* parse.y: (patch_assignment): Correctly extract the array base
	from the tree generate by build_java_arrayaccess, added comments.
	(patch_array_ref): Remove SAVE_EXPR on ARRAY_REF.
	Fixes PR java/3096, PR java/3803, PR java/3965.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>

From-SVN: r47525
2001-12-02 10:44:54 +00:00
Geoffrey Keating 41543739cd In gcc/:
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
	* config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
	rather than simplify_subreg.  Check for volatile-ness.  Check that
	we're not splitting one slow operation into two slow operations.
In gcc/testsuite/:
	* gcc.c-torture/compile/structs.c: New testcase from GDB.

From-SVN: r47524
2001-12-02 08:29:23 +00:00
GCC Administrator e42a7c94a2 Daily bump.
From-SVN: r47522
2001-12-02 08:16:12 +00:00
David Edelsohn 931db8d24f emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting.
* emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
        before shifting.

From-SVN: r47521
2001-12-02 01:06:18 -05:00
Bryce McKinlay c4d7a90e8a Makefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compilation fails.
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
	don't get deleted if compilation fails.
	* Makefile.in: Rebuilt.

From-SVN: r47520
2001-12-02 04:29:16 +00:00
Neil Booth 2e1b463b4d * objc-act.c: Partially reverse mistaken commit.
From-SVN: r47519
2001-12-02 00:10:14 +00:00
Neil Booth 1f978f5f7e c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading
	capital from diagnostics.
	* c-lex.c (cb_file_change): Similarly.
	* c-parse.in : Similarly.
	* cfgrtl.c (verify_flow_info): Similarly.
	* collect2.c: Similarly.
	* cppfiles.c (find_include_file): Similarly.
	* cppinit.c (cpp_handle_option): Similarly.
	* cpplex.c (cpp_spell_token): Similarly.
	* cppmain.c (do_preprocessing): Similarly.
	* gcc.c (translate_options, process_command, do_spec1,
	main, pfatal_execute): Similarly.
	* genattr.c (main): Similarly.
	* genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
	write_test_expr, main): Similarly.
	* gencodes.c (main): Similarly.
	* genconfig.c (main): Similarly.
	* genconstants.c (main): Similarly.
	* genemit.c (main): Similarly.
	* genextract.c (main): Similarly.
	* genflags.c (main): Similarly.
	* genopinit.c (main): Similarly.
	* genoutput.c (process_template, main): Similarly.
	* genpeep.c (main): Similarly.
	* genrecog.c (main): Similarly.
	* gensupport.c (is_predicable, identify_predicable_attribute,
	alter_predicate_for_insn, init_md_reader_args, main): Similarly.
	* ggc-page.c (alloc_anon): Similarly.
	* mips-tfile.c (add_string, add_procedure, add_file, read_line,
	parse_begin, parse_bend, parse_def, parse_end, parse_file,
	parse_stabs_common, parse_stabs, write_varray, write_object,
	read_seek, copy_object, main, error): Similarly.
	* profile.c (compute_branch_probabilities): Similarly.
	* reg-stack.c (check_asm_stack_operands): Similarly.
	* reload.c (find_reloads): Similarly.
	* reload1.c (spill_failure, failed_reload): Similarly.
	* rtl-error.c (_fatal_insn_not_found): Similarly.
	* toplev.c (read_integral_parameter, crash_signal,
	decode_f_option, set_target_switch, parse_options_and_default_flags)
	: Similarly.
	* tradcif.y (parse_number, yylex): Similarly.
	* tradcpp.c (main, fancy_abort): Similarly.
	* tree.c (tree_check_failed): Similarly.
	* varray.c (varray_check_failed): Similarly.
	* xcoffout.c (xcoff_output_standard_types): Similarly.
cp:
	* call.c (build_java_interface_fn_ref): Similarly.
	* except.c (is_admissible_throw_operand): Similarly.
	* init.c (build_java_class_ref): Similarly.
	* xref.c (open_xref_file): Similarly.
objc:
	* objc-act.c (get_object_ref, lookup_and_install_protocols,
	build_objc_string_object, objc_declare_alias, build_ivar_chain,
	finish_message_expr, build_protocol_expr, is_public,
	start_class): Similarly.
testsuite:
	* objc.dg/alias.m: Update.
	* objc.dg/class-1.m: Update.
	* objc.dg/const-str-1.m: Update.
	* objc.dg/fwd-proto-1.m: Update.
	* objc.dg/id-1.m: Update.
	* objc.dg/super-class-1.m: Update.

From-SVN: r47518
2001-12-02 00:04:36 +00:00
Neil Booth 357351e5a7 c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
	trailing period from diagnostics.
	* c-lex.c (cb_file_change): Similarly.
	* cppmacro.c (check_trad_stringification): Similarly.
	* gcc.c (do_spec_1): Similarly.
	* genattr.c (main): Similarly.
	* genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
	* gencodes.c (main): Similarly.
	* genconfig.c (main): Similarly.
	* genconstants.c (main): Similarly.
	* genemit.c (main): Similarly.
	* genextract.c (main): Similarly.
	* genopinit.c (main): Similarly.
	* genoutput.c (main): Similarly.
	* genpeep.c (main): Similarly.
	* genrecog.c (main): Similarly.
	* mips-tfile.c (add_file, error): Similarly.
	* profile.c (init_branch_prob): Similarly.
	* reload1.c (spill_failure): Similarly.
	* stmt.c (parse_output_constraint): Similarly.
	* varasm.c (assemble_variable): Similarly.
cp:
	* class.c (finish_struct): Similarly.
	* decl.c (check_tag_decl): Similarly.
	* lex.c (cxx_set_yydebug): Similarly.
	* typeck2.c (friendly_abort): Similarly.
java:
	* expr.c (expand_byte_code): Similarly.
	* jcf-parse.c (load_class, jcf_parse): Similarly.
	* jcf-write.c (generate_classfile): Similarly.
	* lex.c (java_lex): Similarly.

From-SVN: r47517
2001-12-01 18:42:49 +00:00
Kaveh R. Ghazi 2203610302 m68k.c (init_FPA_table): Provide static prototype.
* m68k.c (init_FPA_table): Provide static prototype.
	* mips/abi64.h (mips_function_value): Move prototype to ...
	* mips-protos.h (mips_function_value): ... here.
	* mips.c: Include halfpic.h.
	* output.h (rdata_section): Prototype.

From-SVN: r47516
2001-12-01 17:40:43 +00:00
Kaveh R. Ghazi ede75ee868 h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
	* m88k.c (m88k_svr3_asm_out_constructor,
	m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
	!OBJECT_FORMAT_ELF.
	* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
	* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
	* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.

From-SVN: r47515
2001-12-01 17:27:11 +00:00
Geoffrey Keating 6ac7bf2c9e rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate...
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
	LO_SUM addresses less than word size are not legitimate,
	because they lead to invalid SUBREGs.
	* config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.

From-SVN: r47514
2001-12-01 17:04:18 +00:00
Olivier Hainque a22455dfa1 unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges.
2001-12-01  Olivier Hainque <hainque@act-europe.fr>

	* unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
	while scanning for multiple back edges.

From-SVN: r47510
2001-12-01 12:04:16 +00:00
Franz Sirl 8a155ecc2a ppc-asm.h (JUMP_TARGET): New macro.
2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
	* config/rs6000/tramp.asm: Use it.

From-SVN: r47509
2001-12-01 08:34:13 +00:00
GCC Administrator 837ce4797c Daily bump.
From-SVN: r47507
2001-12-01 08:17:49 +00:00
Zack Weinberg cfc45fb499 gencheck.c, [...]: Don't define xmalloc.
* gencheck.c, gengenrtl.c: Don't define xmalloc.
	* gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
	xmalloc.
	* f/fini.c: Use xmalloc.

From-SVN: r47506
2001-12-01 08:16:25 +00:00
Benjamin Kosnik af46cdde20 exception (bad_exception::~bad_exception()): Remove declaration.
2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3150
	DR/266
	* libsupc++/exception (bad_exception::~bad_exception()): Remove
	declaration.
	* libsupc++/new (bad_alloc::~bad_alloc()): Remove.
	* libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
	(bad_typeid::~bad_typeid()): Remove.
	* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
	(bad_typeid::~bad_typeid()): Same.
	* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
	* libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.

	* include/bits/std_iomanip.h: Tweak.

From-SVN: r47505
2001-12-01 04:56:03 +00:00
John David Anglin 6b5ffd4e3e * pa.c (output_ascii): Cast `p' to unsigned char.
From-SVN: r47504
2001-12-01 02:19:02 +00:00
Graham Stott 58d07d8f3e Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.
2001-12-01  Graham Stott  <grahams@redhat.com>

	* Makefile.in (misc.o): Add missing $(srcdir) prefix
	and add optabs.h dependency.

	* misc.c: Include optabs.h
	(gnat_tree_code_type): Make static and const.
	(gnat_tree_code_length): Likewise.
	(gnat_tree_code_name): Likewise.
	(update_setjmp_buf): Obtain operands mode from insn_data.

From-SVN: r47503
2001-12-01 02:11:25 +00:00
Daniel Berlin f18c054f03 rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf...
2001-11-30  Daniel Berlin  <dan@cgsoftware.com>

	* config/rs6000/rs6000.c (altivec_expand_builtin): add
	ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
	*_16qi,_8hi, rename existing V4SI ones to *_4si.
	(altivec_init_builtins): Ditto.
	(bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.

	* config/rs6000/rs6000.md: Add attribute types vecsimple,
	veccomplex, vecfloat, and vecperm, for altivec instructions.
	Modify altivec patterns to use approriate attribute type.
	Modify altivec patterns to match RTL operations where approriate
	(IE no unspec where we can avoid it).
	Add vector unit scheduling for ppc7450.
	Rename patterns to what they are where approriate
	(altivec_vaddfp->addv4sf3, etc)

	* config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
	Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.

	* config/rs6000/sysv4.h: Add -mcpu=7450.

	* testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
	_builtin_altivec_ld_interal function.

From-SVN: r47502
2001-12-01 01:59:02 +00:00
Kaveh R. Ghazi 6af8c74091 configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday.
* configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
	strchr, strrchr, isascii, gettimeofday.
	* config.in, configure: Regenerate.

f:
	* Make-lang.in: Delete references to proj.[co], proj-h.[co].
	* proj.c: Delete file.

From-SVN: r47501
2001-12-01 01:57:31 +00:00
Zoltan Hidvegi d2384b42b7 * unroll.c (unroll_loop): Correct special exit cases.
From-SVN: r47499
2001-11-30 18:27:52 -05:00
Stephane Carrez 38875aba47 sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only.
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
	accept DFmode and DImode only.

From-SVN: r47497
2001-11-30 23:47:54 +01:00
Aldy Hernandez 7b094d6e80 rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
2001-11-30  Aldy Hernandez  <aldyh@redhat.com>

	* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
        (STACK_DYNAMIC_OFFSET): Same.

From-SVN: r47495
2001-11-30 22:22:24 +00:00
Richard Henderson dd6bdc62bf * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
From-SVN: r47494
2001-11-30 13:53:44 -08:00
Aldy Hernandez 289e96b247 rs6000.h (CALL_REALLY_USED_REGISTERS): New.
2001-11-30  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.h (CALL_REALLY_USED_REGISTERS): New.
        (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
        the values in call_used_registers.

From-SVN: r47493
2001-11-30 21:21:32 +00:00