- 09 Mar, 2006 8 commits
-
-
* win32.cc (_Jv_platform_nanotime): New function. * include/win32.h (_Jv_platform_nanotime): Declare. * posix.cc (_Jv_platform_nanotime): New function. * include/posix.h (_Jv_platform_nanotime): Declare. * java/lang/natSystem.cc (nanoTime): New method. * java/lang/System.java (nanoTime): Declare. * include/config.h.in, configure: Rebuilt. * configure.ac: Check for clock_gettime. From-SVN: r111869
Tom Tromey committed -
* doc/md.texi: Update documentation of MIPS constraints. * config/mips/constraints.md: New file. * config/mips/mips.md: Include it. * config/mips/mips.c (mips_char_to_class): Delete. (override_options): Don't initialize mips_char_to_class. * config/mips/mips.h (mips_char_to_class): Delete. (REG_CLASS_FROM_LETTER): Delete. (CONST_OK_FOR_LETTER_P): Delete. (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. (EXTRA_CONSTRAINT_Y): Delete. (EXTRA_CONSTRAINT_STR): Delete. (CONSTRAINT_LEN): Delete. (EXTRA_MEMORY_CONSTRAINT): Delete. From-SVN: r111868
Richard Sandiford committed -
From-SVN: r111867
Richard Henderson committed -
fold-const.c (build_range_check): Make sure to use a valid type to apply the "(c>=low) && (c<=high) into... * fold-const.c (build_range_check): Make sure to use a valid type to apply the "(c>=low) && (c<=high) into (c-low>=0) && (c-low<=high-low)" transformation. (range_predecessor): New static function. (range_successor): Likewise. (merge_ranges): Use them to compute predecessors and successors of range bounds. From-SVN: r111866
Eric Botcazou committed -
2006-03-09 Roger Sayle <roger@eyesopen.com> Eric Botcazou <ebotcazou@libertysurf.fr> PR middle-end/26561 * fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as X op C3, consider whether C3 overflows towards +Inf or -Inf. * gcc.c-torture/execute/divcmp-5.c: New test case. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r111862
Roger Sayle committed -
re PR fortran/26257 (internal compiler error: Segmentation fault, on function call with assumed shape array parameter) 2006-03-09 Paul Thomas <pault@gcc.gnu.org> PR fortran/26257 * trans-array.c (gfc_conv_expr_descriptor): Exclude calculation of the offset and data when se->data_not_needed is set. * trans.h: Include the data_not_need bit in gfc_se. * trans-intrinsic.c (gfc_conv_intrinsic_size): Set it for SIZE. 2006-03-09 Paul Thomas <pault@gcc.gnu.org> * PR fortran/26257 gfortran.dg/auto_char_len_3.f90: New test From-SVN: r111860
Paul Thomas committed -
* config/m32c/addsub.md (addqi3): Disparage a0/a1. (addpsi3): Expand to include memory operands. Remove reload-specific splits. * config/m32c/bitops.md (bset_qi, bset_hi, bclr_qi): New. (andqi3_16, andhi3_16, iorqi3_16, iorhi3_16): New. (andqi3_24, andhi3_24, iorqi3_24, iorhi3_24): New. (andqi3, andhi3, iorqi3, iorhi3): Convert to expanders. (shift1_qi, shift1_hi, insv): New. * config/m32c/cond.md (cbranchqi4, cbranchhi4): Remove. (cbranch<mode>4, stzx_16, stzx_24_<mode>, stzx_reversed, cmp<mode>, b<code>, s<code>, s<code>_24, movqicc, movhicc, cond_to_int): New. * config/m32c/m32c-protos.h: Update as needed. * config/m32c/m32c.c (m32c_reg_class_from_constraint): Don't default the Rcr, Rcl, Raw, and Ral constraints. Add Ra0 and Ra1. Fail for unrecognized R* constraints. (m32c_cannot_change_mode_class): Be more picky about pseudos. (m32c_const_ok_for_constraint_p): Add Imb, Imw, and I00. (m32c_extra_constraint_p2): Allow (mem (plus (plus fb int) int)). Add Sp constraint. (m32c_init_libfuncs): New. (m32c_legitimate_address_p): Add debug wrapper. (m32c_rtx_costs): New. (m32c_address_cost): New. (conversions): Add 'B' prefix. (m32c_print_operand): 'h' and 'H' pick lower and upper halves of operands, or word regnames for QI operands. 'B' prints bit position. (m32c_expand_setmemhi): New. (m32c_expand_movmemhi): New. (m32c_expand_movstr): New. (m32c_expand_cmpstr): New. (m32c_prepare_shift): Shift counts are limited to 16 bits at a time. (m32c_expand_neg_mulpsi3): Handle non-ints. (m32c_cmp_flg_0): New. (m32c_expand_movcc): New. (m32c_expand_insv): New. (m32c_scc_pattern): New. * config/m32c/m32c.h (reg classes): Add AO_REGS and A1_REGS. Take a0/a1 out of SIregs. (STORE_FLAG_VALUE): New. * config/m32c/m32c.md: Add unspecs for string moves. Define various mode and code macros. (no_insn): New. * config/m32c/mov.md: Make constraints more liberal. (zero_extendqihi2): Optimize r0/r1 case. * config/m32c/muldiv.md (mulpsi3): Check for intvals. * config/m32c/predicates.md (m32c_any_operand): New. (m32c_nonimmediate_operand): New. (m32c_hl_operand): New. (m32c_r3_operand): New. (ap_operand): New. (ma_operand): New. (memsym_operand): New. (memimmed_operand): New. (a_qi_operand): New. (m32c_eqne_operator): New. (m32c_1bit8_operand): New. (m32c_1bit16_operand): New. (m32c_1mask8_operand): New. (m32c_1mask16_operand): New. * config/m32c/blkmov.md: New file. * config/m32c/t-m32c (MD_FILES): Add blkmov. From-SVN: r111859
DJ Delorie committed -
From-SVN: r111855
GCC Administrator committed
-
- 08 Mar, 2006 13 commits
-
-
dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum unsigned to fix signed/unsigned comparison issue in... 2006-03-08 Andreas Tobler <a.tobler@schweiz.ch> * dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum unsigned to fix signed/unsigned comparison issue in DWARF2_FRAME_REG_OUT. (expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/ unsigned comparison issue in DWARF2_FRAME_REG_OUT. From-SVN: r111850
Andreas Tobler committed -
tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section. 2006-03-08 Andreas Tobler <a.tobler@schweiz.ch> * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration of ptr into the ENABLE_CHECKING section. From-SVN: r111849
Andreas Tobler committed -
tree-vrp.c (infer_value_range): Only count pointer uses and dereferences if -fdelete-null-pointer-checks is enabled. * tree-vrp.c (infer_value_range): Only count pointer uses and dereferences if -fdelete-null-pointer-checks is enabled. * tree-vrp.c (find_assert_locations): Infer value ranges for single use pointers, but do not create ASSERT_EXPRs for them. When a non-null range is inferred for a pointer, backwards propagate that range to other equivalent pointers through the use-def chain. * gcc.dg/tree-ssa/20030730-1.c: No longer expected to fail. * gcc.dg/tree-ssa/20030730-2.c: No longer expected to fail. * g++.dg/tree-ssa/pr26406.C: New test. From-SVN: r111848
Jeff Law committed -
gcc/java/ 2006-03-08 David Daney <ddaney@avtrex.com> * gcj.texi: Document -static-libgcj option. libjava/ 2006-03-08 David Daney <ddaney@avtrex.com> * configure.ac (LD): Add AC_CHECK_TOOL for ld. (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check. (LD_FINISH_STATIC_SPEC): Ditto * configure: Regenerated. * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and LD_FINISH_STATIC_SPEC. From-SVN: r111847
David Daney committed -
2006-03-08 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/26500 * Makefile.in (dvi, html, install-info): Invoke the corresponding language hook targets. * ada/Make-lang.in, cp/Make-lang.in, objc/Make-lang.in, objcp/Make-lang.in: Create stub rules for dvi, html, install-info if language hook targets were missing. From-SVN: r111845
Paolo Bonzini committed -
PR libgcj/24183: * native/jni/xmlj/Makefile.in: Rebuilt. * native/jni/xmlj/Makefile.am (nativelib_LTLIBRARIES): Renamed (reverted local patch). From-SVN: r111844
Tom Tromey committed -
* tree-ssa-opfinalize.h: Removed. * Makefile.in (tree-ssa-operands.o): Remove tree-ssa-opfinalize.h dependency. * tree-ssa-operands.c: Do not include tree-ssa-opfinalize.h. (ALLOC_OPTYPE, APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST, INITIALIZE_USE, add_def_op, add_use_op, add_vuse_op, add_maydef_op, add_mustdef_op, finalize_ssa_def_ops, finalize_ssa_use_ops, finalize_ssa_v_may_def_ops, finalize_ssa_vuse_ops, finalize_ssa_v_must_def_ops): New. From-SVN: r111843
Zdenek Dvorak committed -
2006-03-08 Paolo Carlini <pcarlini@suse.de> Implement the resolution of DR 455, [DR]. * src/ios_init.cc (ios_base::Init::Init()): Do it. * testsuite/27_io/objects/char/dr455.cc: New. * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise. * docs/html/ext/howto.html: Add an entry for DR 455. From-SVN: r111842
Paolo Carlini committed -
2006-03-07 Kenneth Zadeck <zadeck@naturalbridge.com> * df-scan.c: (df_bb_refs_record): Fix obvious typo with wrong block as parameter. From-SVN: r111837
Kenneth Zadeck committed -
From-SVN: r111836
Geoffrey Keating committed -
From-SVN: r111831
GCC Administrator committed -
* config/i386/i386.c (ix86_delegitimize_address): Handle Darwin addresses with offsets; reorganize. From-SVN: r111826
Geoffrey Keating committed -
* dwarf2out.c (DWARF2_FRAME_REG_OUT): Move up in file. (expand_builtin_dwarf_sp_column): Call DWARF2_FRAME_REG_OUT. (expand_builtin_init_dwarf_reg_sizes): Likewise. From-SVN: r111825
Geoffrey Keating committed
-
- 07 Mar, 2006 13 commits
-
-
2006-03-08 David Billinghurst <David.Billinghurst@riotinto.com> PR target/26588 * config/i386/cygwin.h (GOMP_SELF_SPECS): Define. From-SVN: r111824
David Billinghurst committed -
From-SVN: r111823
Ben Elliston committed -
PR libgcj/26103: * java/lang/ClassLoader.java (loadClass): Don't throw StringIndexOutOfBoundsException if name is empty. * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception if class not found. From-SVN: r111820
Tom Tromey committed -
PR gomp/26238 * doc/passes.texi (Tree-SSA passes): Document omp lowering and expansion. From-SVN: r111818
Aldy Hernandez committed -
From-SVN: r111816
David Daney committed -
From-SVN: r111815
David Daney committed -
2006-03-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/cmath: Add C99 overloads. * include/tr1/common.h (struct __promote_3): Add. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: New. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Tweak. * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: Likewise. From-SVN: r111813
Paolo Carlini committed -
* gcc.dg/tree-ssa/20030730-1.c: Temporarily xfail. * gcc.dg/tree-ssa/20030730-2.c: Likewise. * gcc.dg/tree-ssa/20030807-2.c: Likewise. From-SVN: r111812
Jeff Law committed -
2006-03-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/26587 * tree-ssa-structalias.c (handle_ptr_arith): Handle MINUS_EXPR. * gcc.dg/torture/pr26587.c: New testcase. From-SVN: r111808
Richard Guenther committed -
From-SVN: r111805
Richard Sandiford committed -
* hooks.c (hook_bool_mode_rtx_true): New function. * hooks.h (hook_bool_mode_rtx_true): Declare. * toplev.c (compile_file): Call output_shared_constant_pool. * varasm.c (shared_constant_pool): New variable. (assemble_start_function, assemble_end_function): Remove arguments from call to output_constant_pool. (create_constant_pool): New function, split out from... (init_varasm_status): ...here. (force_const_mem): Choose between the shared and per-function constant pools. Set current_function_uses_const_pool when reusing old entries as well as when creating new ones. (mark_constant): Ignore data argument. (mark_constants): Remove pool argument. (mark_constant_pool): Likewise. Use current_function_uses_const_pool to decide whether the function uses a constant pool. (output_constant_pool_contents): New function, split out from... (output_constant_pool): ...here. (output_shared_constant_pool): New function. (init_varasm_once): Initialize shared_constant_pool. * output.h (output_constant_pool): Delete. (output_shared_constant_pool): Declare. * config/s390/s390-protos.h (s390_output_constant_pool): Delete. * config/i386/i386.c (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Override. From-SVN: r111804
Richard Sandiford committed -
testsuite/Changelog. From-SVN: r111803
Erik Edelmann committed -
From-SVN: r111801
GCC Administrator committed
-
- 06 Mar, 2006 6 commits
-
-
fortran/ 2005-03-06 Paul Thomas <pault@gcc.gnu.org> Erik Edelmann <eedelman@gcc.gnu.org> * trans-array.c (gfc_trans_dealloc_allocated): New function. (gfc_trans_deferred_array): Use it, instead of inline code. * trans-array.h: Prototype for gfc_trans_dealloc_allocated(). * trans-expr.c (gfc_conv_function_call): Deallocate allocated ALLOCATABLE, INTENT(OUT) arguments upon procedure entry. testsuite/ 2005-03-06 Paul Thomas <pault@gcc.gnu.org> Erik Edelmann <eedelman@gcc.gnu.org> * gfortran.dg/allocatable_dummy_1.f90: Take into account that INTENT(OUT) arguments shall be deallocated upon procedure entry. Co-Authored-By: Erik Edelmann <eedelman@gcc.gnu.org> From-SVN: r111795
Paul Thomas committed -
From-SVN: r111794
Paul Thomas committed -
2006-03-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/26107 * resolve.c (resolve_function): Add name after test for pureness. PR fortran/19546 * trans-expr.c (gfc_conv_variable): Detect reference to parent result, store current_function_decl, replace with parent, whilst calls are made to gfc_get_fake_result_decl, and restore afterwards. Signal this to gfc_get_fake_result_decl with a new argument, parent_flag. * trans-stmt.c (gfc_trans_return): gfc_get_fake_result_decl 2nd arg is set to zero. * trans.h: Add parent_flag to gfc_get_fake_result_decl prototype. * trans-decl.c (gfc_get_fake_result_decl): On parent_flag, being set, add decl to parent function. Replace refs to current_fake_result_decl with refs to this_result_decl. (gfc_generate_function_code): Null parent_fake_result_decl before the translation of code for contained procedures. Set parent_flag to zero in call to gfc_get_fake_result_decl. * trans-intrinsic.c (gfc_conv_intrinsic_len): The same. 2006-03-06 Paul Thomas <pault@gcc.gnu.org> PR fortran/26107 * pure_dummy_length_1.f90: New test. PR fortran/19546 * gfortran.dg/parent_result_ref_1.f90: New test. * gfortran.dg/parent_result_ref_2.f90: New test. * gfortran.dg/parent_result_ref_3.f90: New test. * gfortran.dg/parent_result_ref_4.f90: New test. From-SVN: r111793
Paul Thomas committed -
2006-03-06 Steven G. Kargl <kargls@comcast.net> * simplify.c (gfc_simplify_verify): Fix return when SET=''. * gfortran.dg/verify_2.f90: New test. From-SVN: r111791
Steven G. Kargl committed -
2006-03-06 Steven G. Kargl <kargls@comcast.net> * gfortran.dg/equiv_1.f90: Replace tab(s) with spaces. * gfortran.dg/arrayio_1.f90: Ditto. * gfortran.dg/pr25603.f: Ditto. * gfortran.dg/assumed_dummy_2.f90: Ditto. * gfortran.dg/equiv_2.f90: Ditto. * gfortran.dg/arrayio_2.f90: Ditto. * gfortran.dg/namelist_14.f90: Ditto. * gfortran.dg/g77/cpp6.f: Ditto. * gfortran.dg/g77/cpp5inc.h: Ditto. * gfortran.dg/g77/cpp5.F: Ditto. * gfortran.dg/g77/cpp5.h: Ditto. * gfortran.dg/namelist_15.f90: Ditto. * gfortran.dg/badline.f: Ditto. * gfortran.dg/sibling_dummy_procedure_1.f90: Ditto. * gfortran.dg/sibling_dummy_procedure_2.f90: Ditto. * gfortran.dg/backspace_6.f: Ditto. * gfortran.dg/altreturn_1.f90: Ditto. * gfortran.dg/entry_4.f90: Ditto. * gfortran.dg/implicit_5.f90: Ditto. From-SVN: r111790
Steven G. Kargl committed -
2006-03-06 Paolo Carlini <pcarlini@suse.de> PR target/26532 * config/io/c_io_stdio.h (struct __ios_flags): Remove. * include/bits/ios_base.h: Adjust consistently. (ios_base::_S_local_word_size): Change to an anonymous enum. * src/ios.cc: Do not define static const data of __ios_flags, likewise for ios_base::_S_local_word_size. * include/bits/locale_classes.h (locale::_S_categories_size): Change to an anonymous enum. * src/locale.cc: Don't define. From-SVN: r111789
Paolo Carlini committed
-