1. 23 Jan, 2007 14 commits
    • Arrays.java (binarySearch): Change comparison order. · 26578e60
      2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
      
      	* java/util/Arrays.java (binarySearch): Change comparison order.
      
      From-SVN: r121091
      Marco Trudel committed
    • re PR c++/27492 (ICE on invalid covariant return type) · 815951d8
      2007-01-23  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/27492
      	* decl.c (duplicate_decls): Don't reset DECL_INVALID_OVERRIDER_P for
      	function decls.
      
      From-SVN: r121089
      Simon Martin committed
    • typeck.c (convert_for_assignment): Only warn about a = b = c when converting to bool. · a99e5cb4
      cp/:
      	* typeck.c (convert_for_assignment): Only warn about a = b = c
      	when converting to bool.
      testsuite/:
      	* g++.dg/warn/Wparentheses-24.C: New test.
      
      From-SVN: r121087
      Ian Lance Taylor committed
    • re PR libgcj/30550 (Missing dependencies for ecjx target) · 38fbab2a
      2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR libgcj/30550
      	* Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
      	* Makefile.in: Regenerated.
      
      From-SVN: r121086
      H.J. Lu committed
    • rs6000-c.c (rs6000_cpu_cpp_builtins): Define _SOFT_DOUBLE if doubles use software floating-point. · 17caeff2
      gcc:
      	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
      	_SOFT_DOUBLE if doubles use software floating-point.
      	* config/rs6000/libgcc-ppc-glibc.ver: Export additional long
      	double functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
      	* config/rs6000/darwin-ldouble.c: Also compile functions for
      	hard-float without FPRs.  Use fmsub function for all __NO_FPRS__
      	cases.  Compile extra functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
      	* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove
      	commented-out long double override.
      	(CPP_LONGDOUBLE_DEFAULT_SPEC): Likewise.
      	* config/rs6000/eabispe.h: Likewise.
      	* config/rs6000/rs6000.c (rs6000_override_options): Don't override
      	long double for non-SPE.
      	(rs6000_handle_option): Likewise.
      	(invalid_e500_subreg): Disallow more subregs involding DImode,
      	DFmode, TImode or TFmode.
      	(rs6000_legitimate_offset_address_p): Check TFmode offsets for
      	E500 double.
      	(legitimate_lo_sum_address_p): Also check for TFmode for E500
      	double.
      	(rs6000_legitimize_address): Also handle TFmode for E500 double.
      	(rs6000_legitimize_reload_address): Also handle TFmode for E500
      	double.
      	(rs6000_legitimate_address): Also check for TFmode for E500
      	double.
      	(rs6000_emit_move): Use DFmode subregs of TFmode for E500 double.
      	(spe_build_register_parallel): Handle TFmode and TCmode.
      	(rs6000_spe_function_arg): Handle TFmode and TCmode for E500
      	double.
      	(function_arg): Handle TFmode and TCmode for E500 double.
      	(rs6000_init_libfuncs): Initialize extra libfuncs for soft double
      	in general.
      	(print_operand): Handle TFmode and TImode for %y.
      	(rs6000_generate_compare): Handle TFmode comparisons for E500
      	double.
      	(spe_func_has_64bit_regs_p): Check for TFmode for E500 double.
      	(rs6000_function_value): Handle TFmode and TCmode for E500 double.
      	(rs6000_libcall_value): Handle TFmode and TCmode for E500 double.
      	* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Check for
      	TFmode for E500 double.
      	* config/rs6000/rs6000.md (FP): Allow TF for E500 double.
      	(floatsidf2): Enable for E500 double.
      	(movtf_softfloat): Use rs6000_nonimmediate_operand.
      	(extenddftf2): Change to extenddftf2_fprs.
      	(extenddftf2): Call gen_spe_extenddftf2 or gen_extenddftf2_fprs
      	depending on TARGET_E500_DOUBLE.
      	(extendsftf2): Enable for E500 double.
      	(trunctfdf2): Enable for E500 double.
      	(trunctfsf2): Change to trunctfsf2_fprs.
      	(trunctfsf2): Call gen_spe_trunctfsf2 or gen_trunctfsf2_fprs
      	depending on TARGET_E500_DOUBLE.
      	(floatsitf2): Enable for E500 double.
      	(fix_trunctfsi2): Change to fix_trunctfsi2_fprs.
      	(fix_trunctfsi2): Call gen_spe_fix_trunctfsi2 or
      	gen_fix_trunctfsi2_fprs depending on TARGET_E500_DOUBLE.
      	(negtf2): Change to negtf2_internal.
      	(negtf2): New expander.
      	(abstf2): Enable for E500 double.  Call gen_spe_abstf2_tst,
      	gen_spe_abstf2_cmp or gen_abstf2_internal depending on
      	TARGET_E500_DOUBLE and flag_unsafe_math_optimizations.
      	(movdi_internal32): Use rs6000_nonimmediate_operand.
      	(unnamed splitter): Likewise.
      	* config/rs6000/spe.md (CMPTFEQ_GPR, TSTTFEQ_GPR, CMPTFGT_GPR,
      	TSTTFGT_GPR, CMPTFLT_GPR, TSTTFLT_GPR): New unspecs.
      	(SPE64TF, DITI): New mode macros.
      	(frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more
      	modes.
      	(frob_tf_ti): New.
      	(frob_<mode>_di_2): New.
      	(frob_tf_di_8_2): New.
      	(frob_di_df): Change to frob_di_<mode>; allow more modes.
      	(frob_ti_tf): New.
      	(frob_di_df_2): Change to frob_<DITI:mode>_<SPE64:mode>_2; allow
      	more modes.
      	(frob_ti_<mode>_8_2): New.
      	(frob_ti_tf_2): New.
      	(mov_si<mode>_e500_subreg0, mov_si<mode>_e500_subreg0_2,
      	mov_si<mode>_e500_subreg4, mov_si<mode>_e500_subreg4_2): Allow
      	TFmode.
      	(mov_sitf_e500_subreg8, mov_sitf_e500_subreg8_2,
      	mov_sitf_e500_subreg12, mov_sitf_e500_subreg12_2): New.
      	(spe_trunctfdf2_internal1, spe_trunctfsf2, spe_extenddftf2,
      	spe_fix_trunctfsi2, spe_fix_trunctfsi2_internal,
      	spe_negtf2_internal, spe_abstf2_cmp, spe_abstf2_tst): New.
      	(cmptfeq_gpr, tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr,
      	tsttflt_gp): New.
      
      libgcc:
      	* config/rs6000/t-ldbl128: Always use -mlong-double-128.
      
      From-SVN: r121085
      Joseph Myers committed
    • call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW. · dc569621
      
      	* call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with
      	TREE_OVERFLOW.
      	* typeck.c (ignore_overflows): Remove the remaining uses of
      	TREE_CONSTANT_OVERFLOW.
      
      From-SVN: r121084
      Roger Sayle committed
    • re PR ada/30560 (gnatchop behaves differently dependend on argv[0] -- make check-ada fails) · 6acae78f
      2007-01-23  Richard Guenther  <rguenther@suse.de>
      
      	PR testsuite/30560
      	* ada/acats/run_acats: Do not call gnatmake or gnatchop
      	with full path.
      
      From-SVN: r121083
      Richard Guenther committed
    • re PR bootstrap/30541 (Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down) · 5305be7e
      2007-01-23  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/30541
      	* Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE.
      	* Makefile.tpl (GNATBIND): Substitute it.
      	(GNATMAKE): Likewise.
      	(POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead
      	of STAGE_PREFIX.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
              config/
      	* acx.m4 (ACX_PROG_GNAT): Check for gnatmake.
      
      	libada/
      	* Makefile.in (STAGE_PREFIX): Do not define.
      	(FLAGS_TO_PASS): Do not pass STAGE_PREFIX.
      
      	gnattools/
      	* Makefile.in (STAGE_PREFIX): Do not define.
      
      	ada/
      	* Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE).
      	(gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX.
      	(gnatboot3): Likewise.
      	(GNATBIND): Do not define.
      	* Makefile.in (GNATBIND): Do not define.
      
      From-SVN: r121082
      Richard Guenther committed
    • Makefile.in (OBJS-common): Reformat, alphabetize, but put insn-*.o first. · d5dc6bad
      	* Makefile.in (OBJS-common): Reformat, alphabetize, but put
      	insn-*.o first.
      	(OBJS-archive): Reformat, alphabetize.
      	(OBJS): Change out_object_file to OBJS-md.
      
      From-SVN: r121081
      Ian Lance Taylor committed
    • i386.md: Use REG_P... · 7656aee4
      	* config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
      	JUMP_P and CALL_P predicates where applicable.
      	* config/i386/i386.c: Ditto.
      	* config/i386/i386.md: Ditto.
      	* config/i386/mmx.md: Ditto.
      	* config/i386/predicates.md: Ditto.
      
      From-SVN: r121079
      Uros Bizjak committed
    • * gnu/classpath/jdwp/natVMVirtualMachine.cc · c56b658b
              (getClassMethod): Implement.
      
      From-SVN: r121078
      Keith Seitz committed
    • Class.h (_Jv_GetClassStatus): Declare. · 2b3c6788
              * java/lang/Class.h (_Jv_GetClassStatus): Declare.
              * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
              * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
              (_Jv_JVMTI_Interface): Define GetClassStatus.
      
      From-SVN: r121074
      Keith Seitz committed
    • configure: Rebuilt. · d374f567
      	* configure: Rebuilt.
      	* configure.ac (GCJ): Reverted patch of 2006-12-20.
      
      From-SVN: r121073
      Tom Tromey committed
    • Daily bump. · 2450b2df
      From-SVN: r121071
      GCC Administrator committed
  2. 22 Jan, 2007 11 commits
  3. 21 Jan, 2007 14 commits
    • re PR rtl-optimization/29329 (internal consistency failure) · 64c91930
      	PR rtl-optimization/29329
      	* combine.c (replaced_rhs_insn): Rename to i2mod.
      	(replaced_rhs_value): Rename to i2mod_new_rhs.
      	(i2mod_old_rhs): New global variable.
      	(combine_instructions): Adjust for above change.  Save a copy of
      	the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL
      	note are substituted in the second instruction.
      	(distribute_notes) <REG_DEAD>: Adjust for above change.  Do not
      	ditch the note if it pertains to the second eliminated register
      	and this register is mentioned in i2mod_old_rhs.
      
      	Revert:
      	2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
      
      	* combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
      	the insn to which the note was originally attached.
      
      From-SVN: r121037
      Eric Botcazou committed
    • re PR libfortran/30525 ([4.2, 4.1 only] character comparisons with padding) · bd943115
      2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/30525
      	* intrinsics/string_intrinsics.c(compare_string):  Make
      	sure that comparisons are done unsigned.
      
      2007-01-21  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	PR libfortran/30525
      	* gfortran.dg/char_comparison_1.f:  New test.
      
      From-SVN: r121035
      Thomas Koenig committed
    • ipa-inline.c (inlining_mode): Comment, move up. · 7fa49e7b
      	* ipa-inline.c (inlining_mode): Comment, move up.
      	(cgraph_decide_inlining_incrementally): Do not perform inlining itself; fix
      	handling of flattening of self recursive functions.
      	(cgraph_find_cycles): Remove.
      	(cgraph_flatten_node): Remove.
      	(cgraph_decide_inlining): Use incremental inliner to handle flattening.
      	(try_inline): New function.
      	(cgraph_early_inlining): Update call of cgraph_decide_inlining_incrementally.
      	Apply inlining here.
      	(apply_inline): Update call of cgraph_decide_inlining_incrementally.
      
      From-SVN: r121034
      Jan Hubicka committed
    • re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) · a63a0959
      2006-12-09  Tobias Burnus  <burnus@net-b.de>
      
              PR libfortran/30015
              * intrinsics/date_and_time.c (date_and_time): Fix case where time
                can go backwards.
              * configure.ac: Remove AC_TRY_RUN test for timezone in
                gettimeofday.
              * acinclude.m4: Ditto.
              * configure: Regenerate.
              * config.h.in: Regenerate.
      
      From-SVN: r121033
      Tobias Burnus committed
    • re PR bootstrap/30511 (False array bound check causes gcc failed to boostrap) · 1eb7b049
      2007-01-21  Dirk Mueller  <dmueller@suse.de>
      
              PR bootstrap/30511
              * tree-vrp.c (check_array_bounds): do not warn
              about ADDR_EXPR's of ARRAY_REF's which are immediately
              used in binary expressions.
      
      From-SVN: r121032
      Dirk Mueller committed
    • PR libstdc++/30449 (fill, fill_n) · e9e90c1f
      2007-01-21  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/30449 (fill, fill_n)
      	* include/bits/stl_algobase.h (__fill_aux(wchar_t*, wchar_t*,
      	const wchar_t&), __fill_n_aux(wchar_t*, _Size, const wchar_t&)): New.
      	(fill(signed char*, signed char*, const signed char&),
      	fill(unsigned char*, unsigned char*, const unsigned char&),
      	fill(char*, char*, char&), fill_n(signed char*, _Size,
      	const signed char&), fill_n(unsigned char*, _Size,
      	const unsigned char&), fill_n(char*, _Size, char&)): Rename to
      	__*_aux.
      	(__fill_normal, __fill_n_normal): New, call the latter.
      	(fill, fill_n): Adjust, call the latter.	
      	* testsuite/25_algorithms/fill/4.cc: New.
      	* testsuite/25_algorithms/fill/5.cc: New.
      
      From-SVN: r121027
      Paolo Carlini committed
    • tree-vectorizer.h (struct _stmt_vec_info): Add new field read_write_dep and macros for its access. · 6004caaf
      	* tree-vectorizer.h (struct _stmt_vec_info): Add new field
      	read_write_dep and macros for its access.
      	* tree-vectorizer.c (new_stmt_vec_info): Initialize the new field.
      	* tree-vect-analyze.c (vect_analyze_data_ref_dependence): Remove
      	argument, call vect_check_interleaving for every independent pair of
      	data-refs. Mark loads that access the same memory location as a store
      	in the loop.
      	(vect_check_dependences): Remove.
      	(vect_analyze_data_ref_dependences): Remove  vect_check_dependences
      	call, fix the call to vect_analyze_data_ref_dependence.
      	(vect_analyze_data_ref_access): For statements that access the same
      	data-ref, check that they are not stores; for loads, check that there
      	is no store that access the same location.
      
      From-SVN: r121026
      Ira Rosen committed
    • Makefile.am (install-exec-hook): Use transformed name. · 52b213f3
      2007-01-21  Matthias Klose  <doko@debian.org>
      
              * Makefile.am (install-exec-hook): Use transformed name.
              * Makefile.in: Regenerate.
      
      From-SVN: r121025
      Matthias Klose committed
    • re PR objc/30479 (Precompiled headers don't seem to work with GNU ObjC) · d2f9f9a6
      2007-01-20  Andrew Pinski  <pinskia@gmail.com>
      
              PR objc/30479
              * objc-act.c (hash_interface): Use IDENTIFIER_HASH_VALUE instead
              of htab_hash_pointer.
              (lookup_interface): Likewise.
              (add_class): Likewise.
      
      2007-01-20  Andrew Pinski  <pinskia@gmail.com>
      
              PR objc/30479
              * objc.dg/pch: New directory.
              * objc.dg/pch/pch.exp: New file.
              * objc.dg/pch/interface-1.m: New test.
              * objc.dg/pch/interface-1.hs: New include file.
              * lib/objc.exp (objc_target_compile): Add
              "-x objective-c-header" in front of the sources if this is
              a precompiled header being compiled.
      
      From-SVN: r121024
      Andrew Pinski committed
    • invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox. · 78681dbd
      
      	* doc/invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox.
      	(-fdump-rtl-stack): Likewise.
      	(-fno-signed-zeros): Use @minus{} for a minus sign.  Correct typo.
      	(-mcheck-zero-division, -mcpu): Fix under/overfull hbox.
      	(-mpt-fixed): Use @minus{} for minus sign.
      	(Using Precompiled Headers): Fix under/overfull hbox.
      
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r121023
      Roger Sayle committed
    • tree-flow.h (struct stmt_ann_d): Move references_memory to proper place within annotation. · d48a05c3
      	* tree-flow.h (struct stmt_ann_d): Move references_memory to proper
      	place within annotation.
      
      From-SVN: r121022
      Jan Hubicka committed
    • intrinsic.texi: Edited all "Syntax" examples to a consistent form. · d565bb3a
      * intrinsic.texi: Edited all "Syntax" examples to a consistent form.
      	(MAXVAL): Corrected description of result characteristics.
      	(MINVAL): Same.
      	(UMASK): Added documentation.
      
      From-SVN: r121020
      Brooks Moses committed
    • Daily bump. · f4b0ef41
      From-SVN: r121018
      GCC Administrator committed
  4. 20 Jan, 2007 1 commit