Phil Edwards [Mon, 9 Jun 2003 14:54:08 +0000 (14:54 +0000)]
acinclude.m4: Move all AM_CONDITIONAL calls out.
2003-06-09 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Move all AM_CONDITIONAL calls out.
(GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
statements.
* configure.in: Centralize AM_CONDITIONALs so that they are always
run. Make use of GLIBCPP_IS_CROSS_COMPILING.
* aclocal.m4, configure: Regenerated.
From-SVN: r67663
Nathan Sidwell [Mon, 9 Jun 2003 12:57:15 +0000 (12:57 +0000)]
tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is removed.
* tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
removed.
* java/java-tree.h (DECL_FUNCTION_LAST_LINE): New.
(struct lang_decl_func): Add last_line field.
* java/parse.h (DECL_SOURCE_LINE_MERGE, DECL_SOURCE_LINE_FIRST,
DECL_SOURCE_LINE_LAST): Remove.
* java/parse.y (missing_return_error,
finish_method_declaration, lookup_cl, start_artificial_method_body,
source_end_java_method, start_complete_expand_method): Adjust.
From-SVN: r67661
J"orn Rennecke [Mon, 9 Jun 2003 12:32:51 +0000 (12:32 +0000)]
* sh.c (gen_block_redirect): Use locators.
From-SVN: r67660
Paolo Carlini [Mon, 9 Jun 2003 11:54:53 +0000 (13:54 +0200)]
howto.html ('LWG Issues'): Add issue 235.
2003-06-09 Paolo Carlini <pcarlini@unitus.it>
* docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
From-SVN: r67659
Richard Earnshaw [Mon, 9 Jun 2003 11:27:37 +0000 (11:27 +0000)]
arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove cast to int.
* arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
cast to int.
From-SVN: r67658
Richard Sandiford [Mon, 9 Jun 2003 07:27:06 +0000 (07:27 +0000)]
configure.in: Assume gas 2.14 and above can handle MIPS relocation operators.
* configure.in: Assume gas 2.14 and above can handle MIPS relocation
operators.
* configure: Regenerated.
From-SVN: r67657
Richard Sandiford [Mon, 9 Jun 2003 07:19:14 +0000 (07:19 +0000)]
mips.h (GLOBAL_POINTER_REGNUM): New macro.
* config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
(PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
(STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
n32/64 PIC.
(MUST_SAVE_REGISTERS): Delete.
* config/mips/mips.c (mips_frame_info): Remove extra_size field.
(machine_function): Add global_pointer field.
(mips_classify_constant): Check for (const $gp) using pointer equality
with pic_offset_table_rtx.
(mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
(mips_restore_gp): Use current_function_outgoing_args_size.
(print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
GP_REG_FIRST + 28. Handle relocation strings that have
more than one '('.
(mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
(mips_global_pointer): New function.
(mips_save_reg_p): New function, mostly split out from...
(compute_frame_size): ...here. Remove handling of extra_size.
Reclaim args_size if no variables depend on it. Don't treat gp
as a special case: handle it in the main GPR loop.
(mips_initial_elimination_offset): Fix comment.
(save_restore_insns): Save every register in the GPR mask,
removing distinction between mask and real_mask.
(mips_output_function_prologue): Update .frame psuedo-op after
the removal of extra_size. Move the SVR4 PIC stack allocation
and cprestore instructions to mips_expand_prologue.
(mips_gp_insn): New function.
(mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
the chosen global pointer. Handle SVR4 PIC stack allocation
in the same way as other ABIs. Adjust varargs code accordingly.
Emit a cprestore insn after allocating the stack. Use mips_gp_insn
to emit the loadgp sequence. Follow it with a loadgp_blockage
if not using explicit relocs.
(mips_output_function_epilogue): Reinstate the default gp register.
(mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
(mips16_optimize_gp): Likewise.
* config/mips/mips.md (UNSPEC_LOADGP): Remove.
(UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
(UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
(loadgp): Remove.
(loadgp_blockage, cprestore): New instructions.
(builtin_setjmp_setup): Implement using emit_move_insn. Use
pic_offset_table_rtx.
(builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
(builtin_longjmp): Use gen_raw_REG to force use of $28.
Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
From-SVN: r67656
Richard Sandiford [Mon, 9 Jun 2003 07:10:47 +0000 (07:10 +0000)]
mips-protos.h (mips_output_division): Declare.
* config/mips/mips-protos.h (mips_output_division): Declare.
* config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
(MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
(TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
(TARGET_CHECK_ZERO_DIV): New macro.
(TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
* config/mips/mips.c (mips_output_division): New function.
* config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
account when calculating the default length of a division.
(divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
Enable regardless of optimization level. Use mips_output_division.
(divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
umoddi3_internal): Remove.
From-SVN: r67655
Richard Sandiford [Mon, 9 Jun 2003 07:01:24 +0000 (07:01 +0000)]
mips.c (mips_reg_names): Change hilo entry to "".
* config/mips/mips.c (mips_reg_names): Change hilo entry to "".
(mips_sw_reg_names): Likewise.
(mips_regno_to_class): Change hilo entry to NO_REGS.
(hilo_operand): Use MD_REG_P.
(extend_operator): New predicate.
(override_options): Remove 'a' constraint.
(mips_secondary_reload_class): Remove hilo handling. Also remove
handling of (plus sp reg) reloads for mips16.
(mips_register_move_cost): Remove hilo handling.
* config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
(MD_REG_LAST): Remove hilo from range.
(HILO_REGNUM): Delete.
(reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
(PREDICATE_CODES): Add entry for extend_operator.
(DEBUG_REGISTER_NAMES): Change hilo entry to "".
* config/mips/mips.md: Remove hilo clobbers wherever they occur.
Remove constraints from multiplication define_expands. Remove
clobbers from "decorative" define_expand patterns.
(UNSPEC_HILO_DELAY): Delete.
(*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
(mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
Adjust C code to just emit insns for !TARGET_64BIT.
(mulsidi3_internal): Rename to mulsidi3_32bit.
(mulsidi3_64bit): Use a "d" constraint for the destination.
Use extend_operator so that the pattern can handle umulsidi3 as well.
Split the instruction after reload.
(*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
(umulsidi3_internal): Rename to umulsidi3_32bit.
(umulsidi3_64bit): Remove.
(*smsac_di, *umsac_di): Line-wrap fixes.
(udivsi3_internal): Don't allow operand 2 to be constant.
(udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
(movdi_internal2, movsi_internal): Remove hilo alternatives.
(reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.
From-SVN: r67654
Richard Sandiford [Mon, 9 Jun 2003 06:55:15 +0000 (06:55 +0000)]
re PR target/10913 (mips-elf ICE in text_section at varasm.c: 241)
PR target/10913
* config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
(PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
asm_out_text_file with asm_out_file.
* config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
* config/mips/elf.h (TEXT_SECTION): Undefine.
* config/mips/elf64.h (TEXT_SECION): Undefine.
* config/mips/openbsd.h (TEXT_SECION): Undefine.
* config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
(override_options): Disable small-data optimizations unless using
gas or explicit relocations.
(mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
iris6_asm_named_section, iris6_asm_file_start): Remove code for
handling TARGET_FILE_SWITCHING.
(copy_file_data): Move into TARGET_IRIX6 block.
From-SVN: r67653
Albert Chin-A-Young [Mon, 9 Jun 2003 05:20:02 +0000 (05:20 +0000)]
re PR bootstrap/10974 (Bootstrap failure)
PR bootstrap/10974
* physmem.c: Update comment.
* configure.in: Modify test for _system_configuration for older
AIX systems.
* config.in, configure: Regenerated.
From-SVN: r67649
Richard Henderson [Mon, 9 Jun 2003 03:21:56 +0000 (20:21 -0700)]
expr.h (EXPAND_MEMORY): New.
* expr.h (EXPAND_MEMORY): New.
* expr.c (expand_expr): Check it.
* stmt.c (expand_asm_operands): Provide it when the constraint
requires a memory. Warn for memory input constraints without
a memory operand.
* gcc.dg/
20011029-2.c: Fix the array reference.
* gcc.dg/asm-7.c: New.
From-SVN: r67645
Kaveh R. Ghazi [Mon, 9 Jun 2003 02:20:32 +0000 (02:20 +0000)]
* varasm.c: Don't include c-tree.h.
From-SVN: r67644
GCC Administrator [Mon, 9 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67642
Anthony Green [Sun, 8 Jun 2003 22:07:48 +0000 (22:07 +0000)]
URLStreamHandler.java (sameFile): Fix port value comparison.
2003-06-08 Anthony Green <green@redhat.com>
* java/net/URLStreamHandler.java (sameFile): Fix port value
comparison.
* java/net/URL.java (handler): Make package private.
* gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
From-SVN: r67640
Andreas Jaeger [Sun, 8 Jun 2003 20:08:10 +0000 (22:08 +0200)]
Add missing ChangeLog entry.
From-SVN: r67639
Kazu Hirata [Sun, 8 Jun 2003 19:38:00 +0000 (19:38 +0000)]
* gcc.c-torture/compile/
20000804-1.x: Dsiable on h8300 port.
From-SVN: r67638
Jan Hubicka [Sun, 8 Jun 2003 19:35:54 +0000 (21:35 +0200)]
cfglayout.c (insn_scope): New static function
* cfglayout.c (insn_scope): New static function
(block_locators_*, line_locators*, file_locators*): New static varrays.
(scope_to_insns_initialize): Use them.
(insn_line, insn_file): New functions.
(scope_to_insns_finalize): Use insn_scope.
(prologue_locator, epilogue_locator): New global variables.
* emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
make_call_insn_raw, emit_copy_of_insn_after): Use locators.
(emit_insn_after_scope, emit_insn_before_scope
emit_jump_insn_after_scope, emit_jump_insn_before_scope
emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
(emit_insn_after_setloc, emit_insn_before_setloc
emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
use locators.
* final.c (notice_source_line): Use locators.
(final_start_function): Set initial source file and line.
(final_scan_insn): Use locators.
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
noce_process_if_block, find_cond_trap): Likewise.
* integrate.c (copy_insn_list): Likewise.
* jump.c (duplicate_loop_exit_test): LIkewise.
* print-rtl.c (print_rtx): Print locators.
* recog.c (peephole2_optimize): Likewise.
* rtl.h (INSN_SCOPE): Remove.
(emit_insn_after_scope, emit_insn_before_scope
emit_jump_insn_after_scope, emit_jump_insn_before_scope
emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
(emit_insn_after_setloc, emit_insn_before_setloc
emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
(insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
* unroll.c (copy_loop_body): Use locators.
* function.c (set_insn_locators): New function.
(thread_prologue_and_epilogue_insns): Set the locators accordingly.
From-SVN: r67637
Kazu Hirata [Sun, 8 Jun 2003 19:30:59 +0000 (19:30 +0000)]
h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
* config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
* config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf
_fixsfdi _fixunssfdi.
(LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2,
popcounthi2.
(TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI.
* config/h8300/clzhi2.c: New.
* config/h8300/ctzhi2.c: Likewise.
* config/h8300/parityhi2.c: Likewise.
* config/h8300/popcounthi2.c: Likewise.
From-SVN: r67636
Mark Mitchell [Sun, 8 Jun 2003 19:22:51 +0000 (19:22 +0000)]
gcc-dg.exp (dg-require-alias): Fix typo.
* lib/gcc-dg.exp (dg-require-alias): Fix typo.
(dg-require-gc-sections): Likewise.
From-SVN: r67635
Tom Tromey [Sun, 8 Jun 2003 19:02:17 +0000 (19:02 +0000)]
jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and fno-assume-compiled.
* jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and
fno-assume-compiled.
From-SVN: r67634
Tom Tromey [Sun, 8 Jun 2003 19:00:02 +0000 (19:00 +0000)]
For PR libgcj/11085:
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
Limit number of characters in numeric field when required.
* java/text/DecimalFormat.java (parse(String,ParsePosition)):
Respect maximumIntegerDigits.
From-SVN: r67633
Roger Sayle [Sun, 8 Jun 2003 18:17:53 +0000 (18:17 +0000)]
builtins.c (define_builtin_type, [...]): Delete.
* builtins.c (define_builtin_type, builtin_types): Delete.
(define_builtin): Rewritten to take just the built-in code,
the function's name, type and fallback library function name.
All built-ins used by Java are implicit and BUILT_IN_NORMAL.
(initialize_builtins): Overhaul to define the GCC builtins
used by gcj manually, providing the Java run-time's
implementations as the fallback library function.
* libjava.lang/MathBuiltin.java: New test case.
* libjava.lang/MathBuiltin.out: New file.
From-SVN: r67632
Anthony Green [Sun, 8 Jun 2003 18:10:54 +0000 (18:10 +0000)]
��> 2003-06-07�� Anthony Green�� <green@redhat.com> ��>...
��> 2003-06-07�� Anthony Green�� <green@redhat.com>
��>
��>������������* parse.y (patch_cast): Fix conversions from floating-point to
��>������������integral types.
From-SVN: r67631
Jan Hubicka [Sun, 8 Jun 2003 14:50:18 +0000 (16:50 +0200)]
i386.md (subsi_3_zext, [...]): Fix predicates.
* i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
* i386.c (k8_avoid_jump_misspredicts): Fix debug output.
* cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here.
(dump_bb): New based on old dump_bb in cfgrtl.c
(debug_bb, debug_bb_n): Move the functions from cfgrtl.c here.
* cfghooks.h (cfgh_verify_flow_info): Return status.
* cfglayout.c (cfg_layout_finalize): Verify CFG correctness.
* cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c
(dump_bb): Remove generic parts.
(rtl_verify_flow_info_1): Break out from rtl_verify_flow_info.
(rtl_verify_flow_info): Only check things dependeing on linearized RTL.
* i386-cmov1.c: Fix regular expression.
* i386-cvt-1.c: Likewise.
* i386-local.c: Likewise.
* i386-local2.c: Likewise.
* i386-mul.c: Likewise.
* i386-ssetype-1.c: Likewise.
* i386-ssetype-3.c: Likewise.
* i386-ssetype-5.c: Likewise.
From-SVN: r67630
Neil Booth [Sun, 8 Jun 2003 14:42:06 +0000 (14:42 +0000)]
Make-lang.in (F77_OBJS, [...]): Update.
* Make-lang.in (F77_OBJS, f77.mostlyclean, f/com.o): Update.
(f/f-options.c, f/f-options.h): New.
* com.c: Include opts.h and f-options.h.
(ffecom_decode_include_option_): Remove.
(LANG_HOOKS_HANDLE_OPTION): New.
(LANG_HOOKS_DECODE_OPTION): Drop.
(struct file_name_list, ffecom_decode_include_option,
ffecom_open_include_): Constify.
* com.h (ffecom_decode_include_option): Update.
* lang.opt: New.
* top.c: Include f-options.h, opts.h.
(ffe_is_digit_string_): Constify.
(ffe_decode_option): Transform to ffe_handle_option.
* top.h (ffe_decode_option): Replace with ffe_handle_option.
From-SVN: r67628
Andreas Jaeger [Sun, 8 Jun 2003 14:22:24 +0000 (16:22 +0200)]
Make-lang.in: Update.
* Make-lang.in: Update.
* treetree.c: Include opts.h. Define cl_options_count and cl_options.
From-SVN: r67627
Andreas Jaeger [Sun, 8 Jun 2003 14:21:54 +0000 (16:21 +0200)]
predict.h: Convert to ISO C90 prototypes.
* predict.h: Convert to ISO C90 prototypes.
* predict.c: Likewise.
* tree-dump.h: Likewise.
* tree-dump.c: Likewise.
* diagnostic.h: Likewise.
* diagnostic.c: Likewise.
* combine.c: Likewise.
* rtl.h: Convert prototypes of combine.c to ISO C90.
From-SVN: r67626
Andreas Jaeger [Sun, 8 Jun 2003 13:56:35 +0000 (15:56 +0200)]
std.c: Remove #if 0'ed functions.
* std.c: Remove #if 0'ed functions.
* sta.c: Remove usage of HARD_F90, FFESTR_F90 and FFESTR_VXT.
* stb.c: Likewise.
* stb.h: Likewise.
* stc.c: Likewise.
* stc.h: Likewise.
* std.c: Likewise.
* std.h: Likewise.
* ste.c: Likewise.
* ste.h: Likewise.
* str.h (FFESTR_F90): Remove macro.
(FFESTR_VXT): Remove macro.
From-SVN: r67625
Eric Botcazou [Sun, 8 Jun 2003 12:48:29 +0000 (12:48 +0000)]
Fixed garbage in my last entry.
From-SVN: r67624
Neil Booth [Sun, 8 Jun 2003 12:24:23 +0000 (12:24 +0000)]
Make-lang.in: Update.
2003-06-08 Neil Booth <neil@daikokuya.co.uk>
* Make-lang.in: Update.
* misc.c: Include opts.h. Define cl_options_count and cl_options.
From-SVN: r67623
Andreas Jaeger [Sun, 8 Jun 2003 12:22:25 +0000 (14:22 +0200)]
bld.c: Remove usage of FFETARGET_okCHARACTER2...
* bld.c: Remove usage of FFETARGET_okCHARACTER2,
FFETARGET_okCHARACTER3, FFETARGET_okCHARACTER4,
FFETARGET_okCHARACTER5, FFETARGET_okCHARACTER6,
FFETARGET_okCHARACTER7, FFETARGET_okCHARACTER8,
FFETARGET_okCOMPLEX4, FFETARGET_okCOMPLEX5, FFETARGET_okCOMPLEX6,
FFETARGET_okCOMPLEX7, FFETARGET_okCOMPLEX8, FFETARGET_okINTEGER5,
FFETARGET_okINTEGER6, FFETARGET_okINTEGER7, FFETARGET_okINTEGER8,
FFETARGET_okLOGICAL5, FFETARGET_okLOGICAL6, FFETARGET_okLOGICAL7,
FFETARGET_okLOGICAL8, FFETARGET_okREAL4, FFETARGET_okREAL5,
FFETARGET_okREAL6, FFETARGET_okREAL7 and FFETARGET_okREAL8.
* bld.h: Likewise.
* expr.c: Likewise.
* target.h: Likewise.
* com.c: Likewise.
From-SVN: r67622
Neil Booth [Sun, 8 Jun 2003 11:27:44 +0000 (11:27 +0000)]
Make-lang.in: Update.
f:
* Make-lang.in: Update.
* top.c: Include opts.h. Define cl_options_count and cl_options.
java:
* Make-lang.in: Update.
* lang.c: Include opts.h. Define cl_options_count and cl_options.
From-SVN: r67621
Kriang Lerdsuwanakij [Sun, 8 Jun 2003 11:08:00 +0000 (11:08 +0000)]
re PR c++/11039 (Bad interaction between implicit typename deprecation and friendship)
PR c++/11039
* g++.dg/warn/implicit-typename2.C: New test.
* g++.dg/warn/implicit-typename3.C: New test.
From-SVN: r67620
Michael Koch [Sun, 8 Jun 2003 10:12:09 +0000 (10:12 +0000)]
2003-06-08 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
(Socket): Dont initialize inputShutdown and outputShutdown twice,
call bind() and connect() to actually do the bind and connect tasks.
(bind): Connect to canonical address if bindpoint is null, create
socket and bind it to bindpoint.
(connect): Check for exceptions.
From-SVN: r67618
Michael Koch [Sun, 8 Jun 2003 09:25:54 +0000 (09:25 +0000)]
2003-06-08 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java
(DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
into the Multicast constructors.
* java/net/DatagramSocketImpl.java
(getOption): Removed.
(setOption): Removed.
* java/net/MulticastSocket.java
(MulticastSocket): Call setReuseAddress (true).
* java/net/SocketImpl.java
(getOption): Removed.
(setOption): Removed.
From-SVN: r67617
Neil Booth [Sun, 8 Jun 2003 07:55:18 +0000 (07:55 +0000)]
* Makfile.in, cp/Make-lang.in: Forgotten commit.
From-SVN: r67616
Neil Booth [Sun, 8 Jun 2003 07:54:10 +0000 (07:54 +0000)]
Makefile.in: Rename options.c and options.h to c-options.c and c-options.h.
* Makefile.in: Rename options.c and options.h to c-options.c and
c-options.h.
(OBJS): Remove options.o.
* c-opts.c: Don'tInclude c-options.h instead of options.h.
* opts.c: Don't include options.h.
(find_opt): Can't use enum opt_code or N_OPTS.
* opts.h (struct cl_option, cl_options, cl_options_count): Move from...
* opts.sh: ... here.
From-SVN: r67615
Eric Botcazou [Sun, 8 Jun 2003 06:41:28 +0000 (06:41 +0000)]
re PR pch/9830 (PCH not working on Solaris)
PR pch/9830
* ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
if HAVE_MINCORE is defined.
(MAP_FAILED): Define if not defined.
(gt_pch_save): Test against MAP_FAILED.
(gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
the mapping address to the preferred base after checking it
is possible to do so. Test against MAP_FAILED.
* configure.in: Test for the presence of mincore in libc.
* config.in: Regenerate.
* configure: Regenerate.
From-SVN: r67614
Tim Josling [Sun, 8 Jun 2003 06:19:24 +0000 (06:19 +0000)]
treelang fix for rs6000.
From-SVN: r67613
Richard Henderson [Sun, 8 Jun 2003 05:14:58 +0000 (22:14 -0700)]
alpha.c (alpha_setup_incoming_varargs): Fix conditional compilation guard.
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix
conditional compilation guard.
From-SVN: r67612
Kazu Hirata [Sun, 8 Jun 2003 04:27:11 +0000 (04:27 +0000)]
optabs.c (expand_abs): Set result_unsignedp to 1 if flag_trav is zero.
* optabs.c (expand_abs): Set result_unsignedp to 1 if
flag_trav is zero.
From-SVN: r67611
Jeff Sturm [Sun, 8 Jun 2003 01:35:32 +0000 (01:35 +0000)]
re PR libgcj/10886 (The RMI registry that comes with GCJ does not work correctly)
PR libgcj/10886:
* gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
Test for empty vector.
From-SVN: r67610
GCC Administrator [Sun, 8 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67608
Richard Henderson [Sat, 7 Jun 2003 23:57:11 +0000 (16:57 -0700)]
Add commentary.
From-SVN: r67606
Richard Henderson [Sat, 7 Jun 2003 22:18:13 +0000 (15:18 -0700)]
* c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
From-SVN: r67605
Richard Henderson [Sat, 7 Jun 2003 21:53:53 +0000 (14:53 -0700)]
offsetof3.C: Use size_t.
* g++.dg/other/offsetof3.C: Use size_t.
* g++.dg/other/offsetof4.C: Likewise.
From-SVN: r67603
Richard Henderson [Sat, 7 Jun 2003 21:30:49 +0000 (14:30 -0700)]
basic-block.h (EDGE_SIBCALL): New.
* basic-block.h (EDGE_SIBCALL): New.
(EDGE_ALL_FLAGS): Update.
* cfg.c (dump_edge_info): Add sibcall name.
* cfgbuild.c (make_edges): Use EDGE_SIBCALL.
* cfgrtl.c (purge_dead_edges): Handle sibcalls.
From-SVN: r67602
Andreas Jaeger [Sat, 7 Jun 2003 18:50:54 +0000 (20:50 +0200)]
mklibgcc.in (lib2funcs): Remove _exit.
* mklibgcc.in (lib2funcs): Remove _exit.
* libgcc2.c: Remove L_exit.
* gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.
* system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.
* doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.
From-SVN: r67599
Mark Wielaard [Sat, 7 Jun 2003 18:38:09 +0000 (18:38 +0000)]
Security.java (secprops): Initialize.
* java/security/Security.java (secprops): Initialize.
(loadProviders): Return boolean.
(static): Check result of loadProvider calls. If necessary
display WARNING and fallback to Gnu provider.
From-SVN: r67597
Andreas Jaeger [Sat, 7 Jun 2003 18:35:35 +0000 (20:35 +0200)]
ggc.h: Convert to ISO C90 prototypes.
* ggc.h: Convert to ISO C90 prototypes.
* ggc-none.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
From-SVN: r67596
Mark Wielaard [Sat, 7 Jun 2003 18:35:00 +0000 (18:35 +0000)]
re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)
2002-06-06 James Clark <jjc@jclark.com>
Fix for PR libgcj/8738:
* gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
* gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
* gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
(write): Always decrease avail when count is increased.
* java/lang/natString.cc (getBytes): Check converter havePendingBytes()
and whether output buffer is full before increasing size.
2002-06-06 Mark Wielaard <mark@klomp dot org>
* java/io/PrintStream.java (writeChars(char[],int, int)):
Check converter.havePendingBytes().
(writeChars(String,int,int)): Likewise.
* java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
Check converter.havePendingBytes() and flush buffer when stalled.
From-SVN: r67595
Andreas Jaeger [Sat, 7 Jun 2003 17:52:49 +0000 (19:52 +0200)]
symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK.
* symbol.c (ffesymbol_new_): Remove tests for macro
FFECOM_symbolHOOK.
* symbol.h: Likewise.
* storag.c (ffestorag_new): Remove tests for macro
FFECOM_storageHOOK.
* storag.h: Likewise.
* lab.c (ffelab_new): Remove tests for macro FFECOM_labelHOOK.
* lab.h: Likewise.
* global.c: Remove tests for macro FFECOM_globalHOOK.
* global.h (struct _ffeglobal_): Likewise.
* bld.h: Remove tests for macros FFECOM_constantHOOK,
FFECOM_nonterHOOK, FFECOM_globalHOOK, FFECOM_labelHOOK,
FFECOM_storageHOOK, FFECOM_symbolHOOK.
Remove code dependend on FFECOM_itemHOOK.
* bld.c: Likewise.
* com.h (FFECOM_constantHOOK): Remove define.
(FFECOM_nonterHOOK): Remove.
(FFECOM_globalHOOK): Remove.
(FFECOM_labelHOOK): Remove.
(FFECOM_storageHOOK): Remove.
(FFECOM_symbolHOOK): Remove.
* com.c (ffecom_get_external_identifier_): Remove usage of
FFETARGET_isENFORCED_MAIN_NAME.
* bld.c: Remove code dependend on FFEBLD_BLANK_, FFECOM_itemHOOK.
(ffebld_new_accter): Likewise.
(ffebld_new_arrter): Likewise.
(ffebld_new_conter_with_orig): Likewise.
(ffebld_new_item): Likewise.
(ffebld_new_labter): Likewise.
(ffebld_new_labtok): Likewise.
(ffebld_new_none): Likewise.
(ffebld_new_one): Likewise.
(ffebld_new_symter): Likewise.
(ffebld_new_two): Likewise.
From-SVN: r67594
Andreas Jaeger [Sat, 7 Jun 2003 17:30:32 +0000 (19:30 +0200)]
crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
* crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
* system.h: Poison INIT_SECTION_PREAMBLE.
From-SVN: r67593
Andreas Jaeger [Sat, 7 Jun 2003 17:28:01 +0000 (19:28 +0200)]
* cp/decl.c (xref_tag): Remove undefined macro NONNESTED_CLASSES.
From-SVN: r67592
Zack Weinberg [Sat, 7 Jun 2003 17:11:48 +0000 (17:11 +0000)]
config.gcc (with_cpu handling): Translate sparc64 in $machine to --with-cpu=v9.
* config.gcc (with_cpu handling): Translate sparc64 in
$machine to --with-cpu=v9.
* config/alpha/alpha.c
(TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
(alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.
* target.h: New hook asm_out.file_end.
* target.h: Update to match. New hook macro TARGET_ASM_FILE_END.
* toplev.c (compile_file: Use targetm.asm_out.file_end.
* system.h: Poison ASM_FILE_END.
* varasm.c (file_end_indicate_exec_stack): New.
* output.h: Prototype it.
* doc/tm.texi: Document TARGET_ASM_FILE_END and
file_end_indicate_exec_stack. Delete references to attasm.h.
* config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
(ASM_FILE_END): Delete; move code...
* config/darwin.c (darwin_file_end): Here; new function.
* config/darwin-protos.h: Prototype it.
* config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
rename unicosmk_file_end.
* config/arm/aof.h (ASM_FILE_END): Delete; move code...
* config/arm/arm.c (aof_file_end): ... here; new static function.
Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
Make aof_dump_imports and aof_dump_pic_table static.
* config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
Set TARGET_ASM_FILE_END to avr_file_end.
* config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments.
Set TARGET_ASM_FILE_END to c4x_file_end.
* config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
make static. Take no arguments. Set TARGET_ASM_FILE_END to
h8300_file_end.
* config/i370/i370.h (ASM_FILE_END): Delete; move code...
* config/i370/i370.c (i370_file_end): ... here; new static function.
Set TARGET_ASM_FILE_END to i370_file_end.
* config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
Take no arguments. Call file_end_indicate_exec_stack if
NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
* config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
Define NEED_INDICATE_EXEC_STACK to 0.
* config/i386/linux.h, config/i386/linux64.h: Redefine
NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
* config/i386/winnt.c (i386_pe_asm_file_end): Rename to
i386_pe_file_end. Take no arguments. Use ix86_file_end.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
ia64_hpux_file_end, make static. Take no arguments.
* config/ip2k/ip2k.c (asm_file_start, asm_file_end,
commands_in_prologues, commands_in_epilogues): Delete.
(function_epilogue): Update to match.
* config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
make static. Take no arguments.
(iris6_asm_file_end): Rename iris6_file_end, make static, use
mips_file_end, take no arguments.
Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
appropriate.
* config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
make static, take no arguments. Set TARGET_ASM_FILE_END to
mmix_file_end.
* config/pa/pa.c (output_deferred_plabels): Make static, take
no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels.
* config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
(ASM_FILE_END): Delete; move code...
* config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
new static function.
* config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
* config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
Don't set ASM_FILE_END.
* config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
* config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
* config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
file_end_indicate_exec_stack; don't set ASM_FILE_END.
* config/alpha/unicosmk.h, config/i386/cygming.h
* config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
* config/arm/arm-protos.h, config/alpha/alpha-protos.h
* config/avr/avr-protos.h, config/c4x/c4x-protos.h
* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
* config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
* config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.
From-SVN: r67591
Jan Hubicka [Sat, 7 Jun 2003 16:32:58 +0000 (18:32 +0200)]
i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is specified.
* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
specified.
From-SVN: r67590
H.J. Lu [Sat, 7 Jun 2003 14:55:56 +0000 (14:55 +0000)]
copy-file.exp: New.
2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
* lib/copy-file.exp: New. Implement gcc_copy_files.
* lib/dg-pch.exp: Load copy-file.exp
(dg-pch): Use gcc_copy_files instead of "file copy".
From-SVN: r67588
Michael Koch [Sat, 7 Jun 2003 14:30:32 +0000 (14:30 +0000)]
2003-06-07 Michael Koch <konqueror@gmx.de>
* include/posix.h
(O_DSYNC): Define O_DSYNC on platforms not
supporting O_FSYNC (newlib).
From-SVN: r67587
Jan Hubicka [Sat, 7 Jun 2003 13:23:09 +0000 (15:23 +0200)]
Makefile.in (stageprofile_build): Kill redundant target.
* Makefile.in (stageprofile_build): Kill redundant target.
* i386.c (mdep_reorg): Don't pad jumps for Athlon.
From-SVN: r67586
Andreas Jaeger [Sat, 7 Jun 2003 11:46:11 +0000 (13:46 +0200)]
tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
* doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
* config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/i386/i386.h: Likewise.
* config/ip2k/ip2k.h: Likewise.
From-SVN: r67585
Neil Booth [Sat, 7 Jun 2003 11:10:46 +0000 (11:10 +0000)]
Makefile.in (OJBS, c-opts.o): Update.
* Makefile.in (OJBS, c-opts.o): Update.
(c-options.c, c-options.h): Rename options.h and options.c.
(options.h): Rename options_.h.
(opts.o): New.
* c-common.h (c_common_handle_option): Replace c_common_decode_option.
(c_common_init_options): Update prototype.
* c-lang.c (c_init_options): Update prototype.
(LANG_HOOKS_HANDLE_OPTION): Override.
(LANG_HOOKS_DECODE_OPTION): Drop.
* c-opts.c: Include opts.h and options.h instead of c-options.h
and c-options.c.
(lang_flags): Move to file scope.
(find_opt, c_common_decode_option): Remove.
(CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
CL_REJECT_NEGATIVE): Move to opts.h.
(missing_arg): Update prototype.
(c_common_init_options): Update for new prototype.
(c_common_handle_options): Filenames are passed as N_OPTS.
* hooks.c (hook_int_void_0): New.
* hooks.h (hook_int_void_0): New.
* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
(LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (init_options): Update.
(handle_option): New.
* opts.c, opts.h: New files.
* opts.sh: Update c file to include opts.h and options.h.
* toplev.c: Include opts.h; change options.h to options_.h.
(parse_options_and_default_flags): Get lang_mask, use
handle_option for language-specific handling.
* objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
(objc_init_options): Update.
ada:
* misc.c (gnat_init_options): Update.
cp:
* cp-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
(LANG_HOOKS_HANDLE_OPTION): Override.
* cp-tree.h (cxx_init_options): Update.
* lex.c (cxx_init_options): Update.
f:
* com.c (ffe_init_options): Update.
java:
* lang.c (java_init_options): Update.
From-SVN: r67584
Jim Wilson [Sat, 7 Jun 2003 07:39:39 +0000 (00:39 -0700)]
Forgot to indicate PR number on last checkin.
From-SVN: r67583
Magnus Kreth [Sat, 7 Jun 2003 07:38:32 +0000 (07:38 +0000)]
re PR other/7031 (program-suffix not respected in make install)
PR other/7031
* Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
gcov.
Co-Authored-By: Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
From-SVN: r67582
Kelley Cook [Sat, 7 Jun 2003 07:28:15 +0000 (07:28 +0000)]
configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in section names.
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
section names.
* configure: Regenerate.
From-SVN: r67580
Alan Modra [Sat, 7 Jun 2003 06:11:18 +0000 (06:11 +0000)]
* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
From-SVN: r67578
James E Wilson [Sat, 7 Jun 2003 05:33:00 +0000 (22:33 -0700)]
re PR inline-asm/10890 (ICE in merge_assigned_reloads building Linux 2.4.2x sched.c)
PR inline-asm/10890
* reload1.c (merge_assigned_reloads): Abort only if two reloads have
different in fields.
From-SVN: r67577
Nathanael Nerode [Sat, 7 Jun 2003 02:51:06 +0000 (02:51 +0000)]
configure.in: Make $(target_subdir) correspond with top level usage.
* configure.in: Make $(target_subdir) correspond with top level usage.
* Makefile.in: Likewise.
* configure: Regenerate.
From-SVN: r67575
GCC Administrator [Sat, 7 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67573
Mark Mitchell [Fri, 6 Jun 2003 21:34:41 +0000 (21:34 +0000)]
weak.exp: Simplify.
* gcc.dg/weak/weak.exp: Simplify.
* gcc.dg/weak/typeof-2.c: Use dg-require-weak.
* gcc.dg/weak/weak-1.c: Likewise.
* gcc.dg/weak/weak-2.c: Likewise.
* gcc.dg/weak/weak-3.c: Likewise.
* gcc.dg/weak/weak-4.c: Likewise.
* gcc.dg/weak/weak-5.c: Likewise.
* gcc.dg/weak/weak-6.c: Likewise.
* gcc.dg/weak/weak-7.c: Likewise.
* gcc.dg/weak/weak-8.c: Likewise.
* gcc.dg/weak/weak-9.c: Likewise.
From-SVN: r67571
John David Anglin [Fri, 6 Jun 2003 21:10:59 +0000 (21:10 +0000)]
pa.h (ASM_OUTPUT_SKIP, [...]): Cast `SIZE' and `ALIGNED' parameters to unsigned HOST_WIDE_INT.
* pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
unsigned HOST_WIDE_INT.
* pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.
* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
Likewise.
From-SVN: r67570
Kaveh R. Ghazi [Fri, 6 Jun 2003 18:08:37 +0000 (18:08 +0000)]
install.texi (Prerequisites): New section documenting tools and packages necessary prior to building and/or...
* doc/install.texi (Prerequisites): New section documenting
tools and packages necessary prior to building and/or
modifying GCC.
* doc/install.texi2html: Also generate prerequisites.html.
From-SVN: r67562
Nathan Myers [Fri, 6 Jun 2003 17:19:56 +0000 (17:19 +0000)]
2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
* include/bits/stl_iterator.h
(reverse_iterator::reverse_iterator()): Apply DR235: default
constructor default-initializes data member. Instantiated on a
pointer type, the member has to end up equal to zero.
From-SVN: r67559
Richard Earnshaw [Fri, 6 Jun 2003 17:19:06 +0000 (17:19 +0000)]
re PR target/11052 ([arm] noce_process_if_block() can loose REG_INC notes)
PR target/11052
* ifcvt.c (noce_process_if_block): Fail if the destination has
side-effects.
gcc.c-torture/execute/
20030606-1.c: New.
From-SVN: r67558
Jason Merrill [Fri, 6 Jun 2003 17:03:32 +0000 (13:03 -0400)]
stmt.c (resolve_asm_operand_names): Rename from resolve_operand_names.
* stmt.c (resolve_asm_operand_names): Rename from
resolve_operand_names. No longer static. Avoid needless copying.
Don't build array of constraints.
(expand_asm_operands): Build it here.
* tree.h: Declare resolve_asm_operand_names.
* stmt.c (expand_decl): Put artificial vars into registers even
when not optimizing, and don't mark the regs as user vars.
From-SVN: r67556
J"orn Rennecke [Fri, 6 Jun 2003 16:49:47 +0000 (16:49 +0000)]
sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode of the generated register.
* sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
of the generated register.
From-SVN: r67555
Daniel Jacobowitz [Fri, 6 Jun 2003 16:23:21 +0000 (16:23 +0000)]
* config.gcc: Add a missing sparc64 case.
From-SVN: r67554
Roger Sayle [Fri, 6 Jun 2003 16:15:50 +0000 (16:15 +0000)]
builtins-2.c: Correct check-in of incorrect version.
* gcc.dg/builtins-2.c: Correct check-in of incorrect version.
* gcc.dg/builtins-19.c: Likewise. Sorry.
From-SVN: r67553
Benjamin Kosnik [Fri, 6 Jun 2003 15:50:28 +0000 (15:50 +0000)]
stl_alloc.h: Cleanups.
2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Cleanups.
* include/ext/functional: Same.
* include/ext/hash_map: Same.
* include/ext/hash_set: Same.
* include/ext/iterator: Same.
* include/ext/memory: Same.
* include/ext/numeric: Same.
* include/ext/rb_tree: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/stl_rope.h: Move to...
* include/ext/rope: ...here.
* include/ext/stl_hash_fun.h: Move to...
* include/ext/hash_fun.h: ...here.
* include/ext/stl_hashtable.h: Move to...
* include/ext/hashtable.h: ...here.
* include/backward/hashtable.h: Reflect new names.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerated.
From-SVN: r67551
Jakub Jelinek [Fri, 6 Jun 2003 14:30:31 +0000 (16:30 +0200)]
mklibgcc.in: Propagate .note.GNU-stack section if needed into the .hidden assembly stubs.
* mklibgcc.in: Propagate .note.GNU-stack section if needed into
the .hidden assembly stubs.
From-SVN: r67545
H.J. Lu [Fri, 6 Jun 2003 14:06:41 +0000 (07:06 -0700)]
Apply the right patch.
From-SVN: r67544
H.J. Lu [Fri, 6 Jun 2003 13:52:17 +0000 (13:52 +0000)]
config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-* and x86_64-*-*.
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
and x86_64-*-*.
* config/i386/mmintrin.h: Update version and add alternate
intrinsic names.
* config/i386/xmmintrin.h: Likewise.
* config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
intrinsics to ...
* config/i386/emmintrin.h: Here. New file.
From-SVN: r67543
Mark Wielaard [Fri, 6 Jun 2003 13:12:47 +0000 (13:12 +0000)]
Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
AWTError.
From-SVN: r67542
Roger Sayle [Fri, 6 Jun 2003 12:36:26 +0000 (12:36 +0000)]
fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding fabs(-x) into fabs(x).
* fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding
fabs(-x) into fabs(x). Use tree_expr_nonnegative_p to determine
when the ABS_EXPR (fabs or abs) is not required.
(tree_expr_nonnegative_p): Move the logic that sqrt and exp are
always nonnegative from fold to here. Additionally, cabs and fabs
are always non-negative, and pow and atan are non-negative if
their first argument is non-negative.
* builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
Evaluate cabs of a constant at compile-time. Convert cabs of a
non-complex argument into fabs. Convert cabs(z) into
sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
-funsafe-math-optimizations or -ffast-math.
(fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.
* gcc.dg/builtins-2.c: Add some more tests.
* gcc.dg/builtins-18.c: New test case.
* gcc.dg/builtins-19.c: New test case.
From-SVN: r67541
Roger Sayle [Fri, 6 Jun 2003 12:29:13 +0000 (12:29 +0000)]
uninit-C.c: Only test TImode on 64-bit platforms.
* gcc.dg/uninit-C.c: Only test TImode on 64-bit platforms.
Co-Authored-By: James E Wilson <wilson@tuliptree.org>
From-SVN: r67540
Jan Hubicka [Fri, 6 Jun 2003 11:24:47 +0000 (13:24 +0200)]
* sourcebuild.texi (Front End Directory): Document new hooks.
From-SVN: r67539
Jakub Jelinek [Fri, 6 Jun 2003 10:11:06 +0000 (12:11 +0200)]
string-4.c (main_test): Allow some mempcpy/stpcpy calls not to be optimized into something else.
* gcc.c-torture/execute/builtins/string-4.c (main_test): Allow some
mempcpy/stpcpy calls not to be optimized into something else.
* gcc.c-torture/execute/string-opt-3.c: Moved to...
* gcc.c-torture/execute/builtins/string-7.c: ...here.
* gcc.c-torture/execute/builtins/string-7-lib.c: New.
From-SVN: r67538
Mark Wielaard [Fri, 6 Jun 2003 10:03:30 +0000 (10:03 +0000)]
re PR libgcj/6181 (Mauve Introspector.jdk11: getBeanInfo fail for AWT classes)
* libjava.mauve/mauve.exp (test_mauve): Add -wno-deprecated to GCJ.
PR libgcj/6181:
* libjava.mauve/xfails: Remove getBeanInfo() failures.
PR libgcj/6293:
* libjava.mauve/xfails: Remove PipedStream.close() failure.
From-SVN: r67536
Jan Hubicka [Fri, 6 Jun 2003 09:24:26 +0000 (11:24 +0200)]
function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
* function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
* i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic stack frames.
(pro_epilogue_adjust_stack_rex64_2): New pattern
* cfghooks.h, cfghooks.c: New files.
* Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
(OBJS): Add cfghooks.o.
(cfghooks.o): New rule.
* basic-block.h (split_edge): Rename to rtl_split_edge.
(verify_flow_info): Rename to rtl_verify_flow_info.
(cfghooks.h): Included here.
* cfgrtl.c (split_edge): Renamed rtl_split_edge.
(verify_flow_info): Renamed rtl_verify_flow_info.
* toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.
* basic-block.h (split_block, split_edge, flow_delete_block,
redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
(flow_delete_block_noexpunge): Return void.
* cfg.c (verify_flow_info): New function.
* cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
Use delete_block.
* cfglayout.c (function_footer): Rename to...
(cfg_layout_function_footer): ... this variable
(unlink_insn_chain): Make global.
(fixup_reorder_chain, record_effective_endpoints): Update.
(cleanup_unconditional_jumps): Use delete_block.
(cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
(cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
(cfg_layout_initialize, cfg_layout_finalize): Update hooks.
* cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block): Delete.
(cfg_layout_function_footer): Declare.
* cfgloopmanip (split_loop_bb): Do not update RBI.
(remove_bbs): Use delete_block.
(loop_reidrect_edge, loop_delete_branch_edge): Use
redirect_edge_and_branch.
(create_preheader): Use split_block and redirect_edge_and_branch_force.
(split_edge_with): Likewise.
* cfgrtl.c: Include cfglayout.h
(split_edge): Rename to ...
(rtl_split_edge) ... this one; make local.
(redirect_edge_and_branch): Rename to ...
(rtl_redirect_edge_and_branch) ... this one; make local.
(redirect_edge_and_branch_force): Rename to ...
(rtl_redirect_edge_and_branch_force) ... this one; make local.
(cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
(cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
cfglayout.c; update to directly call RTL counterparts.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
* ifcvt.c (find_cond_trap): Use delete_block.
(find_if_case_1): Use delete_block.
(find_if_case_2): Use delete_block.
* rtl.h (unlink_insn_chain): Declare.
* toplev.c (rtl_reigster_cfg_hooks): New.
From-SVN: r67535
Richard Henderson [Fri, 6 Jun 2003 07:06:21 +0000 (00:06 -0700)]
* recog.c (peephole2_optimize): Revert last change.
From-SVN: r67533
Richard Henderson [Fri, 6 Jun 2003 07:00:23 +0000 (00:00 -0700)]
recog.c (peephole2_optimize): Don't split block unless can_throw_internal.
* recog.c (peephole2_optimize): Don't split block unless
can_throw_internal.
From-SVN: r67532
Michael Koch [Fri, 6 Jun 2003 06:21:02 +0000 (06:21 +0000)]
BasicOptionPaneUI.java: More compile fixes from my stupid work yesterday.
2003-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
More compile fixes from my stupid work yesterday.
From-SVN: r67531
Kazu Hirata [Fri, 6 Jun 2003 05:28:07 +0000 (05:28 +0000)]
h8300.c (get_shift_alg): Correct the syntax of rotxl.
* config/h8300/h8300.c (get_shift_alg): Correct the syntax of
rotxl.
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
Likewise.
From-SVN: r67530
Matt Kraai [Fri, 6 Jun 2003 04:50:08 +0000 (04:50 +0000)]
Make-lang.in (ada/b_gnatb.o-warn): Remove.
* Make-lang.in (ada/b_gnatb.o-warn): Remove.
* bindgen.adb (Gen_Main_C): Mark ensure_reference with
__attribute__ ((__unused__)).
From-SVN: r67529
Kelley Cook [Fri, 6 Jun 2003 04:33:03 +0000 (04:33 +0000)]
re PR rtl-optimization/4490 (ICE with -m128bit-long-double)
PR optimization/4490
* config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
* doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword
documentation to accurately reflect what these options do.
From-SVN: r67528
Kaz Kojima [Fri, 6 Jun 2003 03:41:38 +0000 (03:41 +0000)]
linux.h (STARTFILE_SPEC): Handle -pie.
* config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
(ENDFILE_SPEC): Redefine to handle -pie.
From-SVN: r67527
Matt Kraai [Fri, 6 Jun 2003 03:34:36 +0000 (03:34 +0000)]
w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.
* java/lang/w_exp.c (o_threshold, u_threshold): Define only
if _IEEE_LIBM is undefined.
From-SVN: r67526
Benjamin Kosnik [Fri, 6 Jun 2003 00:19:17 +0000 (00:19 +0000)]
re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))
2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9024
* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
* include/bits/stl_algobase.h: Tweak.
* include/std/std_fstream.h: Move _M_buf_size to...
* include/std/std_streambuf.h: ...here. Modify.
* include/bits/streambuf.tcc: Same.
* testsuite/testsuite_hooks.h: Tweak.
* testsuite/testsuite_io.h (constraint_filebuf): New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
* testsuite/data/sgetc.txt: New.
* testsuite/data/sgetn.txt: New.
From-SVN: r67524
GCC Administrator [Fri, 6 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67522
Phil Edwards [Fri, 6 Jun 2003 00:01:32 +0000 (00:01 +0000)]
* Makefile.in (qmtest-g++): Use target_alias, not target.
From-SVN: r67520