- 18 Feb, 2007 18 commits
-
-
2007-02-18 David Edelsohn <edelsohn@gnu.org> Roger Sayle <roger@eyesopen.com> * config/rs6000/rs6000.md (bswapsi2): New define_insn and splitter. Co-Authored-By: Roger Sayle <roger@eyesopen.com> From-SVN: r122104
David Edelsohn committed -
* trans-array.c (gfc_build_constant_array_constructor): When the shape of the constructor is known, use that to construct the gfc_array_spec. (gfc_trans_constant_array_constructor): Initialize the "info" information for all of the dimensions of the array constructor. (constant_array_constructor_loop_size): New function. (gfc_trans_array_constructor): Use it to determine whether a loop is suitable for "constant array constructor" optimization. * trans-intrinsic.c (gfc_conv_intrinsic_anyall): Use fold_build2 instead of build2, to avoid conditions like "(a != b) != 0". * gfortran.dg/array_constructor_15.f90: New test case. From-SVN: r122103
Roger Sayle committed -
2007-02-18 Roger Sayle <roger@eyesopen.com> Paul Thomas <pault@gcc.gnu.org> PR fortran/30400 * match.c (match_forall_iterator): Use gfc_match_expr instead of gfc_match_variable to match the iterator variable. Return MATCH_NO if not a variable. Remove the reset of the symbol's flavor in cleanup. 2007-02-18 Roger Sayle <roger@eyesopen.com> * gfortran.dg/forall_10.f90: New test case. Co-Authored-By: Paul Thomas <pault@gcc.gnu.org> From-SVN: r122102
Roger Sayle committed -
calls.c (initialize_argument_information): Pass original EXP and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. 2007-02-18 Sandra Loosemore <sandra@codesourcery.com> * calls.c (initialize_argument_information): Pass original EXP and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. Move code to split complex arguments here, as part of initializing the ARGS array. (expand_call): Remove code that builds a list of arguments and inserts implicit arguments into it. Instead, just count how many implicit arguments there will be so we can determine the size of the ARGS array, and let initialize_argument_information do the work. (split_complex_values): Delete unused function. From-SVN: r122101
Sandra Loosemore committed -
* tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR. From-SVN: r122097
Eric Botcazou committed -
calls.c (mem_overlaps_already_clobbered_arg_p): Return true for arg pointer based indexed addressing. * calls.c (mem_overlaps_already_clobbered_arg_p): Return true for arg pointer based indexed addressing. From-SVN: r122095
Eric Botcazou committed -
* gnat.dg/test_prio_p.adb: Compile with -gnatws. * lib/gnat.exp (gnat_target_compile): Pass -f to the driver. From-SVN: r122093
Eric Botcazou committed -
2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * objc/objc-list.h (list_free): Add keyword 'inline' to avoid unused warning. From-SVN: r122090
Manuel López-Ibáñez committed -
2007-02-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <climits>, use std::numeric_limits. * include/bits/stl_bvector.h: Use __CHAR_BIT__. * config/locale/gnu/codecvt_members.cc: Include <climits>. * config/locale/generic/codecvt_members.cc: Likewise. * include/std/string: Do not include <algorithm>; do not include <memory>, include <bits/allocator.h> instead. * include/ext/vstring_fwd.h: Likewise. * include/ext/vstring_util.h: Do not include <algorithm>. * include/tr1/hashtable_policy.h: Include <algorithm>. * testsuite/21_strings/basic_string/replace/char/1.cc: Likewise. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Likewise. * testsuite/23_containers/bitset/cons/1.cc: Likewise. * testsuite/util/testsuite_character.h: Likewise. * config/locale/gnu/codecvt_members.cc: Also include <cstdlib>, for MB_CUR_MAX. * config/locale/generic/codecvt_members.cc: Likewise. From-SVN: r122089
Paolo Carlini committed -
* config/ia64/ia64.h, config/ia64/ia64.md, config/ia64/predicates.md, config/ia64/sysv4.h: Follow spelling conventions. From-SVN: r122087
Kazu Hirata committed -
From-SVN: r122086
Kazu Hirata committed -
From-SVN: r122085
Kazu Hirata committed -
* config/m68k/m68k.c (split_di): New. * config/m68k/m68k-protos.h: Declare split_di. * config/m68k/m68k.md (extendsidi2*,ashldi3*,ashrdi3*,lshrdi3*): Improve predicate handling and split constant shifts. From-SVN: r122084
Roman Zippel committed -
* config/m68k/m68k.md (extv,extzv,insv): disable dynamic parameter for register bitfield operations, general predicates cleanup From-SVN: r122083
Roman Zippel committed -
* config/m68k/linux.h (MD_UNWIND_SUPPORT): Define. * config/m68k/linux-unwind.h: New file. From-SVN: r122082
Roman Zippel committed -
From-SVN: r122081
Kazu Hirata committed -
* cfgloop.c, config/alpha/alpha.c, config/bfin/bfin.c, config/i386/athlon.md, config/ia64/ia64.md, config/rs6000/rs6000.c, config/s390/s390.c, config/spu/spu.md, df-problems.c, df.h, fold-const.c, ipa-cp.c, ipa-inline.c, ipa-prop.h, see.c, struct-equiv.c, tree-inline.c, tree-ssa-loop-niter.c, tree-vect-analyze.c, tree-vect-transform.c: Fix comment typos. From-SVN: r122080
Kazu Hirata committed -
From-SVN: r122078
GCC Administrator committed
-
- 17 Feb, 2007 6 commits
-
-
2007-02-17 Mark Mitchell <mark@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Vladimir Prus <vladimir@codesourcery.com Joseph Myers <joseph@codesourcery.com> * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting. * configure: Regenerate. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r122073
Mark Mitchell committed -
* sched-deps.c (find_insn_list): Remove. * sched-int.h: Remove the prototype for find_insn_list. From-SVN: r122069
Kazu Hirata committed -
* config/darwin.h (LINK_SPEC): Always pass -macosx_version_min to linker. (DARWIN_EXTRA_SPECS): Add %(darwin_minversion). * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Just call darwin_rs6000_override_options. (C_COMMON_OVERRIDE_OPTIONS): Expect darwin_macosx_version_min to be non-NULL always. (TARGET_C99_FUNCTIONS): Likewise. (CC1_SPEC): Always pass -mmacosx-version-min to cc1*. (DARWIN_MINVERSION_SPEC): New. * config/rs6000/rs6000.c (darwin_rs6000_override_options): New. * config/i386/darwin.h (CC1_SPEC): Always pass -mmacosx-version-min to cc1*. (DARWIN_MINVERSION_SPEC): New. * config/darwin.opt (mmacosx-version-min): Initialize to non-NULL value. * config/darwin-c.c (darwin_cpp_builtins): Expect darwin_macosx_version_min to be non-NULL always. From-SVN: r122067
Geoffrey Keating committed -
From-SVN: r122066
Geoffrey Keating committed -
(get_line_table): New function. (handle_single_step): New function. (jdwpSingleStepCB): New function. (jdwpVMInitCB): Define a JVMTI single step callback, but don't enable it until needed. From-SVN: r122065
Keith Seitz committed -
From-SVN: r122063
GCC Administrator committed
-
- 16 Feb, 2007 16 commits
-
-
* trans.c (call_to_gnu): Use build_call_list instead of build3 to build the call expression. (gnat_stabilize_reference_1): Handle tcc_vl_exp. * utils.c (max_size) <tcc_exceptional>: Delete. <tcc_vl_exp>: New case. <tcc_expression>: Delete CALL_EXPR subcase. (build_global_cdtor): Use build_call_nary instead of build3. * utils2.c (build_call_1_expr): Likewise. (build_call_2_expr): Likewise. (build_call_0_expr): Likewise. (build_call_alloc_dealloc): Likewise. Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com> From-SVN: r122058
Eric Botcazou committed -
* java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass new parameter constructor. (Thread(ThreadGroup, Runnable, String, long)): Same. (Thread(String, boolean)): New constructor. (Thread(Thread, ThreadGroup, Runnable, String): Add parameter noInheritableThreadLocal, don't call InheritableThreadLocal.newChildThread if set. * java/lang/PosixProcess.java(ProcessManager()): Set noInheritableThreadLocal in super. * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new parameter to Thread constructor. (_Jv_AttachCurrentThreadAsDaemon): Same. * java/lang/Thread.h: Regenerate. * classpath/lib/java/lang/Thread.class: Same. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same. * classpath/lib/java/lang/PosixProcess.class: Same. * classpath/lib/java/lang/Thread$State.class: Same. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. From-SVN: r122054
David Daney committed -
2006-10-14 Edwin Steiner <edwin.steiner@gmx.net> PR classpath/28652: * javax/management/MBeanInfo.java (MBeanInfo): Use clone to duplicate the arrays in order to preserve the array type. From-SVN: r122050
Edwin Steiner committed -
* config/i386/i386.h (x86_use_xchgb): New. (TARGET_USE_XCHGB): New macro. * config/i386/i386.c (x86_use_xchgb): Set for PENT4. * config/i386/i386.md (*rotlhi3_1 splitter, *rotrhi3_1 splitter): Split after reload into bswaphi for shifts of 8. (bswaphi_lowpart): Generate rolw insn for HImode byte swaps. (*bswaphi_lowpart_1): Generate xchgb for Q registers for TARGET_XCHGB or when optimizing for size. testsuite/ChangeLog: * gcc.target/i386/builtin-bswap-1.c: Remove -march=nocona. * gcc.target/i386/builtin-bswap-3.c: Ditto. * gcc.target/i386/xchg-1.c: New test. * gcc.target/i386/xchg-2.c: New test. From-SVN: r122049
Uros Bizjak committed -
2007-02-16 Kyle Galloway <kgallowa@redhat.com> * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot variables to maintain type info. * interpret-run.cc: Add local variable info to frame in the debug interpreter. * jvmti.cc (getLocalFrame): New method. (_Jv_JVMTI_GetLocalObject): New method. (_Jv_JVMTI_GetLocallInt): New method. (_Jv_JVMTI_GetLocalFloat): New method. (_Jv_JVMTI_GetLocalLong): New method. (_Jv_JVMTI_GetLocalDouble): New method. (_Jv_JVMTI_SetLocalObject): New method. (_Jv_JVMTI_SetLocalInt): New method. (_Jv_JVMTI_SetLocalFloat): New method. (_Jv_JVMTI_SetLocalLong): New method. (_Jv_JVMTI_SetLocalDouble): New method. From-SVN: r122048
Kyle Galloway committed -
* gnu/gcj/tools/gcj_dbtool/Main.java (bytesToString): Don't lose zeros from within the digest. From-SVN: r122045
Gary Benson committed -
2007-02-16 Paolo Carlini <pcarlini@suse.de> Revert. 2007-02-14 Hans-Peter Nilsson <hp@axis.com> PR middle-end/30768 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Xfail ICE for cris-*-*. From-SVN: r122044
Paolo Carlini committed -
2007-02-15 Andrew Haley <aph@redhat.com> * Makefile.am (nat_source_files): Remove java/lang/management/natVMManagementFactory.cc. * java/lang/Thread.java (getStackTrace): Use reflection to call the ManagementFactory. * java/lang/management/VMManagementFactory.java: Remove native methods. * java/lang/management/natVMManagementFactory.cc: Deleted. * sources.am: Regnerate. * scripts/makemake.tcl: Add new "bcheaders" type. Move java/lang/management and gnu/classpath/management to "bc". Move gnu/java/lang/management to "bcheaders". 2007-02-16 Andrew Haley <aph@redhat.com> * gnu/java/lang/management/MemoryMXBeanImpl.java, javax/management/MBeanServerDelegate.java: Use gnu.javax.management.ListenerData rather than gnu.classpath.ListenerData. * gnu/javax/management/ListenerData.java: Move here from gnu/classpath/ListenerData.java. From-SVN: r122041
Andrew Haley committed -
2007-02-16 Richard Guenther <rguenther@suse.de> Christian Bruel <christian.bruel@st.com> * fold-const.c (tree_swap_operands_p): Treat SSA_NAMEs like DECLs but prefer SSA_NAMEs over DECLs. * gcc.dg/strict-overflow-5.c: New testcase. Co-Authored-By: Christian Bruel <christian.bruel@st.com> From-SVN: r122040
Richard Guenther committed -
From-SVN: r122038
Francois-Xavier Coudert committed -
fortran/ 2007-02-16 Tobias Burnus <burnus@net-b.de> PR fortran/30793 * trans-decl.c (gfc_generate_function_code): Do not initialize pointers to derived components. testsuite/ 2007-02-16 Tobias Burnus <burnus@net-b.de> PR fortran/30793 * gfortran.dg/func_derived_4.f90: New test. From-SVN: r122037
Tobias Burnus committed -
2007-02-16 Richard Guenther <rguenther@suse.de> * tree-flow-inline.h (single_imm_use_p): Remove. (zero_imm_uses_p): Likewise. * tree-ssa-coalesce.c (create_outofssa_var_map): Use has_single_use instead of single_imm_use_p. * tree-cfg.c (replace_uses_by): Use has_zero_use instead of zero_imm_uses_p. From-SVN: r122036
Richard Guenther committed -
2007-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> PR other/27843 * Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid nested double- and backquotes. From-SVN: r122032
Ralf Wildenhues committed -
From-SVN: r122031
Brooks Moses committed -
PR middle-end/30391 * tree.c (expr_align): Handle MODIFY_EXPR. GIMPLE_MODIFY_STMT should be unreachable. (build2_stat): Allow construction of MODIFY_EXPR at any time. For the time being redirect GIMPLE_MODIFY_STMT to the new (renamed) build_gimple_modify_stmt_stat. (build2_gimple_stat): Rename to... (build_gimple_modify_stmt_stat): Now longer take a CODE argument. Always build a GIMPLE_MODIFY_STMT node. * tree.h (build2_gimple, build2_gimple_stat): Delete. (build_gimple_modify_stmt, build_gimple_modify_stmt_stat): New declarations. * tree-cfg.c (factor_computed_gotos, tree_merge_blocks, gimplify_val): Use build_gimple_modify_stmt instead of build2_gimple. * tree-complex.c (set_component_ssa_name, expand_complex_move, expand_complex_div_wide): Likewise. * tree-ssa-dom.c (record_equivalences_from_stmt): Likewise. * tree-ssa-loop-im.c (schedule_sm): Likewise. * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Likewise. * tree-ssa-loop-manip.c (create_iv): Likewise. * tree-ssa-phiopt.c (conditional_replacement, minmax_replacement, abs_replacement): Likewise. * tree-ssa-pre.c (create_expression_by_pieces, poolify_modify_stmt, realify_fake_stores): Likewise. * builtins.c (std_expand_builtin_va_start): Build a MODIFY_EXPR node rather than a GIMPLE_MODIFY_STMT node. (std_gimpify_va_arg_expr, expand_builtin_va_copy, fold_builtin_memset, fold_builtin_memory_op, do_mpfr_sincos): Likewise. (integer_valued_real_p): Handle MODIFY_EXPR, not GIMPLE_MODIFY_STMT. * expr.c (expand_expr_real_1): Handle both MODIFY_EXPR and GIMPLE_MODIFY_STMT. * gfortran.dg/pr30391-1.f90: New test case. From-SVN: r122030
Roger Sayle committed -
2007-02-15 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/30433 * fold-const.c (fold_comparison): Add back the folding of constant complex comparisions. 2007-02-15 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/30433 * gcc.c-torture/compile/pr30433.c: New testcase to check that complex constants comparisions are foldded. From-SVN: r122029
Andrew Pinski committed
-