- 19 Aug, 2010 11 commits
-
-
uros authored
* config/i386/i386.md (*lea_1): Use P mode iterator. (lea add splitter): Also handle DImode operands. (DImode lea add splitter): Use x86_64_immediate_operand for operand 2 predicate. Do not use ix86_lea_for_add_ok. (zext DImode lea add splitter): Use ix86_lea_for_add_ok. (lea ashift splitter): Also handle DImode operands. (DImode lea ashift splitter): Remove splitter. 2010-08-19 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (*add<SWI:mode>3_cconly_overflow): Do not use ix86_binary_operator_ok. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163375 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2010-08-19 Uros Bizjak <ubizjak@gmail.com> PR testsuite/45324 * gcc.target/i386/volatile-bitfields-1.c: Also scan movb. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163372 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
* gcc.dg/vect/vect-1.c (foo): Fix last commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163370 138bc75d-0d04-0410-961f-82ee72b054a4
-
abel authored
* sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG is not a register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163369 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
2010-08-19 Tejas Belagod <tejas.belagod@arm.com> * gcc.dg/vect/vect-1.c (foo): Change inner loop index variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163368 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
2010-08-19 Ian Bolton <ian.bolton@arm.com> PR target/45070 * gcc.c-torture/execute/pr45070.c: New. * config/arm/arm.c (arm_output_epilogue): Ensure that return value of size 1-3 is handled correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163367 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
For Ian Bolton <ian.bolton@arm.com> * tree-switch-conversion.c (gen_inbound_check): Ensure that the type for the conditional has wide enough range. * testsuite/g++.dg/pr44328.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163366 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
* intrinsic.texi (Bessel_jn, Bessel_yn): Fix typo. * * simplify.c (gfc_simplify_bessel_yn): Change recursive into recurrence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163365 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/36158 PR fortran/33197 * check.c (gfc_check_bessel_n2): New function. * gfortran.h (gfc_isym_id): Add GFC_ISYM_JN2 and GFC_ISYM_YN2. * intrinsic.c (add_functions): Add transformational version of the Bessel_jn/yn intrinsics. * intrinsic.h (gfc_check_bessel_n2,gfc_simplify_bessel_jn2, gfc_simplify_bessel_yn2): New prototypes. * intrinsic.texi (Bessel_jn, Bessel_yn): Document transformational variant. * simplify.c (gfc_simplify_bessel_jn, gfc_simplify_bessel_yn): Check for negative order. (gfc_simplify_bessel_n2,gfc_simplify_bessel_jn2, gfc_simplify_bessel_yn2): New functions. 2010-08-19 Tobias Burnus <burnus@net-b.de> PR fortran/36158 PR fortran/33197 * gfortran.dg/bessel_3.f90: New. * gfortran.dg/bessel_4.f90: New. * gfortran.dg/bessel_5.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163364 138bc75d-0d04-0410-961f-82ee72b054a4
-
jvdelisle authored
PR fortran/41859 * resolve.c (resolve_transfer): Traverse operands and set expression to be checked to a non EXPR_OP type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163363 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163362 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 18 Aug, 2010 16 commits
-
-
uros authored
* config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use ix86_binary_operator_ok. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163357 138bc75d-0d04-0410-961f-82ee72b054a4
-
janus authored
PR fortran/45290 * gfortran.h (gfc_add_save): Modified prototype. * decl.c (add_init_expr_to_sym): Defer checking of proc pointer init. (match_pointer_init): New function to match F08 pointer initialization. (variable_decl,match_procedure_decl,match_ppc_decl): Use 'match_pointer_init'. (match_attr_spec): Module variables are implicitly SAVE. (gfc_match_save): Modified call to 'gfc_add_save'. * expr.c (gfc_check_assign_symbol): Extra checks for pointer initialization. * primary.c (gfc_variable_attr): Handle SAVE attribute. * resolve.c (resolve_structure_cons): Add new argument and do pointer initialization checks. (gfc_resolve_expr): Modified call to 'resolve_structure_cons'. (resolve_values): Call 'resolve_structure_cons' directly with init arg. (resolve_fl_variable): Handle SAVE_IMPLICIT. * symbol.c (gfc_add_save,gfc_copy_attr,save_symbol): Handle SAVE_IMPLICIT. * trans-decl.c (gfc_create_module_variable): Module variables with TARGET can already exist. * trans-expr.c (gfc_conv_variable): Check for 'current_function_decl'. (gfc_conv_initializer): Implement non-NULL pointer initialization. 2010-08-19 Janus Weil <janus@gcc.gnu.org> PR fortran/45290 * gfortran.dg/proc_ptr_comp_3.f90: Modified. * gfortran.dg/pointer_init_2.f90: New. * gfortran.dg/pointer_init_3.f90: New. * gfortran.dg/pointer_init_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163356 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163352 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
<default>: Swap operands 1 and 2 for alternative 2 to use existing code to output insn mnemonic. Fix comment. (*addsi_1_zext): Add r-r-0 alternative 1. <TYPE_LEA>: Split insn to lea. <default>: Handle alternative 1. (*addhi_1_lea): Add r-r-0 alternative 2. Use cond RTX instead of multi-level if_then_else RTX to set "type" attribute. <default>: Handle alternative 2. (*addqi_1_lea): Add q-q-0 alternative 2 and r-r-0 alternative 4. Use cond RTX instead of multi-level if_then_else RTX to set "type" attribute. <default>: Handle alternatives 2 and 4. (lea splitters): Update calls to ix86_lea_for_add_ok. * config/i386/i386.c (ix86_lea_for_add_ok): Remove unused "code" argument. * config/i386/i386-protos.h (ix86_lea_for_add_ok): Update prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163351 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/45295 * intrinsic.texi (selected_char_kind): Document ISO_10646 support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163347 138bc75d-0d04-0410-961f-82ee72b054a4
-
froydnj authored
PR c++/45049 * name-lookup.c (push_overloaded_decl): Change DECL_CHAIN to TREE_CHAIN. gcc/testsuite/ PR c++/45049 * g++.dg/pr45049-1.C: New test. * g++.dg/pr45049-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163344 138bc75d-0d04-0410-961f-82ee72b054a4
-
jiez authored
20 if __ARM_PCS is defined otherwise 64. (bar): Use STACK_ARGUMENTS_SIZE for the third argument instead of hard coded 64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163341 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree-ssa-uninit.c (find_uninit_use): Disregard debug stmts, use operand helpers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163340 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2010-08-18 Paolo Bonzini <bonzini@gnu.org> PR middle-end/45292 * optabs.c (expand_bool_compare_and_swap): Expand pending pops before trying the optab. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163339 138bc75d-0d04-0410-961f-82ee72b054a4
-
qiyao authored
PR target/45094 * config/arm/arm.c (output_move_double): Fix typo generating instructions ('ldr'->'str'). gcc/testsuite/ PR target/45094 * gcc.target/arm/pr45094.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163338 138bc75d-0d04-0410-961f-82ee72b054a4
-
mkuvyrkov authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163335 138bc75d-0d04-0410-961f-82ee72b054a4
-
mkuvyrkov authored
PR rtl-optimization/42575 * optabs.c (expand_doubleword_mult): Generate new pseudos to shorten live ranges. gcc/testsuite/ PR rtl-optimization/42575 * gcc.target/pr42575.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163334 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
test cse for emulated TLS targets. * lib/target-supports.exp (check_effective_target_tls_emulated): New. * gcc.dg/tls/thr-cse-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163330 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
2010-08-18 Marcus Shawcroft <marcus.shawcroft@arm.com> * config/arm/arm-protos.h (arm_expand_sync): New. (arm_output_memory_barrier, arm_output_sync_insn): New. (arm_sync_loop_insns): New. * config/arm/arm.c (FL_ARCH7): New. (FL_FOR_ARCH7): Include FL_ARCH7. (arm_arch7): New. (arm_print_operand): Support %C markup. (arm_legitimize_sync_memory): New. (arm_emit, arm_insn_count, arm_count, arm_output_asm_insn): New. (arm_process_output_memory_barrier, arm_output_memory_barrier): New. (arm_ldrex_suffix, arm_output_ldrex, arm_output_strex): New. (arm_output_op2, arm_output_op3, arm_output_sync_loop): New. (arm_get_sync_operand, FETCH_SYNC_OPERAND): New. (arm_process_output_sync_insn, arm_output_sync_insn): New. (arm_sync_loop_insns,arm_call_generator, arm_expand_sync): New. * config/arm/arm.h (struct arm_sync_generator): New. (TARGET_HAVE_DMB, TARGET_HAVE_DMB_MCR): New. (TARGET_HAVE_MEMORY_BARRIER): New. (TARGET_HAVE_LDREX, TARGET_HAVE_LDREXBHD): New. * config/arm/arm.md: Include sync.md. (UNSPEC_MEMORY_BARRIER): New. (VUNSPEC_SYNC_COMPARE_AND_SWAP, VUNSPEC_SYNC_LOCK): New. (VUNSPEC_SYNC_OP):New. (VUNSPEC_SYNC_NEW_OP, VUNSPEC_SYNC_OLD_OP): New. (sync_result, sync_memory, sync_required_value): New attributes. (sync_new_value, sync_t1, sync_t2): Likewise. (sync_release_barrier, sync_op): Likewise. (length): Add logic to length attribute defintion to call arm_sync_loop_insns when appropriate. * config/arm/sync.md: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163327 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
PR debug/42487 * lib/target-supports.exp (check_effective_target_function_sections): New. * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Check that the target supports function sections before proceding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163326 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163323 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 17 Aug, 2010 13 commits
-
-
jakub authored
ENABLE_TREE_CHECKING. (tree_low_cst): Add inline version for !ENABLE_TREE_CHECKING and GCC >= 4.3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163313 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* intrinsics/date_and_time.c (date_and_time): Pass __{zone,time,date}_len instead of {ZONE,TIME,DATE}_LEN as second argument to fstrcpy. Drop asserts. Adjust comment to the F2003 wording from the F95 wording. * gfortran.dg/pr45308.f03: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163312 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* trans-decl.c (build_library_function_decl_1): Chain on void_list_node instead of creating a new TREE_LIST. * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Likewise. * trans-types.c (gfc_get_function_type): Likewise. Set typelist to void_list_node for the main program. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163311 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2010-08-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_lea_for_add_ok): For !TARGET_OPT_AGU or optimizing for size, always avoid lea if possible. * config/i386/i386.md (*add<mode>_1): Always avoid lea if possible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163310 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
only use _darwin10_Unwind_FindEnclosingFunction on darwin >= 10 gcc: * unwind-dw2-fde-darwin.c (_darwin10_Unwind_FindEnclosingFunction): Dunmmy function with NULL return unless the target is OSX >= 10.6 (Darwin10). libjava: * include/posix.h: Make substitution of _darwin10_Unwind_FindEnclosingFunction conditional on OSX >= 10.6 (Darwin10). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163309 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
2010-08-17 Jack Howarth <howarth@bromo.med.uc.edu> * gcc.c (spec_function): Add remove-outfile. (remove_outfile_spec_function): New function. * config/darwin.h (LINK_SPEC): Add removal of -ldl, -lm and -lpthread. * invoke.texi (replace-outfile): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163305 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* reginfo.c (globalize_reg): Reject stack registers. testsuite/ChangeLog: PR target/45296 * gcc.target/i386/pr45296.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163303 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree-ssa-dom.c (struct edge_info): Use a VEC for the list of conditional equivalences. (free_all_edge_infos): Adjust. (record_equivalences_from_incoming_edge): Likewise. (record_cond): Likewise. (build_and_record_new_cond): Likewise. (record_conditions): Likewise. (dom_opt_leave_block): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163302 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* doc/invoke.texi (ms-extension): Add documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163301 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* class.c (note_name_declared_in_class): Make in 'extern "C"' blocks, or if -fms-extensions is enabled check, check permissive. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163300 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* g++.dg/ext/uow-1.C: New. * g++.dg/ext/uow-2.C: New. * g++.dg/ext/uow-3.C: New. * g++.dg/ext/uow-4.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163299 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* fold-const.c (fold_comparison): Strip nops inside POINTER_PLUS_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163298 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR testsuite/45266 * gfortran.dg/array_memcpy_3.f90: Adjust pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163297 138bc75d-0d04-0410-961f-82ee72b054a4
-