1. 04 Feb, 2004 2 commits
  2. 03 Feb, 2004 37 commits
    • alias.c (find_base_term, get_addr): Do not dereference NULL pointer when all… · 40e02b4a
      alias.c (find_base_term, get_addr): Do not dereference NULL pointer when all VALUE's locations has been invalidated.
      
      	* alias.c (find_base_term, get_addr):  Do not dereference NULL
      	pointer when all VALUE's locations has been invalidated.
      	(rtx_equal_for_memref_p): Simplify checking of VALUEs.
      
      From-SVN: r77201
      Jan Hubicka committed
    • Commit for Wolfgang Bangerth: · 1c02f6f2
      	* doc/invoke.texi (x86 options): Fix spelling/wording
      
      From-SVN: r77200
      Wolfgang Bangerth committed
    • 20001228-1.c: Fix for new error message. · e262dfbc
      2004-02-04  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.dg/noncompile/20001228-1.c: Fix for new
      	error message.
      
      From-SVN: r77199
      Paolo Bonzini committed
    • basic_string.h (insert(iterator)): Remove, non-standard and already scheduled for removal. · 129e9210
      2004-02-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/basic_string.h (insert(iterator)): Remove,
      	non-standard and already scheduled for removal.
      
      From-SVN: r77198
      Paolo Carlini committed
    • iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to put the original string in a comment. · 584e5527
      	* config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
      	put the original string in a comment.
      	* config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
      	* config/mips/mips.c (mips_output_ascii): Likewise.
      	* config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.
      
      From-SVN: r77195
      Richard Sandiford committed
    • system.h (GIV_SORT_CRITERION): Poison. · 9b2b3375
      	* system.h (GIV_SORT_CRITERION): Poison.
      	* config/avr/avr.h (GIV_SORT_CRITERION): Remove.
      	* config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.
      
      From-SVN: r77194
      Kazu Hirata committed
    • re PR target/9348 ([HP-UX] error in int to unsigned long multiplication) · 888d65b5
      
      	PR target/9348
      	* expr.c (expand_expr_real) <MULT_EXPR>:  When performing widening
      	multiplies with a multiplication of the wrong signedness, its the
      	signedness of the multiplication that we've performed that needs to
      	be passed to expand_mult_highpart_adjust.  Avoid emitting a nop-move
      	if expand_mult_highpart_adjust places the result in target.
      
      	* gcc.c-torture/execute/multdi-1.c: New test case.
      
      From-SVN: r77192
      Roger Sayle committed
    • re PR c++/13925 (Bug while befriending specializations) · 18f5be99
      	PR c++/13925
      	* decl.c (start_function): Do not call pushdecl for any
      	instantiation or specialization of a primary template.
      
      	PR c++/13925
      	* g++.dg/template/lookup5.C: New test.
      
      From-SVN: r77187
      Mark Mitchell committed
    • re PR c++/13950 ([DR176] lookup of dependent base name) · 4bfb8bba
      	PR c++/13950
      	* parser.c (cp_parser_class_name): Robustify.
      
      	PR c++/13970
      	* parser.c (cp_parser_cache_group): Do not consume the EOF token.
      
      	PR c++/13950
      	* g++.dg/template/lookup4.C: New test.
      
      	PR c++/13970
      	* g++.dg/parse/error14.C: New test.
      
      From-SVN: r77186
      Mark Mitchell committed
    • * config.gcc (sh[234]l): Use little endian fragments. · a8f0f22e
      From-SVN: r77185
      J"orn Rennecke committed
    • re PR c++/14002 (Friend declaration with template-id causes confusion of function arguments) · 3c398f34
      	PR c++/14002
      	* semantics.c (finish_id_expression): Do not return an
      	IDENTIFIER_NODE when lookup finds a PARM_DECL.
      
      	PR c++/14002
      	* g++.dg/parse/template13.C: New test.
      
      From-SVN: r77183
      Mark Mitchell committed
    • stl_iterator_base_funcs.h: Minor formatting and indentation tweaks. · 83042fca
      2004-02-03  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_iterator_base_funcs.h: Minor formatting
      	and indentation tweaks.
      	* include/bits/stl_iterator_base_types.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_tempbuf.h: Likewise.
      
      From-SVN: r77182
      Paolo Carlini committed
    • pdp11-modes.def: Add RESET_FLOAT_FORMAT calls. · e621b588
      * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
      * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
      * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
      encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
      floating point format.
      (pdp11_f_format, pdp11_d_format): New real_format descriptors for
      the above functions.
      (output_move_quad): Output float values in correct target format.
      (legitimate_const_double_p): New function.
      * config/pdp11/pdp11.h: Fix typos.
      (FLOAT_WORDS_BIG_ENDIAN): Add definition.
      (TARGET_FLOAT_FORMAT): Ditto.
      (pdp11_f_format, pdp11_d_format): Add external declarations.
      (MAX_REGS_PER_ADDRESS): Corrected.
      (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
      (PRINT_OPERAND): Output float literals in target format.
      
      From-SVN: r77180
      Paul Koning committed
    • GtkListPeer.java, [...]: Fix handling of alias methods... · b6d3cb37
      2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/awt/peer/gtk/GtkListPeer.java,
      	java/awt/BorderLayout.java, java/awt/CardLayout.java,
      	java/awt/CheckboxGroup.java, java/awt/Choice.java,
      	java/awt/Component.java, java/awt/Container.java,
      	java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
      	java/awt/LayoutManager2.java, java/awt/List.java,
      	java/awt/Menu.java, java/awt/MenuBar.java,
      	java/awt/MenuItem.java, java/awt/Polygon.java,
      	java/awt/Rectangle.java, java/awt/ScrollPane.java,
      	java/awt/Scrollbar.java, java/awt/TextArea.java,
      	java/awt/TextField.java,
      	java/awt/image/renderable/RenderContext.java,
      	javax/swing/JApplet.java: Fix handling of alias methods, where a
      	method has been deprecated in favour of a new one with the same
      	funtion but a different name.  Put the method implementation in
      	the deprecated method and have the new method call the
      	deprecated one.  Make all other code call the new method.
      
      From-SVN: r77178
      Thomas Fitzsimmons committed
    • re PR c++/13975 (ICE on misplaced visibility specifier.) · 5a98fa7b
      	PR c++/13975
      	* tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
      	TI_PRIVATE.
      	(access_public_node): Redefine.
      	(access_protected_node): Likewise.
      	(access_private_node): Likewise.
      	* tree.c (build_common_tree_nodes): Create access_public_node,
      	access_protected_node, and access_private_node.
      
      	PR c++/13978
      	* pt.c (build_non_dependent_expr): Do not build
      	NON_DEPENDENT_EXPRs for FUNCTION_DECLs or TEMPLATE_DECLs.
      
      	PR c++/13968
      	* semantics.c (finish_id_expression): Do not return an
      	IDENTIFIER_NODE when lookup finds a VAR_DECL.
      
      	PR c++/13975
      	* parser.c (cp_parser_simple_declaration): When skipping to the
      	end of the statement swallow the terminating semicolon.
      
      	PR c++/13978
      	* g++.dg/template/koenig4.C: New test.
      
      	PR c++/13968
      	* g++.dg/template/crash17.C: New test.
      
      	PR c++/13975
      	* g++.dg/parse/error13.C: New test.
      	* g++.old-deja/g++.robertl/eb125.C: Tweak error messages.
      
      From-SVN: r77176
      Mark Mitchell committed
    • ia64.h (MASK_INLINE_INT_DIV_LAT): Change value. · 0263e6bf
      	* config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
      	(MASK_INLINE_INT_DIV_THR): Ditto.
      	(MASK_INLINE_SQRT_LAT): Ditto.
      	(MASK_INLINE_SQRT_THR): Ditto.
      	(MASK_DWARF2_ASM): Ditto.
      	(MASK_EARLY_STOP_BITS): Ditto.
      
      From-SVN: r77175
      Steve Ellcey committed
    • * gnu/java/nio/DatagramChannelImpl.java · 8696d927
      	(inChannelOperation): New field.
      	(isInChannelOperation): New accessor.
      	(setInChannelOperation): New modifier.
      	(receive): Use capacity() - position() of destination
      	buffer instead of remaining(). Set and reset our "in
      	channel operation indicator" before and after delegating
      	the receive to our datagram socket. Removed testing code.
      	Update destination buffer's current position if it is
      	backed by a byte array (hasArray() is true).
      	(send): Set and reset our "in channel operation indicator"
      	before and after delegating the send to our datagram socket.
      	Removed testing code. Update source buffer's current position
      	if it is backed by a byte array (hasArray() is true).
      	* gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
      	Use capacity() - position() of destination buffer instead
      	of remaining().
      	* java/net/DatagramSocket.java (receive): Don't throw an
      	IllegalBlockingModeException if we have a non-blocking
      	channel which initiated this operation.
      	(send): Likewise.
      
      From-SVN: r77173
      Mohan Embar committed
    • backport: re PR target/12476 (ARM/THUMB thunk calls broken) · 9b66ebb1
      	Merge from csl-arm-branch.
      
      	2004-01-30  Paul Brook  <paul@codesourcery.com>
      
      	* aof.h (REGISTER_NAMES): Add vfp reg names
      	(ADDITIONAL_REGISTER_NAMES): Ditto.
      	* aout.h (REGISTER_NAMES): Ditto.
      	(ADDITIONAL_REGISTER_NAMES): Ditto.
      	* arm-protos.h: Update/Add Prototypes.
      	* arm.c (init_fp_table): Rename from init_fpa_table. Update users.
      	Only allow 0.0 for VFP.
      	(fp_consts_inited): Rename from fpa_consts_inited.  Update users.
      	(values_fp): Rename from values_fpa.  Update Users.
      	(arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa.
      	Update users.  Only check valid constants for this hardware.
      	(arm_float_rhs_operand): Rename from fpa_rhs_operand.  Update Users.
      	Only allow consts for FPA.
      	(arm_float_add_operand): Rename from fpa_add_operand.  Update users.
      	Only allow consts for FPA.
      	(use_return_insn): Check for saved VFP regs.
      	(arm_legitimate_address_p): Handle VFP DFmode addressing.
      	(arm_legitimize_address): Ditto.
      	(arm_general_register_operand): New function.
      	(vfp_mem_operand): New function.
      	(vfp_compare_operand): New function.
      	(vfp_secondary_reload_class): New function.
      	(arm_float_compare_operand): New function.
      	(vfp_print_multi): New function.
      	(vfp_output_fstmx): New function.
      	(vfp_emit_fstm): New function.
      	(arm_output_epilogue): Output VPF reg restore code.
      	(arm_expand_prologue): Output VFP reg save code.
      	(arm_print_operand): Add 'P'.
      	(arm_hard_regno_mode_ok): Return modes for VFP regs.
      	(arm_regno_class): Return classes for VFP regs.
      	(arm_compute_initial_elimination_offset): Include space for VFP regs.
      	(arm_get_frame_size): Ditto.
      	* arm.h (FIXED_REGISTERS): Add VFP regs.
      	(CALL_USED_REGISTERS): Ditto.
      	(CONDITIONAL_REGISTER_USAGE): Enable VFP regs.
      	(FIRST_VFP_REGNUM): Define.
      	(LAST_VFP_REGNUM): Define.
      	(IS_VFP_REGNUM): Define.
      	(FIRST_PSEUDO_REGISTER): Include VFP regs.
      	(HARD_REGNO_NREGS): Handle VFP regs.
      	(REG_ALLOC_ORDER): Add VFP regs.
      	(enum reg_class): Add VFP_REGS.
      	(REG_CLASS_NAMES): Ditto.
      	(REG_CLASS_CONTENTS): Ditto.
      	(CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs.
      	(REG_CLASS_FROM_LETTER): Add 'w'.
      	(EXTRA_CONSTRAINT_ARM): Add 'U'.
      	(EXTRA_MEMORY_CONSTRAINT): Define.
      	(SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs.
      	(SECONDARY_INPUT_RELOAD_CLASS): Ditto.
      	(REGISTER_MOVE_COST): Ditto.
      	(PREDICATE_CODES): Add arm_general_register_operand,
      	arm_float_compare_operand and vfp_compare_operand.
      	* arm.md (various): Rename as above.
      	(divsf3): Enable when TARGET_VFP.
      	(divdf3): Ditto.
      	(movdfcc): Ditto.
      	(sqrtsf2): Ditto.
      	(sqrtdf2): Ditto.
      	(arm_movdi): Disable when TARGET_VFP.
      	(arm_movsi_insn): Ditto.
      	(movsi): Only split with general regs.
      	(cmpsf): Use arm_float_compare_operand.
      	(push_fp_multi): Restrict to TARGET_FPA.
      	(vfp.md): Include.
      	* vfp.md: New file.
      	* fpa.md (various): Rename as above.
      	* doc/md.texi: Document ARM w and U constraints.
      
      	2004-01-15  Paul Brook  <paul@codesourcery.com>
      
      	* config.gcc: Add with_fpu.  Allow with-float=softfp.
      	* config/arm/arm.c (arm_override_options): Rename *-s to *s.
      	Break out of loop when we find a float-abi.  Fix typo.
      	* config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu".
      	Set -mfloat-abi=.
      	* doc/install.texi: Document --with-fpu.
      
      	2003-01-14  Paul Brook  <paul@codesourcery.com>
      
      	* config.gcc (with_arch): Add armv6.
      	* config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s.
      	* config/arm/arm.c (arm_overrride_options): Ditto.
      
      	2004-01-08  Richard Earnshaw  <rearnsha@arm.com>
      
      	* arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT.
      	(FL_ARCH6): Renamed from FL_ARCH6J.
      	(arm_arch3m): Renamed from arm_fast_multiply.
      	(arm_arch6): Renamed from arm_arch6j.
      	* arm.h: Update all uses of above.
      	* arm-cores.def: Likewise.
      	* arm.md: Likewise.
      
      	* arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j,
      	not arm6j.  Add entry for arch armv6.
      
      	2004-01-07  Richard Earnshaw  <rearnsha@arm.com>
      
      	* arm.c (arm_emit_extendsi): Delete.
      	* arm-protos.h (arm_emit_extendsi): Delete.
      	* arm.md (zero_extendhisi2): Also handle zero-extension of
      	non-subregs.
      	(zero_extendqisi2, extendhisi2, extendqisi2): Likewise.
      	(thumb_zero_extendhisi2): Only match if not v6.
      	(arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2)
      	(thumb_extendhisi2, arm_extendhisi2, arm_extendqisi)
      	(thumb_extendqisi2): Likewise.
      	(thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns.
      	(thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns.
      	(thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns.
      	(thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns.
      	(arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete.
      	(arm_extendhisi2_reg, arm_extendqisi2_reg): Delete.
      	(arm_zero_extendhisi2addsi): Remove subreg.  Add attributes.
      	(arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise.
      	(arm_extendqisi2addsi): Likewise.
      
      	2003-12-31  Mark Mitchell  <mark@codesourcery.com>
      
      	Revert this change:
      	* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
      	+ REG addressing modes.
      
      	* config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG
      	+ REG addressing modes.
      
      	2003-12-30  Mark Mitchell  <mark@codesourcery.com>
      
      	* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept
      	CONSTANT_P_RTX.
      
      	2003-30-12  Paul Brook  <paul@codesourcery.com>
      
      	* longlong.h: protect arm inlines with !defined (__thumb__)
      
      	2003-30-12  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__.
      
      	2003-12-30  Nathan Sidwell  <nathan@codesourcery.com>
      
      	* builtins.c (expand_builtin_apply_args_1): Fix typo in previous
      	change.
      
      	2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>
      
      	* builtins.c (expand_builtin_apply_args_1): Add pretend args size
      	to the virtual incoming args pointer for downward stacks.
      
      	2003-12-29  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm-cores.def: Add cost function.
      	* config/arm/arm.c (arm_*_rtx_costs): New functions.
      	(arm_rtx_costs): Remove
      	(struct processors): Add rtx_costs field.
      	(all_cores, all_architectures): Ditto.
      	(arm_override_options): Set targetm.rtx_costs.
      	(thumb_rtx_costs): New function.
      	(arm_rtx_costs_1): Remove cases handled elsewhere.
      	* config/arm/arm.h (processor_type): Add COSTS parameter.
      
      	2003-12-29  Nathan Sidwell  <nathan@codesourcery.com>
      
      	* config/arm/arm.md (generic_sched): arm926 has its own scheduler.
      	(arm926ejs.md): Include it.
      	* config/arm/arm926ejs.md: New pipeline description.
      
      	2003-12-24  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.c (arm_arch6j): New variable.
      	(arm_override_options): Set it.
      	(arm_emit_extendsi): New function.
      	* config/arm/arm-protos.h (arm_emit_extendsi): Add prototype.
      	* config/arm/arm.h (arm_arch6j): Declare.
      	* config/arm/arm.md: Add sign/zero extend insns.
      
      	2003-12-23  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.c (all_architectures): Add armv6.
      	* doc/invoke.texi: Document it.
      
      	2003-12-19  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.md: Add load1 and load_byte "type" attrs.  Modify
      	insn patterns to match.
      	* config/arm/arm-generic.md: Ditto.
      	* config/arm/cirrus.md: Ditto.
      	* config/arm/fpa.md: Ditto.
      	* config/amm/iwmmxt.md: Ditto.
      	* config/arm/arm1026ejs.md: Ditto.
      	* config/arm/arm1135jfs.md: Ditto.  Add insn_reservation and bypasses
      	for 11_loadb.
      
      	2003-12-18  Nathan Sidwell  <nathan@codesourcery.com>
      
      	* config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare.
      	* config/arm/arm.c (arm_adjust_cost): Check shift cost for
      	TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG.
      	(arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep,
      	arm_no_early_mul_dep): Correctly deal with conditional execution,
      	parallels and single shift operations.
      	(arm_no_early_alu_shift_value_dep): Define.
      	* arm.md (attr type): Replace 'normal' with 'alu',
      	'alu_shift' and 'alu_shift_reg'.
      	(attr core_cycles): Adjust.
      	(*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3,
      	*shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0,
      	*not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp,
      	*cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0,
      	*arith_shiftsi_compare0_scratch, *sub_shiftsi,
      	*sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch,
      	*if_shift_move, *if_move_shift, *if_shift_shift): Set type
      	attribute appropriately.
      	* config/arm/arm1026ejs.md (alu_op): Adjust.
      	(alu_shift_op, alu_shift_reg_op): New.
      	* config/arm/arm1136.md: Add better bypasses for early
      	registers. Remove load[234] and store[234] bypasses.
      	(11_alu_op): Adjust.
      	(11_alu_shift_op, 11_alu_shift_reg_op): New.
      
      	2003-12-15  Nathan Sidwell  <nathan@codesourcery.com>
      
      	* config/arm/arm-protos.h (arm_no_early_store_addr_dep,
      	arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare.
      	* config/arm/arm.c (arm_no_early_store_addr_dep,
      	arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define.
      	* config/arm/arm1026ejs.md: Add load-store bypass.
      	* config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles.
      	Add bypasses between instructions.
      
      	2003-12-10  Paul Brook  <paul@codesourcery.com>
      
      	* config/arm/arm.c (arm_fpu_model): New variable.
      	(arm_fload_abi): New variable.
      	(target_fpe_name): Rename from target_fp_name.
      	(target_fpu_name): New variable.
      	(arm_is_cirrus): Remove.
      	(fpu_desc): New struct.
      	(all_fpus): Define.
      	(pf_model_for_fpu): Define.
      	(all_loat_abis): Define.
      	(arm_override_options): Set fp arch flags based on -mfpu=
      	and -float-abi=.
      	(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
      	(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
      	(*): Use new TARGET_* flags.
      	* config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove.
      	(TARGET_HARD_FLOAT): No longer implies TARGET_FPA.
      	(TARGET_SOFT_FLOAT): Ditto.
      	(TARGET_SOFT_FLOAT_ABI): New.
      	(TARGET_MAVERICK): Rename from TARGET_CIRRUS.  No longer implies
      	TARGET_HARD_FLOAT.
      	(TARGET_VFP): No longer implies TARGET_HARD_FLOAT.
      	(TARGET_OPTIONS): Add -mfpu=.
      	(FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM.
      	(LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM.
      	(arm_pf_model): Define.
      	(arm_float_abi_type): Define.
      	(fputype): Add FPUTYPE_VFP.  Change SOFT_FPA->NONE
      	* config/arm/arm.md: Use new TARGET_* flags.
      	* config/arm/cirrus.md: Ditto.
      	* config/arm/fpa.md: Ditto.
      	* config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=.
      	* config/arm/semi.h (ASM_SPEC): Ditto.
      	* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp.
      	(FPUTYPE_DEFAULT): Set to VFP.
      	* doc/invoke.texi: Document -mfpu= and -mfloat-abi=.
      
      	2003-11-22  Phil Edwards  <phil@codesourcery.com>
      
      	PR target/12476
      	* config/arm/arm.c (arm_output_mi_thunk):  In Thumb mode, use
      	'bx' instead of 'b' to avoid branch range restrictions.  Output
      	the thunk immediately before the thunked-to function.
      	* config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME):  Do not emit
      	.thumb_func if a thunk is being generated.  Emit .code 16 along
      	with .thumb_func if a thunk is not being generated.
      
      	2003-11-15  Nicolas Pitre <nico@cam.org>
      
      	* config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3,
      	arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns.
      	* config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3.
      	(lshrdi3_iwmmxt): Renamed from lshrdi3.
      	* config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly.
      
      	2003-11-12  Steve Woodford  <scw@wasabisystems.com>
      	    Ian Lance Taylor  <ian@wasabisystems.com>
      
      	* config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new
      	code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__).
      
      	2003-11-05  Phil Edwards  <phil@codesourcery.com>
      
      	* config/arm/arm.md (insn):  Add new V6 instruction names.
      	(generic_sched):  New attr.
      	* config/arm/arm-generic.md:  Use generic_sched here.
      	* config/arm/arm1026ejs.md:  Do not model fetch/issue/decode
      	stages of pipeline.  Adjust latency counts accordingly.
      	* config/arm/arm1136jfs.md:  New file.
      
      	2003-10-28  Mark Mitchell  <mark@codesourcery.com>
      
      	* config/arm/arm.h (processor_type): New enumeration type.
      	(CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S,
      	ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores.
      	(CPP_CPU_ARCH_SPEC): Likewise.
      	* config/arm/arm.c (arm_tune): New variable.
      	(all_cores): Use cores.def.
      	(all_architectures): Add representative processor.
      	(arm_override_options): Restructure way in which tuning
      	information is deduced.
      	* arm.md: Update "insn" and "type" attributes throughout.
      	(insn): New attribute.
      	(type): Compute "mult" from "insn" attribute.  Add load2,
      	load3, load4 alternatives.
      	(arm automaton): Move to arm-generic.md.
      	* config/arm/arm-cores.def: New file.
      	* config/arm/arm-generic.md: Likewise.
      	* config/arm/arm1026ejs.md: Likewise.
      
      From-SVN: r77171
      Paul Brook committed
    • Fix mistaken names in the last commit. · e93f124e
      2004-02-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	Fix mistaken names in the last commit.
      	* gcc.dg/noncompile/20040203-1.cc: Rename to 20040203-1.c
      	* gcc.dg/noncompile/20040203-2.cc: Rename to 20040203-2.c
      	* gcc.dg/noncompile/20040203-3.cc: Rename to 20040203-3.c
      
      From-SVN: r77170
      Paolo Bonzini committed
    • invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options. · 60b85c4c
      	* doc/invoke.texi (SPARC options): Remove -mflat and
      	all -mxxx (xxx:chip) options.
      	* config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete.
      	* config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise.
      	* config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise.
      	* config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise.
      	* config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes.
      	* config/sparc/sparc.c: Likewise.
      	(sparc_output_function_prologue): Remove TARGET_FLAT handling.
      	(sparc_nonflat_function_prologue): Rename into sparc_function_prologue.
      	(sparc_output_function_epilogue): Remove TARGET_FLAT handling.
      	(sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue.
      	(struct sparc_frame_info, current_frame_info, zero_frame_info): Delete.
      	(sparc_flat_must_save_register_p): Likewise.
      	(sparc_flat_compute_frame_size): Likewise.
      	(sparc_flat_save_restore): Likewise.
      	(sparc_flat_function_prologue): Likewise.
      	(sparc_flat_function_epilogue): Likewise.
      	(sparc_flat_epilogue_delay_slots): Likewise.
      	(sparc_flat_eligible_for_epilogue_delay): Likewise.
      	(sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling.
      	* config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete.
      	(TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options.
      	(SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling.
      	(CONDITIONAL_REGISTER_USAGE): Likewise.
      	(FRAME_POINTER_REQUIRED): Likewise.
      	(INITIAL_ELIMINATION_OFFSET): Likewise.
      	(BASE_RETURN_VALUE_REG): Likewise.
      	(BASE_OUTGOING_VALUE_REG): Likewise.
      	(BASE_PASSING_ARG_REG): Likewise.
      	(BASE_INCOMING_ARG_REG): Likewise.
      	(INCOMING_REGNO): Likewise.
      	(OUTGOING_REGNO): Likewise.
      	(LOCAL_REGNO): Likewise.
      	(DELAY_SLOTS_FOR_EPILOGUE): Likewise.
      	(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.
      	(EPILOGUE_USES): Likewise.
      	* config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7".
      	("flat" attribute): Delete.
      	(do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute
      	handling.
      	(call followed by jump define_peephole's): Delete.
      	(exception_receiver): Likewise.
      	(builtin_setjmp_receiver): Likewise.
      	* config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat.
      
      From-SVN: r77169
      Eric Botcazou committed
    • re PR c/11658 (Wrong error message) · e57e265b
      2004-02-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR c/11658
      	PR c/13994
      	* Makefile.in (c-parse.o, c-convert.o, c-typeck.o): Depend
      	on langhooks.h.
      	* objc/Make-lang.in (objc-parse.o): Depend on langhooks.h.
      	* c-parse.in, c-convert.c, c-typeck.c, objc/objc-act.c:
      	Include langhooks.h.  Replace c_common_truthvalue_conversion
      	with the truthvalue_conversion language hook throughout.
      	(expr_no_commas): Call default_conversion before save_expr
      	for the first term of the production 'x ? : y'.
      	* c-common.c (c_common_truthvalue_conversion): Remove
      	obsolete block.  Invoke recursively the hook instead
      	of this function.
      	* c-convert.c (convert): handle ERROR_MARK_NODE.
      	* c-typeck.c (build_binary_op): handle ERROR_MARK_NODE
      	returned by the truthvalue_conversion language hook.
      	* c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
      	c_objc_common_truthvalue_conversion.
      	* c-objc-common.c (c_objc_common_truthvalue_conversion):
      	New function.
      	* c-tree.h (c_objc_common_truthvalue_conversion): Declare it.
      	* objc/objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use
      	c_objc_common_truthvalue_conversion.
      
      From-SVN: r77168
      Paolo Bonzini committed
    • re PR c/11658 (Wrong error message) · 0251aa45
      2004-02-03  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR c/11658
      	PR c/13994
      	* gcc.dg/noncompile/20040203-1.c: New test.
      	* gcc.dg/noncompile/20040203-2.c: Likewise.
      	* gcc.dg/noncompile/20040203-3.c: Likewise.
      	* gcc.dg/20040203-1.c: Likewise.
      
      From-SVN: r77167
      Paolo Bonzini committed
    • re PR c++/10858 (failure with calling a method inside sizeof: sorry,… · 9d977b5b
      re PR c++/10858 (failure with calling a method inside sizeof: sorry, unimplemented: `method_call_expr' not supported by dump_expr)
      
      2004-02-02  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c++/10858
              * g++.dg/template/sizeof7.C: New test.
      
      From-SVN: r77164
      Andrew Pinski committed
    • c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead of gen_rtx. · a7a2225a
      	* config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead
      	of gen_rtx.
      	(LIBCALL_VALUE): Likewise.
      	* config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use
      	gen_rtx_CC0 instead of gen_rtx.
      	* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use
      	gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx.
      	(m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of
      	gen_rtx.
      	(m68hc11_emit_logical): Likewise.
      
      From-SVN: r77162
      Kazu Hirata committed
    • alpha.c, [...]: Use const0_rtx instead of GEN_INT (0). · a556fd39
      	* config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c,
      	config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md,
      	config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md,
      	config/m32r/m32r.md, config/m68hc11/m68hc11.c,
      	config/mips/mips.md, config/mmix/mmix.c,
      	config/mn10300/mn10300.c, config/mn10300/mn10300.md,
      	config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c,
      	config/rs6000/altivec.md, config/s390/s390.c,
      	config/s390/s390.h, config/s390/s390.md, config/sh/sh.c,
      	config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c:
      	Use const0_rtx instead of GEN_INT (0).  Do the same for other
      	constants that are readily available.
      
      From-SVN: r77161
      Kazu Hirata committed
    • doloop.c, [...]: Use const0_rtx instead of GEN_INT (0). · 60c81c89
      	* doloop.c, optabs.c, regmove.c, sched-deps.c,
      	config/i386/i386.c, config/i386/i386.md: Use const0_rtx
      	instead of GEN_INT (0).  Do the same for other constants that
      	are readily available.
      
      From-SVN: r77160
      Kazu Hirata committed
    • combine.c (simplify_set): Use gen_rtx_fmt_e instead of gen_rtx. · 2fb00d7f
      	gcc/
      	* combine.c (simplify_set): Use gen_rtx_fmt_e instead of
      	gen_rtx.
      	* emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0
      	instead of gen_rtx.
      	* reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of
      	gen_rtx.
      	* config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and
      	gen_rtx_ASHIFT instead of gen_rtx.
      	(udivmodqi4): Likewise.
      
      	ada/
      	* ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
      	gen_rtx.
      
      	f/
      	* com.c (ffecom_member_phase2_): Use gen_rtx_MEM instead of
      	gen_rtx.
      
      From-SVN: r77159
      Kazu Hirata committed
    • re PR target/13789 ([tree-ssa] ICE on _builtin_expect_addr) · b0dccb00
              PR target/13789
              * expr.c (store_expr): Use force_operand before emit_move_insn.
      
      From-SVN: r77158
      Richard Henderson committed
    • gslice.h, [...]: Update copyright years. · 06a81b60
      2004-02-02  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/gslice.h, include/bits/gslice_array.h,
      	include/bits/indirect_array.h, include/bits/mask_array.h,
      	include/bits/slice_array.h, include/bits/stl_numeric.h,
      	include/std/std_valarray.h:  Update copyright years.
      
      From-SVN: r77156
      Jerry Quinn committed
    • gslice.h (gslice): Document. · 7fb397a4
      2004-02-02  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/gslice.h (gslice):  Document.
      	* include/bits/gslice_array.h (gslice_array):  Document.
      	* include/bits/indirect_array (indirect_array):  Document.
      	* include/bits/mask_array (mask_array):  Document.
      	* include/bits/slice_array.h (slice,slice_array):  Document.
      	* include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
      	adjacent_difference):  Document
      	* include/std/std_valarray.h (valarray):  Document.
      
      From-SVN: r77153
      Jerry Quinn committed
    • tree.c (commutative_tree_code, [...]): New functions. · 3168cb99
      
      	* tree.c (commutative_tree_code, associative_tree_code): New
      	functions.
      	(iterative_hash_expr): Use commutative_tree_code.
      	* tree.h (commutative_tree_code, associative_tree_code): Declare.
      	* fold-const.c (operand_equal_p): Use commutative_tree_code
      	rather than inlining the commutativity check.
      	(fold): Likewise.
      
      Co-Authored-By: Roger Sayle <roger@eyesopen.com>
      
      From-SVN: r77152
      Jeff Law committed
    • decl.c (java_init_decl_processing): Remove duplicate gnu/gcj/RawData. · 4e0e4a49
      	* decl.c (java_init_decl_processing): Remove duplicate
      	gnu/gcj/RawData.
      
      From-SVN: r77151
      Tom Tromey committed
    • howto.html: Move verbose terminate documentation... · 7f7fb4ef
      
      2004-02-02  Benjamin Kosnik  <bkoz@redhat.com>
      
              * docs/html/19_diagnostics/howto.html: Move verbose terminate
              documentation...
              * docs/html/18_support/howto.html: Here.
              * docs/html/documentation.html: Add reference here.
      
      From-SVN: r77150
      Benjamin Kosnik committed
    • system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison. · 040333a7
      	* system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
      	* config/frv/frv-protos.h: Remove the prototype for
      	frv_function_arg_keep_as_reference.
      	* config/frv/frv.c (frv_function_arg_keep_as_reference):
      	Remove.
      	* config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise.
      	* config/stormy16/stormy16.h: Remove the commented-out
      	definition of FUNCTION_ARG_KEEP_AS_REFERENCE.
      
      From-SVN: r77148
      Kazu Hirata committed
    • re PR target/13914 ([3.4 only] dwarf2 frame unwinding broken.) · 79d69d75
      	PR target/13914
      	* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap
      	for retaddr_column.
      
      From-SVN: r77146
      Alan Modra committed
    • Daily bump. · c1def8ec
      From-SVN: r77143
      GCC Administrator committed
  3. 02 Feb, 2004 1 commit