platform/upstream/gcc.git
20 years agoCommit for Wolfgang Bangerth:
Wolfgang Bangerth [Tue, 3 Feb 2004 23:45:52 +0000 (16:45 -0700)]
Commit for  Wolfgang Bangerth:

* doc/invoke.texi (x86 options): Fix spelling/wording

From-SVN: r77200

20 years ago20001228-1.c: Fix for new error message.
Paolo Bonzini [Tue, 3 Feb 2004 23:44:40 +0000 (23:44 +0000)]
20001228-1.c: Fix for new error message.

2004-02-04  Paolo Bonzini  <bonzini@gnu.org>

* gcc.dg/noncompile/20001228-1.c: Fix for new
error message.

From-SVN: r77199

20 years agobasic_string.h (insert(iterator)): Remove, non-standard and already scheduled for...
Paolo Carlini [Tue, 3 Feb 2004 23:34:52 +0000 (23:34 +0000)]
basic_string.h (insert(iterator)): Remove, non-standard and already scheduled for removal.

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

20 years agoiris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to put the original string in a...
Richard Sandiford [Tue, 3 Feb 2004 22:38:34 +0000 (22:38 +0000)]
iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to put the original string in a comment.

* 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

20 years agosystem.h (GIV_SORT_CRITERION): Poison.
Kazu Hirata [Tue, 3 Feb 2004 22:14:48 +0000 (22:14 +0000)]
system.h (GIV_SORT_CRITERION): Poison.

* 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

20 years agore PR target/9348 ([HP-UX] error in int to unsigned long multiplication)
Roger Sayle [Tue, 3 Feb 2004 21:31:00 +0000 (21:31 +0000)]
re PR target/9348 ([HP-UX] error in int to unsigned long multiplication)

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

20 years ago* varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
Richard Henderson [Tue, 3 Feb 2004 21:24:39 +0000 (13:24 -0800)]
* varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.

From-SVN: r77191

20 years agore PR c++/13925 (Bug while befriending specializations)
Mark Mitchell [Tue, 3 Feb 2004 20:01:59 +0000 (20:01 +0000)]
re PR c++/13925 (Bug while befriending specializations)

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

20 years agore PR c++/13950 ([DR176] lookup of dependent base name)
Mark Mitchell [Tue, 3 Feb 2004 20:00:47 +0000 (20:00 +0000)]
re PR c++/13950 ([DR176] lookup of dependent base name)

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

20 years ago* config.gcc (sh[234]l): Use little endian fragments.
J"orn Rennecke [Tue, 3 Feb 2004 19:52:23 +0000 (19:52 +0000)]
* config.gcc (sh[234]l): Use little endian fragments.

From-SVN: r77185

