aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2013-08-30Daily bump.GCC Administrator1-1/+1
From-SVN: r202092
2013-08-29New vectorizer messages; message format change.Xinliang David Li58-69/+154
From-SVN: r202088
2013-08-29Support dumping type bindings and 'mutable' qualifier in lambda diagnostics.Adam Butcher2-27/+54
* error.c (dump_lambda_function): New function, dependent on ... (dump_substitution): ... this new function, factored out of ... (subst_to_string): ... here and ... (dump_function_decl): ... here. Updated to early-out with call to dump_lambda_function after determining template bindings. From-SVN: r202087
2013-08-29cgraphclones.c (cgraph_create_virtual_clone): Compute the DECL_NAME of the ↵Eric Botcazou4-5/+20
clone from the DECL_NAME of the original function. * cgraphclones.c (cgraph_create_virtual_clone): Compute the DECL_NAME of the clone from the DECL_NAME of the original function. From-SVN: r202086
2013-08-29passes.c (register_pass): Add overload.Oleg Endo3-2/+27
* passes.c (register_pass): Add overload. * tree-pass.h (register_pass): Forward declare it. Add comment. From-SVN: r202081
2013-08-29Revert accidental checkin.Jan Hubicka1-1/+1
From-SVN: r202080
2013-08-29lto.c (compare_tree_sccs_1): Compare DECL_FINAL_P...Jan Hubicka7-5/+55
* lto.c (compare_tree_sccs_1): Compare DECL_FINAL_P, DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P and TYPE_FINAL_P. * lto-streamer-out.c (hash_tree): Stream DECL_FINAL_P. DECL_CXX_CONSTRUCTOR_P. DECL_CXX_DESTRUCTOR_P. TYPE_FINAL_P. * lto-streamer-in.c (unpack_ts_decl_with_vis_value_fields): DECL_FINAL_P. DECL_CXX_CONSTRUCTOR_P and DECL_CXX_DESTRUCTOR_P. (unpack_ts_type_common_value_fields): Stream TYPE_FINAL_P. * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Add DECL_FINAL_P, DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P (pack_ts_type_common_value_fields): Add TYPE_FINAL_P. From-SVN: r202079
2013-08-29dumpfile.c (dump_loc): Output column number.Teresa Johnson14-34/+97
2013-08-29 Teresa Johnson <tejohnson@google.com> * dumpfile.c (dump_loc): Output column number. * dumpfile.h (OPTGROUP_OTHER): Add and enable under OPTGROUP_ALL. * doc/invoke.texi: Document optall -fopt-info flag. * profile.c (read_profile_edge_counts): Use new dump framework. (compute_branch_probabilities): Ditto. * passes.c (pass_manager::register_one_dump_file): Use OPTGROUP_OTHER when pass not in any opt group. * pass_manager.h (pass_manager::get_pass_profile): New method. * value-prof.c (check_counter): Use new dump framework. (check_ic_target): Ditto. * coverage.c (get_coverage_counts): Ditto. (coverage_init): Setup new dump framework. * testsuite/gcc.dg/pr40209.c: Use -fopt-info. * testsuite/gcc.dg/pr26570.c: Ditto. * testsuite/gcc.dg/pr32773.c: Ditto. * testsuite/g++.dg/tree-ssa/dom-invalid.C: Ditto. * testsuite/gcc.dg/inline-dump.c: New test. From-SVN: r202077
2013-08-29re PR tree-optimization/58246 (wrong code at -O1 and above)Richard Biener4-0/+37
2013-08-29 Richard Biener <rguenther@suse.de> PR tree-optimization/58246 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly handle the dominance check inside a basic-block. * gcc.dg/torture/pr58246.c: New testcase. From-SVN: r202071
2013-08-29re PR fortran/52243 (Avoid reallocation for: array1 = array1 / scalar for ↵Thomas Koenig5-2/+136
performance) 2013-08-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/52243 * trans-expr.c (is_runtime_conformable): New function. * gfc_trans_assignment_1: Use it. 2013-08-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/52243 * gfortran.dg/realloc_on_assign_14.f90: Remove warning made obsolete by patch. * gfortran.dg/realloc_on_assign_19.f90: New test. From-SVN: r202070
2013-08-29re PR middle-end/57287 (Bogus uninitialized warning with abnormal control flow)Richard Biener4-1/+53
2013-08-29 Richard Biener <rguenther@suse.de> PR middle-end/57287 * tree-ssa-copy.c (may_propagate_copy): Allow propagating of default defs that appear in abnormal PHI nodes. * gcc.dg/pr57287-2.c: New testcase. From-SVN: r202069
2013-08-29re PR tree-optimization/57685 (GCC stuck in an infinite loop)Richard Biener4-4/+34
2013-08-29 Richard Biener <rguenther@suse.de> PR tree-optimization/57685 * tree-vrp.c (register_edge_assert_for_1): Recurse only for single-use operands to avoid exponential complexity. * gcc.dg/torture/pr57685.c: New testcase. From-SVN: r202068
2013-08-29go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if the struct is ↵Ian Lance Taylor2-10/+12
not hidden. * go-gcc.cc (Gcc_backend::immutable_struct): Set TREE_PUBLIC if the struct is not hidden. (Gcc_backend::immutable_struct_set_init): Don't set TREE_PUBLIC. From-SVN: r202065
2013-08-29Daily bump.GCC Administrator1-1/+1
From-SVN: r202064
2013-08-28re PR c++/58255 ([C++11] explicit delegating constructor with no arguments ↵Paolo Carlini4-1/+20
wrongly rejected) /cp 2013-08-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58255 * init.c (build_aggr_init): When init == void_type_node do not set LOOKUP_ONLYCONVERTING. /testsuite 2013-08-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58255 * g++.dg/cpp0x/dc7.C: New. From-SVN: r202061
2013-08-28Replace fixed size array that was holding vtable pointers with a vector, ↵Caroline Tice2-57/+65
allowing dynamic resizing. Replace fixed size array that was holding vtable pointers with a vector, allowing dynamic resizing. ALso fix issues with warning diagnostics. From-SVN: r202060
2013-08-28ipa-inline.c (edge_badness): Fix integer underflow.Dehao Chen3-6/+29
2013-08-28 Dehao Chen <dehao@google.com> * ipa-inline.c (edge_badness): Fix integer underflow. From-SVN: r202059
2013-08-28gtm-builtins.def (_ITM_free): Declare leaf.Uros Bizjak2-4/+8
* gtm-builtins.def (_ITM_free): Declare leaf. From-SVN: r202058
2013-08-28re PR target/58067 (ICE in GFortran recog.c:2158)Jakub Jelinek3-2/+63
PR target/58067 * config/i386/i386.md (*tls_global_dynamic_64_largepic): New insn. (*tls_local_dynamic_base_64_largepic): Likewise. (tls_global_dynamic_64_<mode>, tls_local_dynamic_base_64_<mode>): Remove predicate from call operand. * config/i386/i386.c (ix86_tls_get_addr): For -mcmodel=large -fpic return sum of pic_offset_table_rtx and UNSPEC_PLTOFF of the symbol. From-SVN: r202055
2013-08-28tree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the ↵Jeff Law3-13/+52
number of predecessors and successors allowed. * tree-ssa-threadedge.c (thread_around_empty_block): Remove checks for the number of predecessors and successors allowed. * tree-ssa-threadupdate.c (mark_threaded_blocks): Ignore requests which require copying a joiner block if there is a request which is a subpath that requires no joiner block copying. From-SVN: r202054
2013-08-28lto-streamer-out.c (DFS_write_tree_body): Drop BINFO_INHERITANCE_CHAIN, ↵Jan Hubicka1-7/+2
BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX. * lto-streamer-out.c (DFS_write_tree_body): Drop BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX. (hash_tree): Do not hash DECL_DEFER_OUTPUT, BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, DECL_IN_TEXT_SECTION. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Do not read DECL_ERROR_ISSUED. (unpack_ts_decl_with_vis_value_fields): Do not read DECL_DEFER_OUTPUT. (lto_input_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX * tree-streamer-out.c (pack_ts_decl_common_value_fields): Do not write DECL_ERROR_ISSUED.. (pack_ts_decl_with_vis_value_fields): Do not write DECL_DEFER_OUTPUT. (write_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX * print-tree.c (print_node): Do not print DECL_ERROR_ISSUED. * tree.h (tree_decl_common): Update comment. (DECL_ERROR_ISSUED): Remove. From-SVN: r202053
2013-08-28lto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED, DECL_DEFER_OUTPUT and ↵Jan Hubicka7-43/+49
DECL_IN_TEXT_SECTION. * lto.c (compare_tree_sccs_1): Drop DECL_ERROR_ISSUED, DECL_DEFER_OUTPUT and DECL_IN_TEXT_SECTION. (unify_scc): Do checking assert. * lto-streamer-out.c (DFS_write_tree_body): Drop BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX and BINFO_VPTR_INDEX. (hash_tree): Do not hash DECL_DEFER_OUTPUT, BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX, DECL_IN_TEXT_SECTION. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Do not read DECL_ERROR_ISSUED. (unpack_ts_decl_with_vis_value_fields): Do not read DECL_DEFER_OUTPUT. (lto_input_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX * tree-streamer-out.c (pack_ts_decl_common_value_fields): Do not write DECL_ERROR_ISSUED.. (pack_ts_decl_with_vis_value_fields): Do not write DECL_DEFER_OUTPUT. (write_ts_binfo_tree_pointers): Do not read BINFO_INHERITANCE_CHAIN, BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX * print-tree.c (print_node): Do not print DECL_ERROR_ISSUED. * tree.h (tree_decl_common): Update comment. (DECL_ERROR_ISSUED): Remove. From-SVN: r202052
2013-08-28PR spam/58261Jakub Jelinek1-1/+1
PR spam/58262 Fix up ChangeLog entry whitespace. From-SVN: r202051
2013-08-28re PR middle-end/58257 (Bogus warning with OpenMP collapsed loops)Jakub Jelinek4-0/+26
PR middle-end/58257 * omp-low.c (copy_var_decl): Copy over TREE_NO_WARNING flag. * c-c++-common/gomp/pr58257.c: New test. From-SVN: r202049
2013-08-28ChangeLog: Fix whitespace.Uros Bizjak2-100/+92
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r202048
2013-08-28re PR tree-optimization/56933 (Vectorizer missing read-write dependency for ↵Richard Biener2-0/+11
interleaved accesses) 2013-08-28 Richard Biener <rguenther@suse.de> PR tree-optimization/56933 * gcc.dg/vect/pr56933.c: Properly guard runtime with check_vect (). From-SVN: r202044
2013-08-28* builtins.def (free): Declare leaf.Jan Hubicka2-1/+5
From-SVN: r202043
2013-08-28lto-partition.c (lto_balanced_map): Always base order on source file order.Jan Hubicka2-19/+19
* lto-partition.c (lto_balanced_map): Always base order on source file order. Co-Authored-By: Martin Liska <marxin.liska@gmail.com> From-SVN: r202041
2013-08-28Initial version of gdb hooksDavid Malcolm4-0/+405
* MAINTAINERS (gdbhooks.py): Add myself as maintainer gcc/ * gdbhooks.py: New. * configure.ac (gdbinit.in): Add import of gcc/gdbhooks.py. * configure: Regenerate. From-SVN: r202040
2013-08-28Daily bump.GCC Administrator1-1/+1
From-SVN: r202039
2013-08-27ipa-prop.h (ipa_pass_through_data): New field type_preserved.Martin Jambor4-56/+203
2013-08-27 Martin Jambor <mjambor@suse.cz> * ipa-prop.h (ipa_pass_through_data): New field type_preserved. (ipa_ancestor_jf_data): Likewise. (ipa_get_jf_pass_through_agg_preserved): Fix comment typo. (ipa_get_jf_pass_through_type_preserved): New function. (ipa_get_jf_ancestor_agg_preserved): Fix comment typo. (ipa_get_jf_ancestor_type_preserved): New function. * ipa-cp.c (ipa_get_jf_pass_through_result): Honor type_preserved flag. (ipa_get_jf_ancestor_result): Likewise. (propagate_vals_accross_pass_through): Use ipa_get_jf_pass_through_result to do all the value mappings. * ipa-prop.c (ipa_print_node_jump_functions_for_edge): Dump the type_preserved flag. (ipa_set_jf_cst_copy): New function. (ipa_set_jf_simple_pass_through): Set the type_preserved flag. (ipa_set_jf_arith_pass_through): Likewise. (ipa_set_ancestor_jf): Likewise. (compute_complex_assign_jump_func): Set type_preserved instead of punting. (ipa_compute_jump_functions_for_edge): Likewise. (combine_known_type_and_ancestor_jfs): Honor type_preserved. (update_jump_functions_after_inlining): Update type_preserved. Explicitely create jump functions when combining one with pass_through. (ipa_write_jump_function): Stream the type_preserved flags. (ipa_read_jump_function): Likewise. From-SVN: r202036
2013-08-27Makefile.in (omp-low.o): Depend on $(TARGET_H).Jakub Jelinek31-336/+2154
* Makefile.in (omp-low.o): Depend on $(TARGET_H). * cfgloop.h (struct loop): Add safelen, force_vect, simduid. * function.h (struct function): Add has_force_vect_loops and has_simduid_loops. * gimple-pretty-print.c (dump_gimple_omp_for): Handle GF_OMP_FOR_KIND*. * gimple.c (gimple_build_omp_critical): Add KIND argument and handle it. * gimple.def: Update CLAUSES comments. * gimple.h (enum gf_mask): Add GF_OMP_FOR_KIND_{FOR,SIMD}. (gimple_build_omp_for): Add argument to prototype. (gimple_omp_for_kind): New. (gimple_omp_for_set_kind): New. * gimplify.c (enum gimplify_omp_var_data): Add GOVD_LINEAR to GOVD_DATA_SHARE_CLASS. (enum omp_region_type): Add ORT_SIMD. (gimple_add_tmp_var): Handle ORT_SIMD. (gimplify_var_or_parm_decl): Same. (is_gimple_stmt): Same. (omp_firstprivatize_variable): Same. (omp_add_variable): Only use splay_tree_insert if lookup failed. (omp_notice_variable): Handle ORT_SIMD. (omp_is_private): Add SIMD argument and handle it as well as ORT_SIMD. (omp_check_private): Handle ORT_SIMD. (gimplify_scan_omp_clauses): Handle OMP_CLAUSE_LINEAR and OMP_CLAUSE_SAFELEN. (gimplify_adjust_omp_clauses_1): Handle GOVD_LINEAR. Handle OMP_CLAUSE_LASTPRIVATE. (gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_LINEAR and OMP_CLAUSE_SAFELEN. (gimplify_omp_for): Handle OMP_SIMD and OMP_CLAUSE_LINEAR. (gimplify_expr): Handle OMP_SIMD. * internal-fn.c (expand_GOMP_SIMD_LANE): New. (expand_GOMP_SIMD_VF): New. (expand_GOMP_SIMD_LAST_LANE): New. * internal-fn.def (GOMP_SIMD_LANE): New. (GOMP_SIMD_VF): New. (GOMP_SIMD_LAST_LANE): New. * omp-low.c: Include target.h. (extract_omp_for_data): Handle OMP_SIMD, OMP_CLAUSE_LINEAR, OMP_CLAUSE_SAFELEN. (check_omp_nesting_restrictions): Same. (omp_max_vf): New. (lower_rec_simd_input_clauses): New. (lower_rec_input_clauses): Handle OMP_SIMD, GF_OMP_FOR_KIND_SIMD, OMP_CLAUSE_LINEAR. (lower_lastprivate_clauses): Handle OMP_CLAUSE_LINEAR, GF_OMP_FOR_KIND_SIMD, OMP_SIMD. (expand_omp_build_assign): New. (expand_omp_for_init_counts): New. (expand_omp_for_init_vars): New. (extract_omp_for_update_vars): New. (expand_omp_for_generic): Use expand_omp_for_{init,update}_vars and rewrite accordingly. (expand_omp_simd): New. (expand_omp_for): Use expand_omp_simd. (lower_omp_for_lastprivate): Unshare vinit when appropriate. (lower_omp_for): Do not lower the body. * tree-data-ref (get_references_in_stmt): Allow IFN_GOMP_SIMD_LANE in their own loops. * tree-flow.h (find_omp_clause): Remove prototype. * tree-if-conv.c (main_tree_if_conversion): Run if doing if conversion, forcing vectorization of the loop, or if flag_tree_vectorize. (gate_tree_if_conversion): Similarly. * tree-inline.c (remap_gimple_stmt): Pass for kind argument to gimple_build_omp_for. (copy_cfg_body): set has_force_vect_loops and has_simduid_loops. * tree-parloops (create_parallel_loop): Pass kind argument to gimple_build_omp_for. * tree-pretty-print.c (dump_omp_clause): Add cases for OMP_CLAUSE_UNIFORM, OMP_CLAUSE_LINEAR, OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_. (dump_generic_node): Handle OMP_SIMD. * tree-ssa-ccp.c (likely_value): Handle IFN_GOMP_SIMD*. * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Do not unroll OMP_SIMD loops here. * tree-ssa-loop.c (gate_tree_vectorize): Run if has_force_vect_loops. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Handle loop->safelen (vect_analyze_data_refs): Handle simd loops. * tree-vect-loop.c (vectorizable_live_operation): Handle IFN_GOMP_SIMD*. * tree-vect-stmts.c (vectorizable_call): Handle IFN_GOMP_SIMD_LANE. (vectorizable_store): Handle STMT_VINFO_SIMD_LANE_ACCESS_P. (vectorizable_load): Same. * tree-vectorizer.c: Include hash-table.h and tree-ssa-propagate.h. (struct simduid_to_vf): New. (simduid_to_vf::hash): New. (simduid_to-vf::equal): New. (struct simd_array_to_simduid): New. (simd_array_to_simduid::hash): New. (simd_array_to_simduid::equal): New. (adjust_simduid_builtins): New. (struct note_simd_array_uses_struct): New. (note_simd_array_uses_cb): New. (note_simd_array_uses): New. (vectorize_loops): Handle simd hints and adjust simd builtins accordingly. * tree-vectorizer.h (struct _stmt_vec_info): Add simd_lane_access_p field. (STMT_VINFO_SIMD_LANE_ACCESS_P): New macro. * tree.c (omp_clause_num_ops): Add entries for OMP_CLAUSE_LINEAR, OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_UNIFORM. (omp_clause_code_name): Same. (walk_tree_1): Handle OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_, OMP_CLAUSE_LINEAR. * tree.def (OMP_SIMD): New entry. * tree.h (enum omp_clause_code): Add entries for OMP_CLAUSE_LINEAR, OMP_CLAUSE_UNIFORM, OMP_CLAUSE_SAFELEN, OMP_CLAUSE__SIMDUID_. (OMP_CLAUSE_DECL): Adjust range for new clauses. (OMP_CLAUSE_LINEAR_NO_COPYIN): New. (OMP_CLAUSE_LINEAR_NO_COPYOUT): New. (OMP_CLAUSE_LINEAR_STEP): New. (OMP_CLAUSE_SAFELEN_EXPR): New. (OMP_CLAUSE__SIMDUID__DECL): New. (find_omp_clause): New prototype. cp/ * cp-tree.h (CP_OMP_CLAUSE_INFO): Adjust range for new clauses. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r202029
2013-08-27Update Haswell processor detectionH.J. Lu2-0/+7
* config/i386/driver-i386.c (host_detect_local_cpu): Update Haswell processor detection. From-SVN: r202028
2013-08-27re PR target/57927 (-march=core-avx2 different than -march=native on INTEL ↵Christian Widmer2-10/+25
Haswell (i7-4700K)) PR target/57927 * config/i386/driver-i386.c (host_detect_local_cpu): Add detection of Ivy Bridge and Haswell processors. Assume core-avx2 for unknown AVX2 capable processors. From-SVN: r202026
2013-08-27arm_neon.h: Replace all inline asm implementations of vget_low_* with ↵Tejas Belagod2-132/+84
implementations in... 2013-08-27 Tejas Belagod <tejas.belagod@arm.com> * config/aarch64/arm_neon.h: Replace all inline asm implementations of vget_low_* with implementations in terms of other intrinsics. From-SVN: r202023
2013-08-27Remove experimental LRA testNick Clifton1-3/+3
From-SVN: r202022
2013-08-27re PR middle-end/57219 (__builtin_isinf_sign source comments more ↵Marc Glisse2-2/+9
restrictive than documentation) 2013-08-27 Marc Glisse <marc.glisse@inria.fr> PR middle-end/57219 * doc/extend.texi (__builtin_isinf_sign): Restrict the return values to -1, 0 and 1. From-SVN: r202021
2013-08-27aarch64.md (unspec): Add UNSPEC_SISD_SSHL...Vidya Praveen5-5/+468
gcc/ 2013-08-27 Vidya Praveen <vidyapraveen@arm.com> * config/aarch64/aarch64.md (unspec): Add UNSPEC_SISD_SSHL, UNSPEC_SISD_USHL, UNSPEC_USHL_2S, UNSPEC_SSHL_2S, UNSPEC_SISD_NEG. (<optab><mode>3_insn): Remove. (aarch64_ashl_sisd_or_int_<mode>3): New Pattern. (aarch64_lshr_sisd_or_int_<mode>3): Likewise. (aarch64_ashr_sisd_or_int_<mode>3): Likewise. (define_split for aarch64_lshr_sisd_or_int_di3): Likewise. (define_split for aarch64_lshr_sisd_or_int_si3): Likewise. (define_split for aarch64_ashr_sisd_or_int_di3): Likewise. (define_split for aarch64_ashr_sisd_or_int_si3): Likewise. (aarch64_sisd_ushl, aarch64_sisd_sshl): Likewise. (aarch64_ushl_2s, aarch64_sshl_2s, aarch64_sisd_neg_qi): Likewise. (ror<mode>3_insn): Likewise. * config/aarch64/predicates.md (aarch64_simd_register): New. gcc/testsuite/ 2013-08-27 Vidya Praveen <vidyapraveen@arm.com> * gcc.target/aarch64/scalar_shift_1.c: New. From-SVN: r202020
2013-08-27re PR tree-optimization/57521 (wrong code for expressions in loop at -O3)Richard Biener4-62/+95
2013-08-27 Richard Biener <rguenther@suse.de> PR tree-optimization/57521 * tree-if-conv.c (if_convertible_bb_p): Verify that at least one edge is non-critical. (find_phi_replacement_condition): Make sure to use a non-critical edge. Cleanup and remove old bug workarounds. (bb_postdominates_preds): Remove. (if_convertible_loop_p_1): Do not compute post-dominators. (combine_blocks): Do not free post-dominators. (main_tree_if_conversion): Likewise. (pass_data_if_conversion): Add TODO_verify_ssa. * gcc.dg/torture/pr57521.c: New testcase. From-SVN: r202019
2013-08-27re PR rtl-optimization/57860 (wrong code for bitwise ops with long long ↵Jakub Jelinek6-0/+147
literal on x86_64-linux (32-bit mode)) PR rtl-optimization/57860 PR rtl-optimization/57861 PR rtl-optimization/57875 PR rtl-optimization/57876 PR rtl-optimization/57877 * gcc.c-torture/execute/pr57860.c: New test. * gcc.c-torture/execute/pr57861.c: New test. * gcc.c-torture/execute/pr57875.c: New test. * gcc.c-torture/execute/pr57876.c: New test. * gcc.c-torture/execute/pr57877.c: New test. From-SVN: r202018
2013-08-27decl.c (grokfndecl): Remove old bison hack.Paolo Carlini2-11/+4
2013-08-27 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokfndecl): Remove old bison hack. From-SVN: r202017
2013-08-27* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.DJ Delorie2-0/+15
From-SVN: r202016
2013-08-27function.c (assign_parm_find_data_types): Set passed_mode and nominal_mode ↵Yufeng Zhang2-1/+7
to the TYPE_MODE of nominal_type for the built... gcc/ * function.c (assign_parm_find_data_types): Set passed_mode and nominal_mode to the TYPE_MODE of nominal_type for the built pointer type in case of the struct-pass-by-reference. From-SVN: r202014
2013-08-27Daily bump.GCC Administrator1-1/+1
From-SVN: r202013
2013-08-26avr.opt (mfract-convert-truncate): New option.Joern Rennecke3-2/+205
* config/avr/avr.opt (mfract-convert-truncate): New option. * config/avr/avr.c (avr_out_fract): Unless TARGET_FRACT_CONV_TRUNC is set, round negative fractional integers according to n1169 when converting to integer types. From-SVN: r202008
2013-08-26Add PR marker to PR id in ChangeLog.Joern Rennecke1-1/+1
From-SVN: r202007
2013-08-26re PR c/35649 (Incorrect printf warning: expect double has float)Joern Rennecke2-2/+4
2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com> Joseph Myers <joseph@codesourcery.com> c/35649 * c-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE types with the same precision. (convert_arguments): Likewise. Amend patch as suggested: From: "Joseph S. Myers" <joseph@codesourcery.com> In convert_arguments I think you should be comparing TYPE_MAIN_VARIANT (valtype) against double_type_node and long_double_type_node, rather than just valtype. This is PR c/35649 (so include that number in your ChangeLog entry and close that bug as fixed). Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r202006
2013-08-26avr-stdint.h (INT16_TYPE): Change default to "int".Joern Rennecke2-2/+7
* config/avr/avr-stdint.h (INT16_TYPE): Change default to "int". (UINT16_TYPE): Change default to "unsigned int". From-SVN: r202005
2013-08-26c-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE ↵Joern Rennecke2-1/+16
types with the same precision. * c-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE types with the same precision. (convert_arguments): Likewise. From-SVN: r202004
2013-08-26cgraph.c (cgraph_propagate_frequency): Do not assume that virtual methods ↵Jan Hubicka2-1/+9
can not be called indirectly when... * cgraph.c (cgraph_propagate_frequency): Do not assume that virtual methods can not be called indirectly when their address is not taken. From-SVN: r202003