- 18 Mar, 2014 14 commits
-
-
2014-03-18 Richard Biener <rguenther@suse.de> * doc/loop.texi: Remove section on the removed lambda framework. Update loop docs with recent changes in preserving loop structure. From-SVN: r208645
Richard Biener committed -
2014-03-18 Richard Biener <rguenther@suse.de> * doc/lto.texi (-fresolution): Document. From-SVN: r208644
Richard Biener committed -
2014-03-18 Richard Biener <rguenther@suse.de> * doc/contrib.texi: Adjust my name. From-SVN: r208643
Richard Biener committed -
PR ipa/58721 gcc/ * internal-fn.c: Include diagnostic-core.h. (expand_BUILTIN_EXPECT): New function. * gimplify.c (gimplify_call_expr): Use false instead of FALSE. (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call. * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle IFN_BUILTIN_EXPECT. * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT. Revert 3 argument __builtin_expect code. (strip_predict_hints): Handle IFN_BUILTIN_EXPECT. * gimple-fold.c (gimple_fold_call): Likewise. * tree.h (fold_builtin_expect): New prototype. * builtins.c (build_builtin_expect_predicate): Add predictor argument, if non-NULL, create 3 argument __builtin_expect. (fold_builtin_expect): No longer static. Add ARG2 argument, pass it through to build_builtin_expect_predicate. (fold_builtin_2): Adjust caller. (fold_builtin_3): Handle BUILT_IN_EXPECT. * internal-fn.def (BUILTIN_EXPECT): New. gcc/fortran/ * trans.c (gfc_unlikely, gfc_likely): Don't add __builtin_expect if !optimize. 2014-03-18 Tobias Burnus <burnus@net-b.de> PR ipa/58721 gcc/ * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC, PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO, PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add. gcc/fortran/ * trans.h (gfc_unlikely, gfc_likely): Add predictor as argument. (gfc_trans_io_runtime_check): Remove. * trans-io.c (gfc_trans_io_runtime_check): Make static; add has_iostat as argument, add predictor to block. (set_parameter_value, gfc_trans_open, gfc_trans_close, build_filepos, gfc_trans_inquire, gfc_trans_wait, build_dt): Update calls. * trans.c (gfc_unlikely, gfc_likely): Add predictor as argument. (gfc_trans_runtime_check, gfc_allocate_using_malloc, gfc_allocate_allocatable, gfc_deallocate_with_status): Set explicitly branch predictor. * trans-expr.c (gfc_conv_procedure_call): Ditto. * trans-stmt.c (gfc_trans_allocate): Ditto. * trans-array.c (gfc_array_init_size, gfc_array_allocate): Ditto. 2014-03-18 Jan Hubicka <hubicka@ucw.cz> PR ipa/58721 gcc/ * predict.c (combine_predictions_for_bb): Fix up formatting. (expr_expected_value_1, expr_expected_value): Add predictor argument, fill what it points to if non-NULL. (tree_predict_by_opcode): Adjust caller, use the predictor. * predict.def (PRED_COMPARE_AND_SWAP): Add. From-SVN: r208641
Jakub Jelinek committed -
* config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use proper constant for the store mode. From-SVN: r208638
Eric Botcazou committed -
gcc/ * symtab.c (change_decl_assembler_name): Fix transparent alias chain construction. From-SVN: r208637
Ilya Enkovich committed -
* config/aarch64/aarch64.c: Correct the comments about the aarch64 stack layout. From-SVN: r208636
Renlin Li committed -
* gcc.dg/tls/pr58595.c: Add tls options. From-SVN: r208635
Rainer Orth committed -
* configure.ac: Check for presence of fcntl. * configure: Regenerate. * config.h.in: Regenerate. * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL. From-SVN: r208634
Ulrich Weigand committed -
gcc/ * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore check for GF_OMP_FOR_KIND_FOR. From-SVN: r208633
Thomas Schwinge committed -
gcc/ * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add ymm and zmm register names. gcc/testsuite/ * gcc.target/i386/avx-additional-reg-names.c: New. * gcc.target/i386/avx512f-additional-reg-names.c: Ditto. From-SVN: r208631
Kirill Yukhin committed -
From-SVN: r208630
Jerry DeLisle committed -
2014-03-17 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/46800 * io/list_read.c (list_formatted_read_scalar): Do not use eat_separator. Explicitly set the comma and end-of-line flags. Check for END condition from finish_separator. From-SVN: r208629
Jerry DeLisle committed -
From-SVN: r208628
GCC Administrator committed
-
- 17 Mar, 2014 10 commits
-
-
Fix PR c++/60390 PR c++/60390 * parser.c (cp_parser_member_declaration): Don't allow finish_fully_implicit_template to consider friend declarations to be class member templates. (synthesize_implicit_template_parm): Handling winding back through class scope to the class being defined in order to inject a template argument list. PR c++/60390 * g++.dg/cpp1y/pr60390.C: New testcase. From-SVN: r208625
Adam Butcher committed -
Fix PR c++/60391 PR c++/60391 * parser.c (cp_parser_skip_to_end_of_block_or_statement): Unwind generic function scope as per cp_parser_skip_to_end_of_statement. PR c++/60391 * g++.dg/cpp1y/pr60391.C: New testcase. From-SVN: r208624
Adam Butcher committed -
PR target/60516 * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA note creation for the 2010-08-31 changes. * gcc.target/i386/pr60516.c: New test. From-SVN: r208623
Jakub Jelinek committed -
From-SVN: r208621
Joseph Myers committed -
/cp 2014-03-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59571 * typeck2.c (check_narrowing): Use fold_non_dependent_expr_sfinae. /testsuite 2014-03-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59571 * g++.dg/cpp0x/constexpr-ice13.C: New. From-SVN: r208619
Paolo Carlini committed -
re PR middle-end/60534 (ICE: in expand_GOMP_SIMD_VF, at internal-fn.c:142 with -fopenmp -O -fno-tree-loop-optimize and #pragma omp simd reduction) PR middle-end/60534 * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same as -fno-tree-loop-vectorize. (expand_omp_simd): Likewise. testsuite/ * gcc.dg/gomp/pr60534.c: New test. From-SVN: r208616
Marek Polacek committed -
* configure.ac (ac_lto_plugin_ldflags): Set to -Wc,-static-libgcc for gcc. * configure: Regenerate. * Makefile.am (AM_LDFLAGS): New variable. (liblto_plugin_la_LDFLAGS): Add it. * Makefile.in: Regenerate. From-SVN: r208614
Rainer Orth committed -
* gcc.c-torture/compile/20010327-1.c: Disable test for LLP64 targets. From-SVN: r208613
Kai Tietz committed -
PR testsuite/58851 * gfortran.dg/unlimited_polymorphic_13.f90: Properly compute storage size. From-SVN: r208612
Andreas Schwab committed -
From-SVN: r208609
GCC Administrator committed
-
- 16 Mar, 2014 3 commits
-
-
2014-03-16 François Dumont <fdumont@gcc.gnu.org> Complete: 2014-01-20 François Dumont <fdumont@gcc.gnu.org> * scripts/create_testsuite_files: Add testsuite/experimental in the list of folders to search for tests. From-SVN: r208606
François Dumont committed -
PR ada/39172 * gcc/ada/gcc-interface/Makefile.in (target_cpu_default): Revert 2013-10-11 change. From-SVN: r208605
Andreas Schwab committed -
From-SVN: r208602
GCC Administrator committed
-
- 15 Mar, 2014 9 commits
-
-
* config/sparc/sparc-protos.h (tls_call_delay): Delete. (eligible_for_call_delay): New prototype. * config/sparc/sparc.c (tls_call_delay): Rename into... (eligible_for_call_delay): ...this. Return false if the instruction cannot be put in the delay slot of a branch. (eligible_for_restore_insn): Simplify. (eligible_for_return_delay): Return false if the instruction cannot be put in the delay slot of a branch and simplify. (eligible_for_sibcall_delay): Return false if the instruction cannot be put in the delay slot of a branch. * config/sparc/sparc.md (fix_ut699): New attribute. (tls_call_delay): Delete. (in_call_delay): Reimplement. (eligible_for_sibcall_delay): Rename into... (in_sibcall_delay): ...this. (eligible_for_return_delay): Rename into... (in_return_delay): ...this. (in_branch_delay): Reimplement. (in_uncond_branch_delay): Delete. (in_annul_branch_delay): Delete. From-SVN: r208597
Eric Botcazou committed -
* config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file. From-SVN: r208594
Andreas Schwab committed -
2014-03-15 Tim Shen <timshen91@gmail.com> * include/bits/regex.h: Add/modify comments. * include/bits/regex_compiler.h: Likewise. * include/bits/regex_executor.h: Likewise. * include/bits/regex_executor.tcc: Likewise. * include/bits/regex_scanner.h: Likewise. From-SVN: r208593
Tim Shen committed -
re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker) 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/58324 * gfortran.dg/list_read_12.f90: New test. From-SVN: r208592
Jerry DeLisle committed -
re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker) 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/58324 * io/list_read.c (finish_list_read): Read one character to check for the end of the file. If it is the end, then issue the file end error message. If not, use eat_line to reach the end without giving error. The next attempt to read will then issue the error as described above. From-SVN: r208591
Jerry DeLisle committed -
re PR fortran/55207 ([F08] Variables declared in the main program should implicitly get the SAVE attribute) 2014-03-15 Janus Weil <janus@gcc.gnu.org> PR fortran/55207 * decl.c (match_attr_spec): Variables in the main program implicitly get the SAVE attribute in Fortran 2008. 2014-03-15 Janus Weil <janus@gcc.gnu.org> PR fortran/55207 * gfortran.dg/assumed_rank_7.f90: Explicitly deallocate variables. * gfortran.dg/c_ptr_tests_16.f90: Put into subroutine. * gfortran.dg/inline_sum_bounds_check_1.f90: Add -Wno-aggressive-loop-optimizations and remove an unused variable. * gfortran.dg/intent_optimize_1.f90: Put into subroutine. * gfortran.dg/pointer_init_9.f90: New. * gfortran.dg/volatile4.f90: Put into subroutine. * gfortran.dg/volatile6.f90: Ditto. From-SVN: r208590
Janus Weil committed -
PR target/60525 * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand. (*floathi<X87MODEF>2_i387_with_temp): Remove. (floathi splitters): Remove. (float<SWI48x>xf2): New pattern. (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop code that tried to handle DImode for 32-bit, but which was excluded by the pattern's condition. Drop allocation of stack temporary. (*floatsi<MODEF>2_vector_mixed_with_temp): Remove. (*float<SWI48><MODEF>2_mixed_with_temp): Remove. (*float<SWI48><MODEF>2_mixed_interunit): Remove. (*float<SWI48><MODEF>2_mixed_nointerunit): Remove. (*floatsi<MODEF>2_vector_sse_with_temp): Remove. (*float<SWI48><MODEF>2_sse_with_temp): Remove. (*float<SWI48><MODEF>2_sse_interunit): Remove. (*float<SWI48><MODEF>2_sse_nointerunit): Remove. (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove. (*float<SWI48x><X87MODEF>2_i387): Remove. (all float _with_temp splitters): Remove. (*float<SWI48x><MODEF>2_i387): New pattern. (*float<SWI48><MODEF>2_sse): New pattern. (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them. (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them. From-SVN: r208587
Richard Henderson committed -
PR c++/60532 PR c++/58678 * search.c (get_pure_virtuals): Handle abstract dtor here. (dfs_get_pure_virtuals): Not here. From-SVN: r208586
Jason Merrill committed -
From-SVN: r208585
GCC Administrator committed
-
- 14 Mar, 2014 4 commits
-
-
fortran/ PR fortran/60392 * trans-array.c (gfc_conv_array_parameter): Don't reuse the descriptor if it has transposed dimensions. testsuite/ PR fortran/60392 * gfortran.dg/transpose_4.f90: New test. From-SVN: r208581
Mikael Morin committed -
PR c++/58678 * search.c (dfs_get_pure_virtuals): Treat the destructor of an abstract class as pure. From-SVN: r208573
Jason Merrill committed -
PR ipa/58721 * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for _ZNSt12system_errorC* symbols which are not exported on any target. From-SVN: r208572
Jonathan Wakely committed -
PR middle-end/60484 * common.opt (dump_base_name_prefixed): New Variable. * opts.c (finish_options): Don't prepend directory to x_dump_base_name if x_dump_base_name_prefixed is already set, set it at the end. Co-Authored-By: Marek Polacek <polacek@redhat.com> From-SVN: r208571
Jakub Jelinek committed
-