20 years agore PR c++/14002 (Friend declaration with template-id causes confusion of function...
Mark Mitchell [Tue, 3 Feb 2004 17:59:58 +0000 (17:59 +0000)]
re PR c++/14002 (Friend declaration with template-id causes confusion of function arguments)

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

20 years agostl_iterator_base_funcs.h: Minor formatting and indentation tweaks.
Paolo Carlini [Tue, 3 Feb 2004 17:59:05 +0000 (17:59 +0000)]
stl_iterator_base_funcs.h: Minor formatting and indentation tweaks.

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

20 years agopdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
Paul Koning [Tue, 3 Feb 2004 17:36:02 +0000 (17:36 +0000)]
pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.

* 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

20 years agoGtkListPeer.java, [...]: Fix handling of alias methods...
Thomas Fitzsimmons [Tue, 3 Feb 2004 17:10:56 +0000 (17:10 +0000)]
GtkListPeer.java, [...]: Fix handling of alias methods...

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

20 years agore PR c++/13975 (ICE on misplaced visibility specifier.)
Mark Mitchell [Tue, 3 Feb 2004 16:53:27 +0000 (16:53 +0000)]
re PR c++/13975 (ICE on misplaced visibility specifier.)

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

20 years agoia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
Steve Ellcey [Tue, 3 Feb 2004 16:39:42 +0000 (16:39 +0000)]
ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.

* 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

20 years ago* gnu/java/nio/DatagramChannelImpl.java
Mohan Embar [Tue, 3 Feb 2004 16:07:24 +0000 (16:07 +0000)]
* gnu/java/nio/DatagramChannelImpl.java
(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

20 years agobackport: re PR target/12476 (ARM/THUMB thunk calls broken)
Paul Brook [Tue, 3 Feb 2004 14:45:44 +0000 (14:45 +0000)]
backport: re PR target/12476 (ARM/THUMB thunk calls broken)

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

20 years agoFix mistaken names in the last commit.
Paolo Bonzini [Tue, 3 Feb 2004 13:38:28 +0000 (13:38 +0000)]
Fix mistaken names in the last commit.

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

20 years agoinvoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options.
Eric Botcazou [Tue, 3 Feb 2004 12:36:23 +0000 (13:36 +0100)]
invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options.

* 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

20 years agore PR c/11658 (Wrong error message)
Paolo Bonzini [Tue, 3 Feb 2004 11:22:41 +0000 (11:22 +0000)]
re PR c/11658 (Wrong error message)

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

20 years agore PR c/11658 (Wrong error message)
Paolo Bonzini [Tue, 3 Feb 2004 11:21:01 +0000 (11:21 +0000)]
re PR c/11658 (Wrong error message)

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

20 years agore PR c++/10858 (failure with calling a method inside sizeof: sorry, unimplemented...
Andrew Pinski [Tue, 3 Feb 2004 07:27:37 +0000 (23:27 -0800)]
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

20 years agoc4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead of gen_rtx.
Kazu Hirata [Tue, 3 Feb 2004 07:08:29 +0000 (07:08 +0000)]
c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead of gen_rtx.

* 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

20 years agoalpha.c, [...]: Use const0_rtx instead of GEN_INT (0).
Kazu Hirata [Tue, 3 Feb 2004 06:43:59 +0000 (06:43 +0000)]
alpha.c, [...]: Use const0_rtx instead of GEN_INT (0).

* 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

20 years agodoloop.c, [...]: Use const0_rtx instead of GEN_INT (0).
Kazu Hirata [Tue, 3 Feb 2004 05:39:57 +0000 (05:39 +0000)]
doloop.c, [...]: Use const0_rtx instead of GEN_INT (0).

* 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

20 years agocombine.c (simplify_set): Use gen_rtx_fmt_e instead of gen_rtx.
Kazu Hirata [Tue, 3 Feb 2004 05:15:46 +0000 (05:15 +0000)]
combine.c (simplify_set): Use gen_rtx_fmt_e instead of gen_rtx.

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

20 years agore PR target/13789 ([tree-ssa] ICE on _builtin_expect_addr)
Richard Henderson [Tue, 3 Feb 2004 04:37:29 +0000 (20:37 -0800)]
re PR target/13789 ([tree-ssa] ICE on _builtin_expect_addr)

        PR target/13789
        * expr.c (store_expr): Use force_operand before emit_move_insn.

From-SVN: r77158

20 years agogslice.h, [...]: Update copyright years.
Jerry Quinn [Tue, 3 Feb 2004 04:01:15 +0000 (04:01 +0000)]
gslice.h, [...]: Update copyright years.

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

20 years agogslice.h (gslice): Document.
Jerry Quinn [Tue, 3 Feb 2004 03:33:24 +0000 (03:33 +0000)]
gslice.h (gslice): Document.

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

20 years agotree.c (commutative_tree_code, [...]): New functions.
Jeff Law [Tue, 3 Feb 2004 03:03:43 +0000 (20:03 -0700)]
tree.c (commutative_tree_code, [...]): New functions.

* 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

20 years agodecl.c (java_init_decl_processing): Remove duplicate gnu/gcj/RawData.
Tom Tromey [Tue, 3 Feb 2004 02:56:20 +0000 (02:56 +0000)]
decl.c (java_init_decl_processing): Remove duplicate gnu/gcj/RawData.

* decl.c (java_init_decl_processing): Remove duplicate
gnu/gcj/RawData.

From-SVN: r77151

20 years agohowto.html: Move verbose terminate documentation...
Benjamin Kosnik [Tue, 3 Feb 2004 01:26:12 +0000 (01:26 +0000)]
howto.html: Move verbose terminate documentation...

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

20 years agosystem.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
Kazu Hirata [Tue, 3 Feb 2004 00:52:33 +0000 (00:52 +0000)]
system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.

* 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

20 years agore PR target/13914 ([3.4 only] dwarf2 frame unwinding broken.)
Alan Modra [Tue, 3 Feb 2004 00:40:26 +0000 (00:40 +0000)]
re PR target/13914 ([3.4 only] dwarf2 frame unwinding broken.)

PR target/13914
* config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap
for retaddr_column.

From-SVN: r77146

20 years agoDaily bump.
GCC Administrator [Tue, 3 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r77143

20 years agoc++locale_internal.h: Remove prototypes of no longer used GLIBC thread locale functions.
Paolo Carlini [Mon, 2 Feb 2004 23:45:34 +0000 (23:45 +0000)]
c++locale_internal.h: Remove prototypes of no longer used GLIBC thread locale functions.

2004-02-02  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/c++locale_internal.h: Remove prototypes
of no longer used GLIBC thread locale functions.

From-SVN: r77140

20 years agoFix date thinko on prev patch.
Eric Christopher [Mon, 2 Feb 2004 22:50:10 +0000 (22:50 +0000)]
Fix date thinko on prev patch.

From-SVN: r77138

20 years agogenemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of gen_rtx.
Kazu Hirata [Mon, 2 Feb 2004 22:05:41 +0000 (22:05 +0000)]
genemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of gen_rtx.

* genemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of
gen_rtx.

From-SVN: r77137

20 years ago[multiple changes]
Eric Christopher [Mon, 2 Feb 2004 20:20:58 +0000 (20:20 +0000)]
[multiple changes]

2004-02-02  Eric Christopher  <echristo@redhat.com>
            Zack Weinberg  <zack@codesourcery.com>

        * c-opts.c (c_common_handle_option): Add -finput-charset.
        * c.opt: Ditto.
        * cppcharset.c (one_iso88591_to_utf8): Remove.
        (convert_iso88591_utf8): Ditto.
        (conversion_tab): Remove 8859-1 converter.
        (_cpp_input_to_utf8): Remove.
        (_cpp_init_iconv_buffer): Ditto.
        (_cpp_close_iconv_buffer): Ditto.
        (_cpp_convert_input): New function.
        (_cpp_default_encoding): Ditto.
        * cpphash.h: Add/remove prototypes for above.
        * cppfiles.c (read_file_guts): Use _cpp_convert_input.
        * cppinit.c (cpp_create_reader): Use _cpp_default_encoding
        for narrow execution and input character sets.
        * cpplib.c (cpp_push_buffer): Delete uses of removed functions.
        * doc/cppopts.texi: Document -finput-charset.

2004-02-02 Eric Christopher  <echristo@redhat.com>
           Zack Weinberg  <zack@codesourcery.com>

        * gcc.c-torture/execute/wchar_t-1.c: Add -finput-charset.

2004-01-29  Eric Christopher  <echristo@redhat.com>
            Zack Weinberg  <zack@codesourcery.com>

        * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
        -finput-charset.
        * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
        * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
        * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
        * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
        Ditto.

From-SVN: r77136

20 years ago* g++.dg/eh/forced1.C, g++.dg/eh/forced2.C, g++.dg/eh/forced3.C
Zack Weinberg [Mon, 2 Feb 2004 20:06:23 +0000 (20:06 +0000)]
* g++.dg/eh/forced1.C, g++.dg/eh/forced2.C, g++.dg/eh/forced3.C
* g++.dg/eh/forced4.C: XFAIL ia64-hp-hpux11.*.
* g++.dg/eh/ia64-1.C: Test branch regs only #ifdef __LP64__.
* gcc.dg/cleanup-5.c: Run only on Linux targets.

From-SVN: r77134

20 years agoFixes formatting in a couple of entries of mines
Giovanni Bajo [Mon, 2 Feb 2004 18:55:07 +0000 (18:55 +0000)]
Fixes formatting in a couple of entries of mines

From-SVN: r77131

20 years agortlanal.c (refers_to_regno_p): Test regno, not inner_regno, against FIRST_PSEUDO_REGI...
David Edelsohn [Mon, 2 Feb 2004 18:20:55 +0000 (18:20 +0000)]
rtlanal.c (refers_to_regno_p): Test regno, not inner_regno, against FIRST_PSEUDO_REGISTER.

        * rtlanal.c (refers_to_regno_p): Test regno, not inner_regno,
        against FIRST_PSEUDO_REGISTER.

From-SVN: r77128

20 years agore PR c++/13113 (Nice warning about &(X::m) lost)
Mark Mitchell [Mon, 2 Feb 2004 16:53:17 +0000 (16:53 +0000)]
re PR c++/13113 (Nice warning about &(X::m) lost)

PR c++/13113
* init.c (build_offset_ref): Improve error recovery for invalid
uses of non-static member functions.

PR c++/13854
* cp-tree.h (cp_build_type_attribute_variant): New function.
* class.c (build_clone): Use cp_build_type_attribute_variant.
* decl.c (duplicate_decls): Likewise.
* pt.c (copy_default_args_to_explicit_spec): Likewise.
(tsubst_function_type): Likewise.
* tree.c (build_exception_variant): Check attributes before
concluding that two types are the same.
(cp_build_type-attribute_variant): New method.
* typeck.c (merge_types): Use cp_build_type_attribute_variant.

PR c++/13907
* call.c (convert_class_to_reference): Keep better track of
pedantically invalid user-defined conversions.

PR c++/13113
* g++.old-deja/g++.mike/net36.C: Adjust error messages.

PR c++/13854
* g++.dg/ext/attrib13.C: New test.

PR c++/13907
* g++.dg/conversion/op2.C: New test.

From-SVN: r77127

20 years agostl_function.h: Additional minor tweaks.
Paolo Carlini [Mon, 2 Feb 2004 16:35:09 +0000 (16:35 +0000)]
stl_function.h: Additional minor tweaks.

2004-02-02  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_function.h: Additional minor tweaks.
* include/bits/stl_multiset.h: Likewise.

* include/bits/stl_queue.h: Minor tweaks.

From-SVN: r77125

20 years ago* doc/invoke.texi (SPARC options): Further improve.
Eric Botcazou [Mon, 2 Feb 2004 16:33:03 +0000 (17:33 +0100)]
* doc/invoke.texi (SPARC options): Further improve.

From-SVN: r77124

20 years ago* Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
Arnaud Charlet [Mon, 2 Feb 2004 16:26:37 +0000 (16:26 +0000)]
* Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.

From-SVN: r77122

20 years ago* gcc.dg/titype-1.c: Fix pasto.
Eric Botcazou [Mon, 2 Feb 2004 16:12:36 +0000 (17:12 +0100)]
* gcc.dg/titype-1.c: Fix pasto.

From-SVN: r77119

20 years agoarm.md, [...]: Fix indentation.
Kazu Hirata [Mon, 2 Feb 2004 15:18:28 +0000 (15:18 +0000)]
arm.md, [...]: Fix indentation.

* config/arm/arm.md, config/c4x/c4x.md, config/cris/cris.md,
config/h8300/h8300.c, config/ip2k/ip2k.md,
config/iq2000/iq2000.c, config/mips/mips.c,
config/rs6000/rs6000.c, config/rs6000/rs6000.md,
config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c,
config/v850/v850.md: Fix indentation.

From-SVN: r77116

20 years agoFixed a typo.
Giovanni Bajo [Mon, 2 Feb 2004 14:33:11 +0000 (14:33 +0000)]
Fixed a typo.

From-SVN: r77114

20 years agoPR libstdc++/13976 (continued)
Paolo Carlini [Mon, 2 Feb 2004 13:04:36 +0000 (13:04 +0000)]
PR libstdc++/13976 (continued)

2004-02-02  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13976 (continued)
* include/ext/malloc_allocator.h (malloc_allocator::deallocate):
Make the second parameter unnamed, to void unused parameter
warnings.
* include/ext/new_allocator.h (new_allocator::deallocate): Ditto.

From-SVN: r77113

20 years agore PR libstdc++/13976 (ext/new_allocator.h:81: warning: unused parameter '__h')
Paolo Carlini [Mon, 2 Feb 2004 12:39:55 +0000 (12:39 +0000)]
re PR libstdc++/13976 (ext/new_allocator.h:81: warning: unused parameter '__h')

2004-02-02  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13976
* include/ext/malloc_allocator.h (malloc_allocator::allocate):
Make the second parameter unnamed, to void unused parameter
warnings.
* include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
* include/ext/new_allocator.h (new_allocator::allocate): Ditto.

From-SVN: r77111

20 years ago[multiple changes]
Arnaud Charlet [Mon, 2 Feb 2004 12:32:01 +0000 (13:32 +0100)]
[multiple changes]

2004-02-02  Vincent Celier  <celier@gnat.com>

* gprcmd.adb (Check_Args): If condition is false, print the invoked
comment before the usage.
Gprcmd: Fail when command is not recognized.
(Usage): Document command "prefix"

* g-md5.adb (Digest): Process last block.
(Update): Do not process last block. Store remaining characters and
length in Context.

* g-md5.ads (Update): Document that several call to update are
equivalent to one call with the concatenated string.
(Context): Add fields to allow new Update behaviour.

* fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
defaulted to False.
When May_Fail is True and no existing file can be found, return No_File.

* 6vcstrea.adb: Inlined functions are now wrappers to implementation
functions.

* lib-writ.adb (Write_With_Lines): When body file does not exist, use
spec file name instead on the W line.

2004-02-02  Robert Dewar  <dewar@gnat.com>

* ali.adb: Read and acquire info from new format restrictions lines

* bcheck.adb: Add circuits for checking restrictions with parameters

* bindgen.adb: Output dummy restrictions data
To be changed later

* ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.

* exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
the warning message on access to possibly uninitialized variable S)
Minor changes for new restrictions handling.

* gnatbind.adb: Minor reformatting
Minor changes for new restrictions handling
Move circuit for -r processing here from bcheck (cleaner)

* gnatcmd.adb, gnatlink.adb: Minor reformatting

* lib-writ.adb: Output new format restrictions lines

* lib-writ.ads: Document new R format lines for new restrictions
handling.

* s-restri.ads/adb: New files

* Makefile.rtl: Add entry for s-restri.ads/adb

* par-ch3.adb: Fix bad error messages starting with upper case letter
Minor reformatting

* restrict.adb: Major rewrite throughout for new restrictions handling
Major point is to handle restrictions with parameters

* restrict.ads: Major changes in interface to handle restrictions with
parameters. Also generally simplifies setting of restrictions.

* snames.ads/adb: New entry for proper handling of No_Requeue

* sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
restriction counting.
Other minor changes for new restrictions handling

* sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
Restriction_Warnings now allows full parameter notation
Major rewrite of Restrictions for new restrictions handling

2004-02-02  Javier Miranda  <miranda@gnat.com>

* par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
syntax rule for object renaming declarations.
(P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
component definitions.

* sem_ch3.adb (Analyze_Component_Declaration): Give support to access
components.
(Array_Type_Declaration): Give support to access components. In addition
it was also modified to reflect the name of the object in anonymous
array types. The old code did not take into account that it is possible
to have an unconstrained anonymous array with an initial value.
(Check_Or_Process_Discriminants): Allow access discriminant in
non-limited types.
(Process_Discriminants): Allow access discriminant in non-limited types
Initialize the new Access_Definition field in N_Object_Renaming_Decl
node.  Change Ada0Y to Ada 0Y in comments

* sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
equality operators.
Change Ada0Y to Ada 0Y in comments

* sem_ch8.adb (Analyze_Object_Renaming): Give support to access
renamings Change Ada0Y to Ada 0Y in comments

* sem_type.adb (Find_Unique_Type): Give support to the equality
operators for universal access types
Change Ada0Y to Ada 0Y in comments

* sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms

* sinfo.ads (N_Component_Definition): Addition of Access_Definition
field.
(N_Object_Renaming_Declaration): Addition of Access_Definition field
Change Ada0Y to Ada 0Y in comments

* sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
component definition and object renaming nodes
Change Ada0Y to Ada 0Y in comments

2004-02-02  Jose Ruiz  <ruiz@act-europe.fr>

* restrict.adb: Use the new restriction identifier
No_Requeue_Statements instead of the old No_Requeue for defining the
restricted profile.

* sem_ch9.adb (Analyze_Requeue): Check the new restriction
No_Requeue_Statements.

* s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
that supersedes the GNAT specific restriction No_Requeue. The later is
kept for backward compatibility.

2004-02-02  Ed Schonberg  <schonberg@gnat.com>

* lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
pragma and fix incorrect ones.

* sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
warning if the pragma is redundant.

2004-02-02  Thomas Quinot  <quinot@act-europe.fr>

* 5staprop.adb: Add missing 'constant' keywords.

* Makefile.in: use consistent value for SYMLIB on
platforms where libaddr2line is supported.

2004-02-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* utils.c (end_subprog_body): Do not call rest_of_compilation if just
annotating types.

2004-02-02  Olivier Hainque  <hainque@act-europe.fr>

* init.c (__gnat_install_handler): Setup an alternate stack for signal
handlers in the environment thread. This allows proper propagation of
an exception on stack overflows in this thread even when the builtin
ABI stack-checking scheme is used without support for a stack reserve
region.

* utils.c (create_field_decl): Augment the head comment about bitfield
creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
here, because the former is not accurate enough at this point.
Let finish_record_type decide instead.
Don't make a bitfield if the field is to be addressable.
Always set a size for the field if the record is packed, to ensure the
checks for bitfield creation are triggered.
(finish_record_type): During last pass over the fields, clear
DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
not covered by the calls to layout_decl.  Adjust DECL_NONADDRESSABLE_P
from DECL_BIT_FIELD.

From-SVN: r77110

20 years agosparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary in the...
Eric Botcazou [Mon, 2 Feb 2004 12:20:52 +0000 (13:20 +0100)]
sparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary in the parameter array if ARCH64.

* config/sparc/sparc.c (function_arg_slotno): Align TImode
arguments on a 16-byte boundary in the parameter array if ARCH64.
Split handling of TFmode.

From-SVN: r77107

20 years agortlanal.c (reg_overlap_mentioned_p): Don't test CONSTANT_P (x).
Paolo Bonzini [Mon, 2 Feb 2004 10:44:28 +0000 (10:44 +0000)]
rtlanal.c (reg_overlap_mentioned_p): Don't test CONSTANT_P (x).

2004-02-02  Paolo Bonzini  <bonzini@gnu.org>

* rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]:
Don't test CONSTANT_P (x).
(reg_overlap_mentioned_p): Merge check for STRICT_LOWPART,
ZERO_EXTRACT, SIGN_EXTRACT with the switch statement.
Fix misindentation.

From-SVN: r77105

20 years ago* doc/invoke.texi (SPARC options): Document that -mflat is deprecated.
Eric Botcazou [Mon, 2 Feb 2004 09:17:19 +0000 (10:17 +0100)]
* doc/invoke.texi (SPARC options): Document that -mflat is deprecated.

From-SVN: r77100

20 years agoarc.md, [...]: Replace gen_rtx with gen_rtx_fmt_e*.
Kazu Hirata [Mon, 2 Feb 2004 06:31:08 +0000 (06:31 +0000)]
arc.md, [...]: Replace gen_rtx with gen_rtx_fmt_e*.

* config/arc/arc.md, config/arm/arm.c, config/arm/arm.md,
config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md,
config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md,
config/iq2000/iq2000.c, config/m32r/m32r.c,
config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md,
config/mn10300/mn10300.c, config/rs6000/rs6000.c,
config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md,
config/stormy16/stormy16.c, config/v850/v850.md,
config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*.

From-SVN: r77098

20 years agomcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT.
Kazu Hirata [Mon, 2 Feb 2004 02:32:23 +0000 (02:32 +0000)]
mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT.

* config/mcore/mcore.c (block_move_sequence): Replace
gen_rtx_CONST_INT with GEN_INT.

From-SVN: r77094

20 years agoconfigure.in: Add pkgconfig check for glib and gthread.
Thomas Fitzsimmons [Mon, 2 Feb 2004 02:18:33 +0000 (02:18 +0000)]
configure.in: Add pkgconfig check for glib and gthread.

2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>

* configure.in: Add pkgconfig check for glib and gthread.
* configure: Regenerate.

From-SVN: r77093

20 years agore PR c++/13957 (Insufficient diagnostic for dependent expression parsed as non-type...
Giovanni Bajo [Mon, 2 Feb 2004 01:11:03 +0000 (01:11 +0000)]
re PR c++/13957 (Insufficient diagnostic for dependent expression parsed as non-type but instantiated as type)

PR c++/13957
* g++.dg/template/non-type-template-argument-1.C,
g++.dg/template/qualified-id1.C: Update dg-error marks.
* g++.dg/template/nontype6.C: New test.

From-SVN: r77091

20 years agore PR c++/13957 (Insufficient diagnostic for dependent expression parsed as non-type...
Giovanni Bajo [Mon, 2 Feb 2004 01:09:22 +0000 (01:09 +0000)]
re PR c++/13957 (Insufficient diagnostic for dependent expression parsed as non-type but instantiated as type)

PR c++/13957
* pt.c (tsubst_qualified_id): Improved error message when a type
is expected but not found.

From-SVN: r77090

20 years agopt.c (tsubst_qualified_id): Improved error message when a type is expected but not...
Giovanni Bajo [Mon, 2 Feb 2004 01:07:08 +0000 (01:07 +0000)]
pt.c (tsubst_qualified_id): Improved error message when a type is expected but not found.

* pt.c (tsubst_qualified_id): Improved error message when a type
is expected but not found.

From-SVN: r77089

20 years agoalias.c (record_set): Use hard_regno_nregs.
Jan Hubicka [Mon, 2 Feb 2004 00:17:18 +0000 (01:17 +0100)]
alias.c (record_set): Use hard_regno_nregs.

* alias.c (record_set): Use hard_regno_nregs.
* bt-load.c (find_btr_reference, note_btr_set): Likewise.
* builtins.c (apply_args_size): Likewise.
* caller-save.c (setup_save_areas, save_call_clobbered_regs,
mark_set_regs, add_stored_regs, mark_referenced_regs,
insert_restore, insert_save, insert_one_insn): Likewise.
* cfgcleanup.c: Include regs.h
(mark_effect, mentions_nonequal_regs): Likewise.
* cfgrtl.c (mark_killed_regs): Likewise
* combine.c (update_table_tick, record_value_for_reg,
record_dead_and_set_regs, get_last_value_validate, use_crosses_set_p,
reg_dead_at_p_1, reg_dead_at_p, mark_used_regs_combine, move_deaths,
reg_bitfield_target_p, distribute_notes): Likewise.
* cse.c (mention_regs, insert, invalidate, invalidate_for_call,
exp_equiv_p, cse_insn): Likewise.
* cselib.c (cselib_lookup): Likewise.
(cselib_invalidate_regno, cselib_record_set): Likewise.
* df.c (df_ref_record): Likewise.
* dwarf2out.c (reg_loc_descriptor, multiple_reg_loc_descriptor):
Likewise.
* flow.c (mark_reg, insn_dead_p, mark_set_1, mark_used_reg,
count_or_remove_death_notes_bb): Likewise.
* function.c (aggregate_value_p, keep_stack_depressed): Likewise.
* gloval.c (global_alloc, find_reg, mark_reg_store, mark_reg_conflicts,
mark_reg_death, set_preference, reg_becomes_live, reg_dies): Likewise.
* integrate.c (mark_stores): Likewise.
* jump.c (delete_prior_computation): Likewise.
* lcm.c (reg_dies, reg_becomes_live): Likewise.
* local-alloc.c (combine_regs, find_free_reg, post_mark_life): Likewise.
* loop.c (LOOP_REGNO_NREGS): Likewise.
* postreload.c (reload_combine, reload_combine_note_store,
reload_combine_note_use, reload_cse_move2add, move2add_note_store): Likewise.
* ra-colorize.c (combine, color_usable_p, get_free_reg,
calculate_dont_begin, calculate_dont_begin, colorize_one_web,
try_recolor_web, insert_coalesced_conflicts, check_colors,
break_precolored_alias): Likewise.
* ra-debug.c: Include regs.h
(ra_print_rtx_object): Likewise.
* ra-rewrite (choose_spill_colors): Likewise.
(spill_same_color_p, update_spill_colors, spill_is_free): Likewise.
* ra.c (init_ra): Likewise.
* recog.c (reg_fits_class_p, peep2_reg_dead_p,
peep2_find_free_register): Likewise.
* reg-stack.c (subst_stack_regs_pat, convert_regs_exit): Likewise.
* regclass.c (hard_regno_nregs): New array.
(init_reg_modes_once): Initialize it.
(choose_hard_reg_mode): Use it.
(record_reg_classes): Likewise.
* regmove.c (mark_flags_life_zones): Likewise.
* regrename.c (note_sets, clear_dead_regs, regrename_optimize,
scan_rtx_reg, dump_def_use_chain, kill_value, set_value_regno,
copy_value, maybe_mode_change, find_oldest_value_reg,
copyprop_hardreg_forward_1):
* regs.h (hard_regno_nregs): Declare.
* realod.c (reload_inner_reg_of_subreg): Use it.
(push_reload, combine_reloads, find_dummy_reload,
hard_reg_set_here_p, operands_match_p, decompose, find_reloads,
refers_to_regno_for_reload_p, find_equiv_reg, regno_clobbered_p,
reload_adjust_reg_for_mode): Likewise.
* reload1.c (compute_use_by_pseudos, count_pseudo,
count_spilled_pseudo, find_reg, find_reload_regs, mark_home_live,
spill_hard_reg, forget_old_reloads_1, mark_reload_reg_in_use,
clear_reload_reg_in_use, reload_reg_free_for_value_p, free_for_value_p
allocate_reload_reg, choose_reload_regs, emit_reload_insns,
delete_output_reload): Likewise.
* resource.c (update_live_status, mark_referenced_resources,
mark_set_resources, mark_target_live_regs): Likewise.
* rtlanal.c:  Include regs.h
(refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p,
dead_or_set_regno_p, find_regno_note, find_reg_fusage,
subreg_regno_offset, subreg_offset_representable_p,
hoist_test_store): Likewise.
* sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
* stmt.c: Include regs.h
(decl_conflicts_with_clobbers_p): Likewise.
* varasm.c (make_decl_rtl): Likewise.
* Makefile.in (cfgcleanup.o, rtlanal.o, ra-debug.o): Add regs.h dependnecy.

From-SVN: r77088

20 years agoDaily bump.
GCC Administrator [Mon, 2 Feb 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r77085

20 years agostl_algo.h: Additional minor tweaks.
Paolo Carlini [Sun, 1 Feb 2004 23:19:55 +0000 (23:19 +0000)]
stl_algo.h: Additional minor tweaks.

2004-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h: Additional minor tweaks.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_tree.h: Likewise.

From-SVN: r77082

20 years agovector.tcc (vector::_M_insert_aux(iterator)): Remove, unused.
Paolo Carlini [Sun, 1 Feb 2004 22:14:43 +0000 (22:14 +0000)]
vector.tcc (vector::_M_insert_aux(iterator)): Remove, unused.

2004-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
Remove, unused.

From-SVN: r77081

20 years agoarm.c, [...]: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
Kazu Hirata [Sun, 1 Feb 2004 21:21:45 +0000 (21:21 +0000)]
arm.c, [...]: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".

* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md,
config/arm/linux-gas.h, config/arm/netbsd-elf.h,
config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c,
config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h,
config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c,
config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c,
config/iq2000/iq2000.h, config/m32r/m32r.c,
config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
config/m68hc11/m68hc11.md, config/m68k/m68k.md,
config/mcore/mcore.c, config/mcore/mcore.h,
config/mcore/mcore.md, config/mips/mips.c,
config/ns32k/ns32k.h, config/ns32k/ns32k.md,
config/rs6000/rs6000.c, config/s390/s390.c,
config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c,
config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace
"gen_rtx (FOO, " with "gen_rtx_FOO (".

From-SVN: r77080

20 years agojvm.h (MAYBE_UNUSED): New macro tp mark probably unused arguments.
Michael Koch [Sun, 1 Feb 2004 20:05:03 +0000 (20:05 +0000)]
jvm.h (MAYBE_UNUSED): New macro tp mark probably unused arguments.

2004-02-01  Michael Koch  <konqueror@gmx.de>

* include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
arguments.
* jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
* verify.cc (debug_print): Mark 'fmt' unused.

From-SVN: r77079

20 years agostl_function.h: Additional minor tweaks.
Paolo Carlini [Sun, 1 Feb 2004 17:56:06 +0000 (17:56 +0000)]
stl_function.h: Additional minor tweaks.

2004-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_function.h: Additional minor tweaks.

From-SVN: r77078

20 years agodeque.tcc: Wrap overlong lines...
Paolo Carlini [Sun, 1 Feb 2004 17:34:44 +0000 (17:34 +0000)]
deque.tcc: Wrap overlong lines...

2004-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/deque.tcc: Wrap overlong lines, constify
a few variables, reformat according to the coding standards.
* include/bits/list.tcc: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_relops.h: Likewise.
* include/bits/stl_set.h: Likewise.

From-SVN: r77077

20 years ago* config/h8300/h8300.md (two peephole2's): New.
Kazu Hirata [Sun, 1 Feb 2004 17:01:34 +0000 (17:01 +0000)]
* config/h8300/h8300.md (two peephole2's): New.

From-SVN: r77076

20 years agosol2-bi.h: Handle TARGET_CPU_ultrasparc3.
Eric Botcazou [Sun, 1 Feb 2004 15:19:12 +0000 (16:19 +0100)]
sol2-bi.h: Handle TARGET_CPU_ultrasparc3.

* config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3.
(CPP_CPU_SPEC): Handle -mcpu=ultrasparc3.
(ASM_CPU_SPEC): Likewise
* config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3.
(ASM_CPU_SPEC): Remove -mcpu=v8plus.  Handle -mcpu=ultrasparc3.

From-SVN: r77074

20 years ago* de.po: Update.
Joseph Myers [Sun, 1 Feb 2004 15:15:29 +0000 (15:15 +0000)]
* de.po: Update.

From-SVN: r77072

20 years agobuiltins.c (expand_builtin_pow): If flag_unsafe_math_optimizations isn't set...
Roger Sayle [Sun, 1 Feb 2004 15:03:15 +0000 (15:03 +0000)]
builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations isn't set...

* builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations
isn't set, don't call expand_builtin_mathfn_2 to use the pow optab.
(expand_builtin): Always call expand_builtin_pow.

From-SVN: r77071

20 years agobuiltins.def (BUILT_IN_SIGNBIT, [...]): New GCC builtins.
Roger Sayle [Sun, 1 Feb 2004 14:59:15 +0000 (14:59 +0000)]
builtins.def (BUILT_IN_SIGNBIT, [...]): New GCC builtins.

* builtins.def (BUILT_IN_SIGNBIT, BUILT_IN_SIGNBITF,
BUILT_IN_SIGNBITL): New GCC builtins.
* builtins.c (expand_builtin_signbit): New function to RTL expand
calls to signbit, signbitf and signbitl as inline intrinsics.
(expand_builtin): Call expand_builtin_signbit for BUILT_IN_SIGNBIT*.
(fold_builtin_signbit): New function to perform constant folding
of signbit, signbitf and signbitl.
(fold_builtin): Call fold_builtin_signbit for BUILT_IN_SIGNBIT*.

* doc/extend.texi: Document new signbit{,f,l} builtins.

* gcc.dg/builtins-1.c: Also test for __builtin_signbit{,f,l}.
* gcc.dg/builtins-31.c: New testcase.
* gcc.dg/builtins-32.c: New testcase.

From-SVN: r77070

20 years ago* config/mips/mips.md (adddi3_internal_2): Remove superfluous %s.
Richard Sandiford [Sun, 1 Feb 2004 11:46:42 +0000 (11:46 +0000)]
* config/mips/mips.md (adddi3_internal_2): Remove superfluous %s.

From-SVN: r77066

20 years agostl_bvector.h: Wrap overlong lines...
Paolo Carlini [Sun, 1 Feb 2004 11:25:21 +0000 (11:25 +0000)]
stl_bvector.h: Wrap overlong lines...

2004-02-01  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_bvector.h: Wrap overlong lines, constify
a few variables, reformat according to the coding standards.
* include/bits/stl_tree.h: Likewise.

From-SVN: r77065

20 years agomips.h (PREDICATE_CODES): Remove entries for "mips_const_double_ok" and "simple_memor...
Chris Demetriou [Sun, 1 Feb 2004 08:05:50 +0000 (08:05 +0000)]
mips.h (PREDICATE_CODES): Remove entries for "mips_const_double_ok" and "simple_memory_operand"...

2004-02-01  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (PREDICATE_CODES): Remove entries for
        "mips_const_double_ok" and "simple_memory_operand", which were
        removed from the MIPS port with the mips-3_4-rewrite branch merge.
        * config/mips/mips.c (mips16_lay_out_constants): Update comment
        for removal of simple_memory_operand.

From-SVN: r77064

20 years agoDaily bump.
GCC Administrator [Sun, 1 Feb 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r77061

20 years agostl_algo.h: Minor additional reformat, add copyright year.
Paolo Carlini [Sat, 31 Jan 2004 23:51:44 +0000 (23:51 +0000)]
stl_algo.h: Minor additional reformat, add copyright year.

2004-01-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h: Minor additional reformat, add
copyright year.
* include/bits/stl_algobase.h: Add copyright year.

From-SVN: r77058

20 years agoc4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).
Kazu Hirata [Sat, 31 Jan 2004 23:21:25 +0000 (23:21 +0000)]
c4x.md: Use GEN_INT instead of gen_rtx (CONST_INT, ...).

* config/c4x/c4x.md: Use GEN_INT instead of
gen_rtx (CONST_INT, ...).

From-SVN: r77057

20 years ago* varasm.c (output_constant_pool): Don't zap the pool.
Richard Henderson [Sat, 31 Jan 2004 23:13:23 +0000 (15:13 -0800)]
* varasm.c (output_constant_pool): Don't zap the pool.

From-SVN: r77056

20 years agogenrecog.c (decision_type): Add DT_const_int.
Kazu Hirata [Sat, 31 Jan 2004 23:08:52 +0000 (23:08 +0000)]
genrecog.c (decision_type): Add DT_const_int.

* genrecog.c (decision_type): Add DT_const_int.
(write_cond) [DT_const_int]: Print a comparison against small
constant.
(write_node): Simplify comparisons against small constants
before printing tests.

From-SVN: r77055

20 years agom32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.
Kazu Hirata [Sat, 31 Jan 2004 22:58:46 +0000 (22:58 +0000)]
m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.

* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
instead of gen_rtx_CONST_INT.

From-SVN: r77054

20 years agoxtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT.
Kazu Hirata [Sat, 31 Jan 2004 22:38:00 +0000 (22:38 +0000)]
xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT instead of gen_rtx_CONST_INT.

* config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT
instead of gen_rtx_CONST_INT.

From-SVN: r77053

20 years agotarget-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as hook_bool_CUMULATIVE_ARGS_false.
Kazu Hirata [Sat, 31 Jan 2004 22:12:55 +0000 (22:12 +0000)]
target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as hook_bool_CUMULATIVE_ARGS_false.

* target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as
hook_bool_CUMULATIVE_ARGS_false.
* targhooks.c (default_strict_argument_naming): Rename to
hook_bool_CUMULATIVE_ARGS_false.
* targhooks.h: Update the prototype for
default_strict_argument_naming.

From-SVN: r77052

20 years agosh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
Kazu Hirata [Sat, 31 Jan 2004 22:09:22 +0000 (22:09 +0000)]
sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".

* config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.

From-SVN: r77051

20 years agostl_algo.h: Wrap overlong lines...
Paolo Carlini [Sat, 31 Jan 2004 21:37:11 +0000 (21:37 +0000)]
stl_algo.h: Wrap overlong lines...

2004-01-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algo.h: Wrap overlong lines, constify
a few variables, reformat according to the coding standards.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_heap.h: Likewise.

From-SVN: r77050

20 years ago* doc/invoke.texi (SPARC options): Restructure and update.
Eric Botcazou [Sat, 31 Jan 2004 20:09:22 +0000 (21:09 +0100)]
* doc/invoke.texi (SPARC options): Restructure and update.

From-SVN: r77048

20 years agosystem.h (PROMOTE_FUNCTION_ARGS, [...]): Poison.
Kazu Hirata [Sat, 31 Jan 2004 18:46:11 +0000 (18:46 +0000)]
system.h (PROMOTE_FUNCTION_ARGS, [...]): Poison.

* system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and
STRICT_ARGUMENT_NAMING): Poison.
* target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as
hook_bool_tree_false.
* targhooks.c (default_promote_function_args): Remove.
(default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING.
Don't check incoming.
(default_strict_argument_naming): Don't use
STRICT_ARGUMENT_NAMING.
* targhooks.h: Remove the prototype for
default_promote_function_args.

From-SVN: r77047

20 years agoi386-protos.h: Remove the prototype for ix86_setup_incoming_varargs.
Kazu Hirata [Sat, 31 Jan 2004 18:42:55 +0000 (18:42 +0000)]
i386-protos.h: Remove the prototype for ix86_setup_incoming_varargs.

* config/i386/i386-protos.h: Remove the prototype for
ix86_setup_incoming_varargs.
* config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New.
(ix86_setup_incoming_varargs): Make it static.
* config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove.

From-SVN: r77046

20 years agoclass.c: Fix comment typos.
Kazu Hirata [Sat, 31 Jan 2004 17:58:53 +0000 (17:58 +0000)]
class.c: Fix comment typos.

* class.c: Fix comment typos.
* decl.c: Likewise.
* error.c: Likewise.
* parser.c: Likewise.
* pt.c: Likewise.
* search.c: Likewise.
* typeck.c: Likewise.

From-SVN: r77045

20 years agobasic_string.h (_Rep::operator[]): Remove, unused.
Paolo Carlini [Sat, 31 Jan 2004 17:50:46 +0000 (17:50 +0000)]
basic_string.h (_Rep::operator[]): Remove, unused.

2004-01-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (_Rep::operator[]): Remove, unused.

* include/bits/basic_string.h: Fix two comments.

From-SVN: r77044

20 years agoalloc-pool.c: Fix comment typos.
Kazu Hirata [Sat, 31 Jan 2004 17:47:43 +0000 (17:47 +0000)]
alloc-pool.c: Fix comment typos.

* alloc-pool.c: Fix comment typos.
* builtin-types.def: Likewise.
* builtins.def: Likewise.
* c-pretty-print.c: Likewise.
* df.h: Likewise.
* reload1.c: Likewise.

From-SVN: r77043

20 years ago2004-01-31 Per Bothner <per@bothner.com>
Per Bothner [Sat, 31 Jan 2004 17:38:45 +0000 (09:38 -0800)]
2004-01-31  Per Bothner  <per@bothner.com>

* include/ext/mt_allocator.h
(__mt_alloc::_S_thread_freelist_mutex): Guard with
__GTHREAD_MUTEX_INIT.

From-SVN: r77042

20 years agoinvoke.texi: Follow spelling conventions.
Kazu Hirata [Sat, 31 Jan 2004 17:31:40 +0000 (17:31 +0000)]
invoke.texi: Follow spelling conventions.

* doc/invoke.texi: Follow spelling conventions.
* doc/tm.texi: Likewise.

From-SVN: r77040

20 years agoinstall.texi: Fix typos.
Kazu Hirata [Sat, 31 Jan 2004 17:04:51 +0000 (17:04 +0000)]
install.texi: Fix typos.

* doc/install.texi: Fix typos.
* doc/invoke.texi: Likewise.

From-SVN: r77037

20 years agos390.c (s390_decompose_address): Do not treat virtual registers as pointers.
Ulrich Weigand [Sat, 31 Jan 2004 17:01:24 +0000 (17:01 +0000)]
s390.c (s390_decompose_address): Do not treat virtual registers as pointers.

* config/s390/s390.c (s390_decompose_address): Do not treat virtual
registers as pointers.
* config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode.

From-SVN: r77036

20 years agobasic_string.tcc (_Rep::_S_create): Minor tweak.
Paolo Carlini [Sat, 31 Jan 2004 15:39:52 +0000 (15:39 +0000)]
basic_string.tcc (_Rep::_S_create): Minor tweak.

2004-01-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.

From-SVN: r77035

20 years agocall-super-2.m: Update line numbers for the including of stddef.h.
Andrew Pinski [Sat, 31 Jan 2004 09:49:14 +0000 (09:49 +0000)]
call-super-2.m: Update line numbers for the including of stddef.h.

2004-01-30  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/call-super-2.m: Update line numbers
        for the including of stddef.h.

From-SVN: r77027