- 26 Aug, 2011 15 commits
-
-
ro authored
PR target/50166 * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Check count in main. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178116 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
if threadprivate. * symbol.c (check_conflict): Allow threadprivate attribute with FL_PROCEDURE if proc_pointer. * testsuite/libgomp.fortran/threadprivate4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178114 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
instruction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178113 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* c-typeck.c (c_process_expr_stmt): Skip over nops and call mark_exp_read even if exprv is ADDR_EXPR. * c-c++-common/Wunused-var-14.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178110 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
* df-problems.c (df_note_bb_compute): Pass uses rather than defs to df_set_dead_notes_for_mw. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178109 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* varasm.c (decode_addr_const): Handle MEM_REF[&X, OFF]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178107 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
* gcc.dg/tree-ssa/ivopts-lt.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178105 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
Tom de Vries <tom@codesourcery.com> * tree-ssa-loop-ivopts.c (struct cost_pair): Add comp field. (struct ivopts_data): Add loop_single_exit_p field. (niter_for_exit): Change parameter desc_p into return value. Return desc if desc->may_be_zero. Free desc if unused. (niter_for_single_dom_exit): Change return type. (find_induction_variables): Handle changed return type of niter_for_single_dom_exit. Dump may_be_zero. (add_candidate_1): Keep original base and step type for IP_ORIGINAL. (set_use_iv_cost): Add and handle comp parameter. (determine_use_iv_cost_generic, determine_use_iv_cost_address): Add comp argument to set_use_iv_cost. (strip_wrap_conserving_type_conversions, expr_equal_p) (difference_cannot_overflow_p, iv_elimination_compare_lt): New function. (may_eliminate_iv): Add comp parameter. Handle new return type of niter_for_exit. Use loop_single_exit_p. Use iv_elimination_compare_lt. (determine_use_iv_cost_condition): Add comp argument to set_use_iv_cost and may_eliminate_iv. (rewrite_use_compare): Move call to iv_elimination_compare to ... (may_eliminate_iv): Here. (tree_ssa_iv_optimize_loop): Initialize loop_single_exit_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178104 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
* tree-pretty-print (dump_generic_node): Test for NULL_TREE before accessing TREE_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178103 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
Commit for Jiangning. Add conditional compare support for Thumb2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178102 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178101 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* expr.c (string_constant): Handle &MEM_REF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178100 138bc75d-0d04-0410-961f-82ee72b054a4
-
ams authored
gcc/ * config/arm/arm.c (struct four_ints): New type. (count_insns_for_constant): Delete function. (find_best_start): Delete function. (optimal_immediate_sequence): New function. (optimal_immediate_sequence_1): New function. (arm_gen_constant): Move constant splitting code to optimal_immediate_sequence. Rewrite constant negation/invertion code. gcc/testsuite/ * gcc.target/arm/thumb2-replicated-constant1.c: New file. * gcc.target/arm/thumb2-replicated-constant2.c: New file. * gcc.target/arm/thumb2-replicated-constant3.c: New file. * gcc.target/arm/thumb2-replicated-constant4.c: New file. 2011-08-26 Andrew Stubbs <ams@codesourcery.com> gcc/ * config/arm/arm-protos.h (const_ok_for_op): Add prototype. * config/arm/arm.c (const_ok_for_op): Add support for addw/subw. Remove prototype. Remove static function type. * config/arm/arm.md (*arm_addsi3): Add addw/subw support. Add arch attribute. * config/arm/constraints.md (Pj, PJ): New constraints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178099 138bc75d-0d04-0410-961f-82ee72b054a4
-
ramana authored
Fix scheduling descriptions for smull, smmul and friends on Cortex-A9. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178098 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178095 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 25 Aug, 2011 23 commits
-
-
ian authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178091 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178088 138bc75d-0d04-0410-961f-82ee72b054a4
-
mikael authored
PR fortran/50050 * expr.c (gfc_free_shape): Do nothing if shape is NULL. (free_expr0): Remove redundant NULL shape check. * resolve.c (check_host_association): Ditto. * trans-expr.c (gfc_trans_subarray_assign): Assert that shape is non-NULL. * trans-io.c (transfer_array_component): Ditto. 2011-08-25 Mikael Morin <mikael.morin@gcc.gnu.org> PR fortran/50050 * gfortran.dg/pointer_comp_init_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178086 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
PR 49864 * cfgcleanup.c (old_insns_match_p): Don't allow cross-jump for non-constant stack adjutment. * expr.c (find_args_size_adjust): Break out from ... (fixup_args_size_notes): ... here. * rtl.h (find_args_size_adjust): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178084 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178082 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* call.c (convert_like_real): Exit early if bad and !tf_error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178081 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
sse4 and sse4_noavx. (enabled): Handle sse2, sse2_noavx, sse3, sse4 and sse4_noavx. (*pushdf_rex64): Change Y2 register constraint to x. (*movdf_internal_rex64): Ditto. (*zero_extendsidi2_rex64): Ditto. (*movdi_internal): Change Y2 register constraint to x and update "isa" attribute. (*pushdf): Ditto. (*movdf internal): Ditto. (zero_extendsidi2_1): Ditto. (*truncdfdf_mixed): Ditto. (*truncxfdf2_mixed): Ditto. * config/i386/mmx.md (*mov<mode>_internal_rex64): Change Y2 register constraint to x. (*movv2sf_internal_rex64): Ditto. (*mov<mode>_internal): Change Y2 register constraint to x and add "isa" attribute. (*movv2sf_internal): Ditto. (*vec_extractv2si_1): Ditto. * config/i386/sse.md ("vec_set<mode>_0): Change Y2 and Y4 register constraints to x and update "isa" attribute. (*vec_interleave_highv2df): Change Y3 registerconstraint to x and update "isa" attribute. (*vec_interleave_lowv2df): Ditto. (*vec_concatv2df): Change Y2 register constraint to x and update "isa" attribute. (sse2_loadld): Ditto. (*vec_extractv2di_1): Ditto. (*vec_dupv4si): Ditto. (*vec_dupv2di): Ditto. (*vec_concatv4si): Ditto. (vec_concatv2di): Ditto. * config/i386/constraints.md (Y2): Remove. (Y3): Ditto. (Y4): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178073 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
* trans-array.c (gfc_conv_descriptor_token): Add assert. * trans-decl.c (gfc_build_qualified_array, create_function_arglist): Handle assumed-shape arrays. * trans-expr.c (gfc_conv_procedure_call): Ditto. * trans-types.c (gfc_get_array_descriptor_base): Ditto, don't add "caf_token" to assumed-shape descriptors, new akind argument. (gfc_get_array_type_bounds): Pass akind. * trans.h (lang_decl): New elements caf_offset and token. (GFC_DECL_TOKEN, GFC_DECL_CAF_OFFSET): New macros. 2011-08-25 Tobias Burnus <burnus@net-b.de> * gfortran.dg/coarray_lib_token_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178069 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
* trans-array.c (structure_alloc_comps): Fix for allocatable scalar coarray components. * trans-expr.c (gfc_conv_component_ref): Ditto. * trans-type.c (gfc_get_derived_type): Ditto. 2011-08-25 Tobias Burnus <burnus@net-b.de> * gfortran.dg/coarray/alloc_comp_1.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178068 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178067 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* testsuite/lib/gdb-test.exp: New file. * testsuite/libstdc++-prettyprinters/prettyprinters.exp: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178066 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
dump_def_use_chain): Don't declare. (mark_conflict, create_new_chain): Move before users. (regrename_optimize): Move to near end of file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178065 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
(secondary_input_reload_class): Remove Prototype. * config/avr/avr.c (byte_immediate_operand): Remove Function. * config/avr/avr.md (setmemhi): Use u8_operand. (strlenhi): Use const0_rtx for comparison. * config/avr/avr.h (avr_reg_order): Remove Declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178064 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
avr_regno_reg_class. Return smallest register class available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178063 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
* config/avr/avr.c (STR_PREFIX_P): New Define. (avr_asm_declare_function_name): Use it. (avr_asm_named_section): Use it. (avr_section_type_flags): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178062 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* gcc.dg/Wshadow-3.c: Restore original content destroyed by r148442. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178061 138bc75d-0d04-0410-961f-82ee72b054a4
-
aph authored
* src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Remove hard-coded assembly instructions. * src/arm/sysv.S (ffi_arm_trampoline): Put them here instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178060 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
* genautomata.c (COLLAPSE_OPTION): New macro. (collapse_flag): New static variable. (struct description): New member normal_decls_num. (struct automaton): New members advance_ainsn and collapse_ainsn. (gen_automata_option): Check for COLLAPSE_OPTION. (collapse_ndfa_insn_decl): New static variable. (add_collapse_ndfa_insn_decl, special_decl_p): New functions. (find_arc): If insn is the collapse-ndfa insn, accept any arc we find. (transform_insn_regexps): Call add_collapse_ndfa_insn_decl if necessary. Use normal_decls_num rather than decls_num, remove test for special decls. (create_alt_states, form_ainsn_with_same_reservs): Use special_decl_p. (make_automaton); Likewise. Use the new advance_cycle_insn member of struct automaton. (create_composed_state): Disallow advance-cycle arcs if collapse_flag is set. (NDFA_to_DFA): Don't create composed states for the collapse-ndfa transition. Create the necessary transitions for it. (create_ainsns): Return void. Take an automaton_t argument, and update its ainsn_list, advance_ainsn and collapse_ainsn members. All callers changed. (COLLAPSE_NDFA_VALUE_NAME): New macro. (output_tables): Output code to define it. (output_internal_insn_code_evaluation): Output code to accept const0_rtx as collapse-ndfa transition. (output_default_latencies, output_print_reservation_func, output_print_description): Reorganize loops to use normal_decls_num as loop bound; remove special case for advance_cycle_insn_decl. (initiate_automaton_gen): Handle COLLAPSE_OPTION. (check_automata_insn_issues): Check for collapse_ainsn. (expand_automate): Allocate sufficient space. Initialize normal_decls_num. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178059 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
* config/avr/avr.md: Fix indentation from r177991. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178058 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
(create_new_chain): Don't initialize it. (scan_rtx_reg): Don't set or test it, test the open_chains_set bitmap instead. (tick, this_tick): New global variables, moved out of regrename_optimize. (current_id, open_chains, closed_chains, open_chains_set, live_in_chains, live_hard_regs): Reorder declarations. (dump_def_use_chain): Move function earlier in the file. (rename_chains): New static function, broken out of regrename_optimize. (regrename_optimize): Use it. Remove #if 0'ed code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178057 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
* gcc_update: Determine svn branch from hg convert_revision. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178056 138bc75d-0d04-0410-961f-82ee72b054a4
-
aldot authored
* varasm.c: (default_binds_local_p_1): Commentary typo fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178055 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178053 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 24 Aug, 2011 2 commits
-
-
ian authored
to implement a common interface for writing basic type literals and added flags for optimization. * lang.opt: Add fgo-optimize-. * go-lang.c (go_langhook_handle_option): Handle OPT_fgo_optimize. * go-c.h (go_enable_optimize): Declare. * Make-lang.in (GO_OBJS): Add go/go-optimize.o. (GO_EXPORT_H): Define. (GO_IMPORT_H): Add $(GO_EXPORT_H). (GO_AST_DUMP_H): Define. (go/ast-dump.o, go/statements.o): Use GO_AST_DUMP_H. (go/export.o, go/gogo.o, go/import.o): Use GO_EXPORT_H. (go/types.o): Likewise. (go/expressions.o): Use GO_AST_DUMP_H and GO_EXPORT_H. (go/go-optimize.o): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178046 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178040 138bc75d-0d04-0410-961f-82ee72b054a4
-