- 10 Jul, 2010 7 commits
-
-
pault authored
PR fortran/44773 * trans-expr.c (arrayfunc_assign_needs_temporary): No temporary if the lhs has never been host associated, as well as not being use associated, a pointer or a target. * resolve.c (resolve_variable): Mark variables that are host associated. * gfortran.h: Add the host_assoc bit to the symbol_attribute structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162038 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
Joern Rennecke <joern.rennecke@embecosm.com> PR debug/44832 * tree-ssa-live.c (mark_all_vars_used_1): Set TREE_USED for LABEL_DECL. (remove_unused_scope_block_p): Don't drop TREE_USED LABEL_DECLs unless they have DECL_IGNORED_P set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162035 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR lto/44889 * gimple.c (gimple_fixup_complete_and_incomplete_subtype_p): New helper function. (gimple_types_compatible_p): Similar to pointed-to types allow and merge a mix of complete and incomplete aggregate. Use gimple_fixup_complete_and_incomplete_subtype_p for that. (iterative_hash_gimple_type): Adjust for that. * gcc.dg/lto/20100709-1_0.c: New testcase. * gcc.dg/lto/20100709-1_1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162032 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
* tree.h (DECL_REPLACEABLE_P): Strengthen check for weak symbols. gcc/testsuite/ * gcc.dg/attr-weak-hidden-1.c, gcc.dg/attr-weak-hidden-1a.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162031 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
make ObjC do LTO. gcc/ PR objc/44140 * config/darwin.c (output_objc_section_asm_op): Save and restore section when outputting ObjC section list. testsuite/ PR objc/44140 * objc.dg/lto/trivial-1_0.m: New. * objc.dg/lto/lto.exp: New. * obj-c++.dg/lto/trivial-1_0.mm: New. * obj-c++.dg/lto/lto.exp: New. * objc.dg/symtab-1.m: Adjust sizes. * objc.dg/image-info.m: Do not run for gnu-runtime. gcc/objc/ PR objc/44140 * objc-act.c: build_objc_string_decl() remove declaration. (finish_var_decl): Remove forcing of var output and marking as "Used". (init_def_list): Use integer_zero_node. (init_objc_symtab): Use integer_zero_node, make the short integer type specific on relevant nodes. (generate_objc_symtab_decl): Remove call to forward_declare_categories(). Use null_pointer_node where appropriate. (build_module_descriptor): Comment and mark this item as DECL_PRESERVE_P. (generate_static_references): Use gcc_unreachable instead of abort (). (diagnose_missing_method): New. (build_next_selector_translation_table): New. (build_gnu_selector_translation_table): New. (add_objc_string): Merge code from build_objc_string_decl... ... and delete build_objc_string_decl(). (generate_dispatch_table): Make integer types explicit. (generate_category): Pass implent and arrange for the data to be extracted within the routine. Do not start new vars, but finish the ones collcted during parsing. (generate_shared_structures): Likewise. (finish_objc): Reorder code so that we finish variables before referencing them. Save the global data before calling meta-data creation routines, and pass the current reference to the two main routines. Only call generate_objc_image_info () for the NeXT runtime. (generate_classref_translation_entry): Comment on and make this item DECL_PRESERVE_P. (handle_class_ref): Use varpool interfaces, comment on and make this item DECL_PRESERVE_P. (handle_impent): Likewise. (generate_objc_image_info): Only generate when the content is non-zero. Make integer types explict. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162030 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162029 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162025 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 09 Jul, 2010 29 commits
-
-
hubicka authored
* tree-inline.c (declare_return_variable): Fix ICE while inlining DECL_BY_VALUE function not in SSA form git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162024 138bc75d-0d04-0410-961f-82ee72b054a4
-
spop authored
2010-07-09 Changpeng Fang <changpeng.fang@amd.com> PR tree-optimization/44576 * tree-ssa-loop-prefetch.c (trip_count_to_ahead_ratio_too_small_p): New. Pull out from is_loop_prefetching_profitable to implement the trip count to ahead ratio heuristic. (mem_ref_count_reasonable_p): New. Pull out from is_loop_prefetching_profitable to implement the instruction to memory reference ratio heuristic. Also consider not reasonable if the memory reference count is above a threshold (to avoid explosive compilation time. (insn_to_prefetch_ratio_too_small_p): New. Pull out from is_loop_prefetching_profitable to implement the instruction to prefetch ratio heuristic. (is_loop_prefetching_profitable): Removed. (loop_prefetch_arrays): Distribute the cost analysis across the function to allow early exit of the prefetch analysis. is_loop_prefetching_profitable is splitted into three functions, with each one called as early as possible. (PREFETCH_MAX_MEM_REFS_PER_LOOP): New. Threshold above which the number of memory references in a loop is considered too many. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162023 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
(addsi3_cbranch): Also andle alternative 2 like alternative 3 when calculating length. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162022 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162021 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162020 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
winreg alternative, but not win, and the class only has fixed regs. * hard-reg-set.h (class_only_fixed_regs): Declare. * reginfo.c (class_only_fixed_regs): New array. (init_reg_sets_1): Initialize it. * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn): Don't discourage alternatives using the stack pointer. testsuite/ * gcc.dg/pr32370.c: Allow another kind of error message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162019 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* gimple.c (struct type_fixup_s): New struct and VEC type. (gimple_register_type_fixups): New static global. (gimple_queue_type_fixup): New function. (gimple_types_compatible_p): Queue type fixups instead of applying them here. (gimple_register_type): Apply queued fixups for the canonical type. Empty the type fixup queue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162017 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162016 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162015 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
CALL_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162014 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* tree-vrp.c (zero_nonzero_bits_from_vr): New function. (extract_range_from_binary_expr): Further optimize BIT_AND_EXPR and BIT_IOR_EXPR. * gcc.dg/tree-ssa/vrp51.c: New test. * gcc.dg/tree-ssa/vrp52.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162009 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* cp-tree.h (BV_LOST_PRIMARY): New macro. * class.c (update_vtable_entry_for_fn): Fix covariant thunk logic. Set BV_LOST_PRIMARY. (build_vtbl_initializer): Check BV_LOST_PRIMARY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162008 138bc75d-0d04-0410-961f-82ee72b054a4
-
spop authored
2010-07-09 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c (fold_or_predicates): New. (add_to_predicate_list): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162007 138bc75d-0d04-0410-961f-82ee72b054a4
-
janus authored
* intrinsic.texi: Add documentation for SAME_TYPE_AS, EXTENDS_TYPE_OF, STORAGE_SIZE, C_NULL_PTR and C_NULL_FUNPTR. Modify documentation of SIZEOF and C_SIZEOF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162006 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR middle-end/44890 * tree-ssa-address.c (create_mem_ref_raw): Only build a MEM_REF if base is a pointer. * tree-cfg.c (verify_expr): Update MEM_REF checking. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162005 138bc75d-0d04-0410-961f-82ee72b054a4
-
meissner authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162002 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
for "lock addl". * configure: Regenerate. * config/i386/i386.c (ix86_print_operand) <case ';'>: Remove TARGET_MACHO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162001 138bc75d-0d04-0410-961f-82ee72b054a4
-
bergner authored
default ISA flags. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mvsx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161999 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* tree.c (type_hash_if_marked_p): Removed non-ggc_marked_p clause. * gcc.dg/debug/dwarf2/pr31230.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161998 138bc75d-0d04-0410-961f-82ee72b054a4
-
hariharans authored
for tstport instruction. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161996 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161995 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/44852 * tree-ssa-alias.c: Include toplev.h for exact_log2. (indirect_ref_may_alias_decl_p): Properly handle negative offsets in MEM_REF. (indirect_refs_may_alias_p): Likewise. * Makefile.in (tree-ssa-alias.o): Add $(TOPLEV_H). * gcc.c-torture/execute/pr44852.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161994 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
multiplication by values. * gcc.target/x86_64/abi/asm-support-darwin.s (_snapshot): Likewise. * gcc.target/x86_64/abi/avx/asm-support.S (snapshot): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161991 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/44882 * tree-vect-stmts.c (vectorizable_store): Do not assert alias sets do conflict. (vectorizable_load): Likewise. * gfortran.dg/pr44882.f90: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161990 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
PR libstdc++/44875 * doc/xml/manual/status_cxx200x.xml: Corrections to status. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161989 138bc75d-0d04-0410-961f-82ee72b054a4
-
bernds authored
* config/arm/arm.c (thumb1_extra_regs_pushed): New arg FOR_PROLOGUE. All callers changed. Handle the case when we're called for the epilogue. (thumb_unexpanded_epilogue): Use it. (thumb1_expand_epilogue): Likewise. testsuite/ PR target/40657 * gcc.target/arm/pr40657-1.c: New test. * gcc.target/arm/pr40657-2.c: New test. * gcc.c-torture/execute/pr40657.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161988 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
both ranges are range_int_cst_p with non-negative minimum, try harder to derive smaller range. * gcc.dg/tree-ssa/vrp50.c: New test. * gcc.dg/vect/slp-perm-4.c (main): Make sure loop isn't vectorized. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161984 138bc75d-0d04-0410-961f-82ee72b054a4
-
manu authored
* genrecog.c: Include diagnostic-core.h before toplev.h. * genoutput.c: Likewise. * genextract.c: Likewise. * genautomata.c: Likewise. * genemit.c: Likewise. * genpeep.c: Likewise. * genattrtab.c: Likewise. * genconditions.c: Likewise. * genpreds.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161983 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161981 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 08 Jul, 2010 4 commits
-
-
janus authored
PR fortran/44649 * gfortran.h (gfc_isym_id): Add GFC_ISYM_C_SIZEOF,GFC_ISYM_STORAGE_SIZE. * intrinsic.h (gfc_check_c_sizeof,gfc_check_storage_size, gfc_resolve_storage_size): New prototypes. * check.c (gfc_check_c_sizeof,gfc_check_storage_size): New functions. * intrinsic.c (add_functions): Add STORAGE_SIZE. * iresolve.c (gfc_resolve_storage_size): New function. * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): Handle polymorphic arguments. (gfc_conv_intrinsic_storage_size): New function. (gfc_conv_intrinsic_function): Handle STORAGE_SIZE. 2010-07-08 Janus Weil <janus@gcc.gnu.org> PR fortran/44649 * gfortran.dg/c_sizeof_1.f90: Modified. * gfortran.dg/storage_size_1.f08: New. * gfortran.dg/storage_size_2.f08: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161977 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161976 138bc75d-0d04-0410-961f-82ee72b054a4
-
aesok authored
* config/ia64/ia64-protos.h (ia64_override_options): Remove. * config/ia64/ia64.c (TARGET_OPTION_OVERRIDE): Define. (ia64_override_options): Rename to... (ia64_option_override): ... this one. Make static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161975 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* emit-rtl.c (set_mem_attributes_minus_bitpos): Do not rely on the pointed-to type of the offset in a MEM_REF to compute the alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161974 138bc75d-0d04-0410-961f-82ee72b054a4
-