- 15 May, 2013 17 commits
-
-
re PR target/57260 (Generated R_MIPS_GOT_MIPS relocation for direct function call while compiling with -O2 on MIPS N64) gcc/ PR target/57260 * config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow sibling calls to functions that would normally be lazily bound, unless $gp is call-clobbered. gcc/testsuite/ PR target/57260 * gcc.target/mips/call-1.c: Restrict to o32. * gcc.target/mips/call-5.c, gcc.target/mips/call-6.c: New test. From-SVN: r198945
Richard Sandiford committed -
name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and permerror with warning_at/inform and permerror/... /cp 2013-05-15 Paolo Carlini <paolo.carlini@oracle.com> * name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and permerror with warning_at/inform and permerror/ inform, respectively. /testsuite 2013-05-15 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/lambda/lambda-shadow1.C: Replace dg-warnings with dg-messages. * g++.dg/warn/Wshadow-1.C: Likewise. * g++.dg/warn/Wshadow-6.C: Likewise. * g++.dg/warn/Wshadow-7.C: Likewise. From-SVN: r198943
Paolo Carlini committed -
i386.c (iy86_option_override_internal): Update processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags. * config/i386/i386.c (iy86_option_override_internal): Update processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags. Add PTA_POPCNT to corei7 entry and remove PTA_SSE from athlon-4 entry. Do not enable SSE prefetch on non-SSE 3dNow! targets. Enable TARGET_PRFCHW for TARGET_3DNOW targets. * config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead of TARGET_3DNOW. (*prefetch_3dnow): Enable for TARGET_PRFCHW only. From-SVN: r198942
Uros Bizjak committed -
* config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name for rotlhi3+1 and rotlqi3+1, resp. Fix reference to non-existing third operand. From-SVN: r198940
Andreas Schwab committed -
/cp 2013-05-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/31952 * name-lookup.c (pushdecl_maybe_friend_1): Diagnose illegal redeclarations. /testsuite 2013-05-15 Paolo Carlini <paolo.carlini@oracle.com> PR c++/31952 * g++.dg/parse/pr31952-1.C: New. * g++.dg/parse/pr31952-2.C: Likewise. * g++.dg/parse/pr31952-3.C: Likewise. * g++.dg/parse/pr18770.C: Adjust dg-errors to dg-messages. * g++.old-deja/g++.jason/cond.C: Likewise. * g++.dg/cpp0x/range-for5.C: Likewise. From-SVN: r198939
Paolo Carlini committed -
2013-05-15 Teresa Johnson <tejohnson@google.com> * loop-unroll.c (report_unroll_peel): Check decision before emitting unroll/peel message. From-SVN: r198936
Teresa Johnson committed -
2013-05-15 Teresa Johnson <tejohnson@google.com> * function.h (has_bb_partition): New rtl_data flag. (bb_reorder_complete): Ditto. * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition instead of flag_reorder_blocks_and_partition. * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c, with some enhancements. (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping. * bb-reorder.c (connect_traces): Check for has_bb_partition instead of flag_reorder_blocks_and_partition. (verify_hot_cold_block_grouping): Moved to cfgrtl.c. (reorder_basic_blocks): Set bb_reorder_complete flag, remove call to verify_hot_cold_block_grouping. (partition_hot_cold_basic_blocks): Set has_bb_partition. From-SVN: r198934
Teresa Johnson committed -
2013-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/19599 * config/arm/predicates.md (call_insn_operand): New predicate. * config/arm/constraints.md ("Cs", "Ss"): New constraints. * config/arm/arm.md (*call_insn, *call_value_insn): Match only if insn is not a tail call. (*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through registers. * config/arm/arm.h (enum reg_class): New caller save register class. (REG_CLASS_NAMES): Likewise. (REG_CLASS_CONTENTS): Likewise. * config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling without decls. 2013-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/19599 * gcc.target/arm/pr40887.c: Adjust testcase. * gcc.target/arm/pr19599.c: New test. From-SVN: r198928
Ramana Radhakrishnan committed -
2013-05-15 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead of MSG_OPTIMIZED_LOCATIONS. * tree-vect-slp.c (vect_make_slp_decision): Likewise. (vect_slp_transform_bb): Indicate location in MSG_OPTIMIZED_LOCATIONS message. * tree-vectorizer.c (vectorize_loops): Use MSG_NOTE instead of MSG_OPTIMIZED_LOCATIONS. (execute_vect_slp): Likewise. * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise. (vect_create_cond_for_alias_checks): Likewise. * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise. (vect_recog_widen_mult_pattern): Likewise. (vect_recog_widen_sum_pattern): Likewise. (vect_recog_over_widening_pattern): Likewise. (vect_recog_widen_shift_pattern): Likewise. (vect_recog_vector_vector_shift_pattern): Likewise. (vect_recog_divmod_pattern): Likewise. (vect_recog_mixed_size_cond_pattern): Likewise. (vect_recog_bool_pattern): Likewise. (vect_pattern_recog_1): Likewise. From-SVN: r198927
Richard Biener committed -
ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to non-functions to builtin_unreachable. 2013-05-15 Martin Jambor <mjambor@suse.cz> * ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to non-functions to builtin_unreachable. * ipa-inline-transform.c (inline_call): Do not assert estimates were correct when new direct edges were discovered. From-SVN: r198926
Martin Jambor committed -
2013-05-15 Martin Jambor <mjambor@suse.cz> * ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in header, print symbol order instead of node uid, print more information about indirect edge targets. (ipa_make_edge_direct_to_target): Print symbol order instead of node uids. (ipa_make_edge_direct_to_target): Likewise. (remove_described_reference): Likewise. (propagate_controlled_uses): Likewise. (ipa_print_node_params): Also print symbol order. (ipcp_transform_function): Print symbol order instead of node uids. * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise. (cgraph_get_create_real_symbol_node): Likewise. * ipa-cp.c (print_lattice): Likewise. (print_all_lattices): Likewise. (determine_versionability): Likewise. (initialize_node_lattices): Likewise. (estimate_local_effects): Likewise. (update_profiling_info): Likewise. (create_specialized_node): Likewise. (perhaps_add_new_callers): Likewise. (decide_about_value): Likewise. (decide_whether_version_node): Likewise. (identify_dead_nodes): Likewise. * ipa-inline-analysis.c (dump_inline_edge_summary): Likewise. (dump_inline_summary): Likewise. (estimate_node_size_and_time): Likewise. (inline_analyze_function): Likewise. * ipa-inline.c (report_inline_failed_reason): Likewise. (want_early_inline_function_p): Likewise. (edge_badness): Likewise. (update_edge_key): Likewise. (inline_small_functions): Likewise. Add dumping of order to two other dumps. * ipa-pure-const.c (pure_const_read_summary): Print symbol order instead of node uids. (propagate_pure_const): Likewise. (propagate_pure_const): Likewise. * ipa-utils.c (dump_cgraph_node_set): Likewise. * lto-cgraph.c (input_node): Explicitly specify we dump uid. * lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead of node uids. * tree-pretty-print.c (dump_function_header): Likewise. * tree-sra.c (convert_callers_for_node): Dump in traditional format. Print symbol order instead of node uids. lto/ * lto-partition.c (lto_balanced_map): Print symbol order instead of node uids. From-SVN: r198925
Martin Jambor committed -
s390.c (s390_register_move_cost): Don't impose the FPR<->GPR move cost penalty if ldgr/lgdr can be used. 2013-05-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_register_move_cost): Don't impose the FPR<->GPR move cost penalty if ldgr/lgdr can be used. From-SVN: r198923
Andreas Krebbel committed -
From-SVN: r198920
Jonathan Wakely committed -
2013-05-15 Richard Biener <rguenther@suse.de> PR tree-optimization/57275 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Fix return value for fail to do runtime alias checks for gather loads. * gcc.target/i386/pr57275.c: New testcase. From-SVN: r198918
Richard Biener committed -
PR lto/57038 PR lto/47375 * lto-symtab.c (lto_symtab_symbol_p): Add external symbol; weakrefs are not external. (lto_symtab_merge_decls): Fix thinko when dealing with non-lto_symtab decls. (lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p. (lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p. * varpool.c (dump_varpool_node): Dump more flags. * lto-partition.c (get_symbol_class): Fix weakrefs. (lto_balanced_map): Fix weakrefs. (privatize_symbol_name): Remove unnecesary label. (rename_statics): Handle weakrefs as statics. * gcc.dg/lto/attr-weakref-1_0.c: New testcase. * gcc.dg/lto/attr-weakref-1_1.c: New testcase. * gcc.dg/lto/attr-weakref-1_2.c: New testcase. From-SVN: r198917
Jan Hubicka committed -
From-SVN: r198916
Ganesh Gopalasubramanian committed -
From-SVN: r198912
GCC Administrator committed
-
- 14 May, 2013 23 commits
-
-
2013-05-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> * gcc.dg/torture/alias-1.c: Add dg-require-effective-target scheduling. From-SVN: r198909
Senthil Kumar Selvaraj committed -
PR c++/57274 * c-common.c (verify_tree): Don't recurse into SIZEOF_EXPR. * c-c++-common/Wsequence-point-1.c: New test. From-SVN: r198903
Jakub Jelinek committed -
re PR c++/57243 (Using auto in range based for with templated container in templated function requires extraneous template qualifier) PR c++/57243 * parser.c (cp_parser_range_for): Call complete_type. From-SVN: r198901
Jason Merrill committed -
* tree.c (warn_deprecated_use): Print file:line using locus color. * diagnostic.c (diagnostic_report_current_module): Print file:line and file:line:column using locus color. From-SVN: r198900
Jakub Jelinek committed -
From-SVN: r198899
Mike Stump committed -
* recog.h: Rename struct recog_data to Recog_data. * recog.c: Likewise. * reload.c (can_reload_into): Likewise. * config/picochip/picochip.c: Likewise. From-SVN: r198898
Mike Stump committed -
From-SVN: r198896
Mike Stump committed -
* resource.h (struct resources): Remove unch_memory member. (CLEAR_RESOURCE): Don't clear unch_memory. * resource.c (mark_referenced_resources): Don't set it. (mark_set_resources): Likewise. (mark_target_live_regs): Don't clear it. (init_resource_info): Likewise. * reorg.c (resource_conflicts_p): Don't compare it. (redundant_insn): Don't set it. From-SVN: r198895
Steven Bosscher committed -
* rtl.h (next_label, skip_consecutive_labels, link_cc0_insns): Remove prototypes. * emit-rtl.c (next_label): Remove unused function. (skip_consecutive_labels, link_cc0_insns): Move to ... * reorg.c (skip_consecutive_labels, link_cc0_insns): ... here, the only place where these functions are used, and make them static. From-SVN: r198894
Steven Bosscher committed -
2013-05-14 Marc Glisse <marc.glisse@inria.fr> gcc/ * fold-const.c (fold_negate_expr): Handle vectors. (fold_truth_not_expr): Make it static. (fold_invert_truthvalue): New static function. (invert_truthvalue_loc): Handle vectors. Do not call fold_truth_not_expr directly. (fold_unary_loc) <BIT_NOT_EXPR>: Handle comparisons. <TRUTH_NOT_EXPR>: Do not cast to boolean. (fold_comparison): Handle vector constants. (fold_binary_loc) <TRUTH_XOR_EXPR>: Remove redundant code. (fold_ternary_loc) <VEC_COND_EXPR>: Adapt more COND_EXPR optimizations. * tree.h (fold_truth_not_expr): Remove declaration. gcc/testsuite/ * g++.dg/ext/vector22.C: New testcase. * gcc.dg/binop-xor3.c: Remove xfail. From-SVN: r198893
Marc Glisse committed -
2013-05-14 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast): Use std::pointer_traits. From-SVN: r198891
Paolo Carlini committed -
gcc/ * config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode>): Rename to... (aarch64_vcond_internal<mode><mode>): ...This, for integer modes. (aarch64_vcond_internal<VDQF_COND:mode><VDQF:mode>): ...This for float modes. Clarify all iterator modes. (vcond<mode><mode>): Use new name for vcond expanders. (vcond<v_cmp_result><mode>): Likewise. (vcondu<mode><mode>: Likewise. * config/aarch64/iterators.md (VDQF_COND): New. gcc/testsuite/ * gcc.target/aarch64/vect-fcm.x: Add cases testing FLOAT cmp FLOAT ? INT : INT. * gcc.target/aarch64/vect-fcm-eq-d.c: Define IMODE. * gcc.target/aarch64/vect-fcm-eq-f.c: Likewise. * gcc.target/aarch64/vect-fcm-ge-d.c: Likewise. * gcc.target/aarch64/vect-fcm-ge-f.c: Likewise. * gcc.target/aarch64/vect-fcm-gt-d.c: Likewise. * gcc.target/aarch64/vect-fcm-gt-f.c: Likewise. From-SVN: r198890
James Greenhalgh committed -
re PR c++/57041 (ICE in lookup_field_1, at cp/search.c:376 (with dot-prefixed structure initialisation)) PR c++/57041 * pt.c (tsubst_copy_and_build): Don't recur into a designator. From-SVN: r198887
Jason Merrill committed -
re PR c++/53903 ([C++11] Incompatible exception-specification allowed if member explicitly-defaulted after first declaration) /cp 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53903 * method.c (defaulted_late_check): Check for compatible exception specification out of class explicitly defaulted functions too. /testsuite 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53903 * g++.dg/cpp0x/defaulted43.C: New. From-SVN: r198886
Paolo Carlini committed -
* gcc.dg/fstack-protector-strong.c: Don't include <stdlib.h>. (alloca): Remove declaration. (foo9): Replace alloca by __builtin_alloca. From-SVN: r198883
Rainer Orth committed -
PR c++/56998 * semantics.c (potential_constant_expression_1): Make sure the called function is potentially constant. * call.c (null_ptr_cst_p): Revert earlier change. From-SVN: r198881
Jason Merrill committed -
re PR bootstrap/57266 (comparison between signed and unsigned integer expressions in fold_binary_loc breaks m68k bootstrap) 2013-05-14 Marc Glisse <marc.glisse@inria.fr> PR bootstrap/57266 * fold-const.c (fold_binary_loc) <shift>: Use an unsigned variable for the shift amount. Check that we shift by non-negative amounts. From-SVN: r198880
Marc Glisse committed -
2013-05-14 Chung-Lin Tang <cltang@codesourcery.com> PR target/42017 * config/arm/arm.h (EPILOGUE_USES): Only return true for LR_REGNUM after epilogue_completed. From-SVN: r198879
Chung-Lin Tang committed -
gcc: * config/avr/avr.c (avr_encode_section_info): Bail out if the type is error_mark_node. gcc/testsuite: * testsuite/gcc.c-torture/compile/limits-externdecl.c [target avr-*-*]: Expect "size of array is too large" error. From-SVN: r198876
Joern Rennecke committed -
* gcc.dg/fstack-protector-strong.c (alloca): Declare. From-SVN: r198872
Rainer Orth committed -
PR target/57261 * configure.ac (gcc_cv_ld_as_needed): Disable before Solaris 11 and Solaris 11+/x86 with gld. * configure: Regenerate. From-SVN: r198867
Rainer Orth committed -
* expmed.c (expand_shift_1): Canonicalize rotates by constant bitsize / 2 to bitsize - 1. * simplify-rt.x (simplify_binary_operation_1) <case ROTATE, case ROTATERT>: Likewise. Revert: 2013-05-10 Jakub Jelinek <jakub@redhat.com> * config/i386/i386.md (rotateinv): New code attr. (*<rotate_insn><mode>3_1, *<rotate_insn>si3_1_zext, *<rotate_insn>qi3_1_slp): Emit rorl %eax instead of roll $31, %eax, etc. From-SVN: r198864
Jakub Jelinek committed -
2013-05-14 Richard Biener <rguenther@suse.de> PR middle-end/57235 * tree-eh.c (sink_clobbers): Give up for successors with multiple predecessors and no virtual uses. * g++.dg/torture/pr57235.C: New testcase. From-SVN: r198863
Richard Biener committed
-