aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2014-03-19re PR lto/60571 (FTBFS on hurd-i386)Jakub Jelinek2-2/+11
PR lto/60571 * lto.c (wait_for_child): Define WCONTINUED if not defined to 0. Fix formatting. From-SVN: r208675
2014-03-19re PR target/60563 (FAIL: g++.dg/ext/sync-4.C on *-apple-darwin*)Ian Lance Taylor2-50/+55
PR target/60563 * g++.dg/ext/sync-4.C (int32_t): Remove typedef. (ditype): Rename typedef from int64_t. From-SVN: r208674
2014-03-19Daily bump.GCC Administrator1-1/+1
From-SVN: r208672
2014-03-18re PR c/55383 (-Wcast-qual reports incorrect message)Manuel López-Ibáñez3-2/+21
2014-03-19 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/55383 * gcc.dg/cast-qual-3.c: New. Revert: 2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org> * c-c++-common/Wcast-qual-1.c: More precise match text. From-SVN: r208669
2014-03-18re PR fortran/55207 ([F08] Variables declared in the main program should ↵Janus Weil10-33/+26
implicitly get the SAVE attribute) 2014-03-18 Janus Weil <janus@gcc.gnu.org> PR fortran/55207 PR fortran/60549 * decl.c (match_attr_spec): Revert r208590. 2014-03-18 Janus Weil <janus@gcc.gnu.org> PR fortran/55207 PR fortran/60549 * gfortran.dg/assumed_rank_7.f90: Revert r208590. * gfortran.dg/c_ptr_tests_16.f90: Ditto. * gfortran.dg/inline_sum_bounds_check_1.f90: Ditto. * gfortran.dg/intent_optimize_1.f90: Ditto. * gfortran.dg/pointer_init_9.f90: Ditto. * gfortran.dg/volatile4.f90: Ditto. * gfortran.dg/volatile6.f90: Ditto. From-SVN: r208668
2014-03-18re PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution ↵Richard Henderson2-1/+4
test after r208587) PR target/60562 * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0. From-SVN: r208666
2014-03-18re PR rtl-optimization/56356 (DJGPP compiler crashing)Kai Tietz2-2/+15
PR rtl-optimization/56356 * sdbout.c (sdbout_parms): Verify that parms' incoming argument is valid. (sdbout_reg_parms): Likewise. From-SVN: r208663
2014-03-18re PR target/60562 (FAIL: gcc.target/i386/excess-precision-3.c execution ↵Richard Henderson2-9/+14
test after r208587) PR target/60562 * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT. From-SVN: r208662
2014-03-18re PR c/55383 (-Wcast-qual reports incorrect message)Manuel López-Ibáñez4-3/+13
2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/55383 c/ * c-typeck.c: Use correct format string in cast-qual warning testsuite/ * c-c++-common/Wcast-qual-1.c: More precise match text. From-SVN: r208661
2014-03-18plugin.def: Improve comment for PLUGIN_INCLUDE_FILE.Basile Starynkevitch3-13/+53
2014-03-18 Basile Starynkevitch <basile@starynkevitch.net> * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE. * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE. Italicize plugin event names in description. Explain that PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE. Remind that no GCC functions should be called after PLUGIN_FINISH. Explain what pragmas with expansion are. From-SVN: r208660
2014-03-18re PR c++/60305 (ICE constexpr array of functions in template)Paolo Carlini3-0/+36
2014-03-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60305 * g++.dg/cpp0x/constexpr-ice14.C: New. 2014-03-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54250 * g++.dg/cpp0x/lambda/lambda-ice12.C: New. From-SVN: r208658
2014-03-18cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when gimple ↵Martin Liska3-2/+17
call statement is update. * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when gimple call statement is update. * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL. From-SVN: r208654
2014-03-18re PR sanitizer/60557 (UBSAN: ICE after ubsan_expand_null_ifn)Jakub Jelinek2-0/+8
PR sanitizer/60557 * ubsan.c (ubsan_instrument_unreachable): Call initialize_sanitizer_builtins. (ubsan_pass): Likewise. From-SVN: r208652
2014-03-18re PR sanitizer/60535 (Link failure with -flto and -fsanitize=undefined)Jakub Jelinek35-34/+56
PR sanitizer/60535 * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call varpool_finalize_decl instead of rest_of_decl_compilation. lto/ * lto-lang.c (lto_init): Add NAME_TYPE for int128_integer_type_node and complex_{float,{,long_}double}_type_node. testsuite/ * c-c++-common/ubsan/null-1.c: Don't skip if -flto. * c-c++-common/ubsan/null-2.c: Likewise. * c-c++-common/ubsan/null-3.c: Likewise. * c-c++-common/ubsan/null-4.c: Likewise. * c-c++-common/ubsan/null-5.c: Likewise. * c-c++-common/ubsan/null-6.c: Likewise. * c-c++-common/ubsan/null-7.c: Likewise. * c-c++-common/ubsan/null-8.c: Likewise. * c-c++-common/ubsan/null-9.c: Likewise. * c-c++-common/ubsan/null-10.c: Likewise. * c-c++-common/ubsan/null-11.c: Likewise. * c-c++-common/ubsan/overflow-1.c: Likewise. * c-c++-common/ubsan/overflow-2.c: Likewise. * c-c++-common/ubsan/overflow-add-1.c: Likewise. * c-c++-common/ubsan/overflow-add-2.c: Likewise. * c-c++-common/ubsan/overflow-int128.c: Likewise. * c-c++-common/ubsan/overflow-mul-1.c: Likewise. * c-c++-common/ubsan/overflow-mul-2.c: Likewise. * c-c++-common/ubsan/overflow-mul-3.c: Likewise. * c-c++-common/ubsan/overflow-mul-4.c: Likewise. * c-c++-common/ubsan/overflow-negate-1.c: Likewise. * c-c++-common/ubsan/overflow-negate-2.c: Likewise. * c-c++-common/ubsan/overflow-sub-1.c: Likewise. * c-c++-common/ubsan/overflow-sub-2.c: Likewise. * c-c++-common/ubsan/pr59333.c: Likewise. * c-c++-common/ubsan/pr59503.c: Likewise. * c-c++-common/ubsan/pr59667.c: Likewise. * c-c++-common/ubsan/undefined-1.c: Likewise. * g++.dg/ubsan/pr59250.C: Likewise. * g++.dg/ubsan/pr59306.C: Likewise. From-SVN: r208651
2014-03-18df-problems.c (df_rd_confluence_n): Avoid bitmap_copy by using ↵Richard Biener2-4/+8
bitmap_and_compl instead of bitmap_and_compl_into. 2014-03-18 Richard Biener <rguenther@suse.de> * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy by using bitmap_and_compl instead of bitmap_and_compl_into. (df_rd_transfer_function): Likewise. From-SVN: r208650
2014-03-18lto.texi (fresolution): Fix typo.Richard Biener2-1/+5
2014-03-18 Richard Biener <rguenther@suse.de> * doc/lto.texi (fresolution): Fix typo. From-SVN: r208647
2014-03-18invoke.texi (flto): Update for changes in 4.9.Richard Biener2-37/+66
2014-03-18 Richard Biener <rguenther@suse.de> * doc/invoke.texi (flto): Update for changes in 4.9. From-SVN: r208646
2014-03-18loop.texi: Remove section on the removed lambda framework.Richard Biener2-37/+21
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
2014-03-18lto.texi (-fresolution): Document.Richard Biener2-0/+10
2014-03-18 Richard Biener <rguenther@suse.de> * doc/lto.texi (-fresolution): Document. From-SVN: r208644
2014-03-18contrib.texi: Adjust my name.Richard Biener2-1/+5
2014-03-18 Richard Biener <rguenther@suse.de> * doc/contrib.texi: Adjust my name. From-SVN: r208643
2014-03-18re PR ipa/58721 (The subroutine perdida is no longer inlined in fatigue.f90)Jakub Jelinek18-101/+354
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
2014-03-18sparc.c (sparc_do_work_around_errata): Speed up and use proper constant for ↵Eric Botcazou2-9/+14
the store mode. * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use proper constant for the store mode. From-SVN: r208638
2014-03-18symtab.c (change_decl_assembler_name): Fix transparent alias chain construction.Ilya Enkovich2-1/+6
gcc/ * symtab.c (change_decl_assembler_name): Fix transparent alias chain construction. From-SVN: r208637
2014-03-18aarch64.c: Correct the comments about the aarch64 stack layout.Renlin Li2-8/+16
* config/aarch64/aarch64.c: Correct the comments about the aarch64 stack layout. From-SVN: r208636
2014-03-18Fix gcc.dg/tls/pr58595.c on Solaris 9Rainer Orth2-0/+5
* gcc.dg/tls/pr58595.c: Add tls options. From-SVN: r208635
2014-03-18Restore check for OpenMP for construct.Thomas Schwinge2-1/+6
gcc/ * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore check for GF_OMP_FOR_KIND_FOR. From-SVN: r208633
2014-03-18i386.h (ADDITIONAL_REGISTER_NAMES): Add ymm and zmm register names.Kirill Yukhin5-6/+50
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
2014-03-18Daily bump.GCC Administrator1-1/+1
From-SVN: r208628
2014-03-17re PR c++/60390 ([c++1y] ICE with declaring function with auto parameter as ↵Adam Butcher4-9/+70
friend) 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
2014-03-17re PR c++/60391 ([c++1y] ICE with auto parameter for operator"")Adam Butcher4-0/+25
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
2014-03-17re PR target/60516 (cc1plus crashes compiling a method with a huge struct as ↵Jakub Jelinek4-2/+34
argument) 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
2014-03-17* sv.po: Update.Joseph Myers2-284/+282
From-SVN: r208621
2014-03-17re PR c++/59571 ([C++11] ICE when casting inside static member constexpr ↵Paolo Carlini4-1/+19
brace initializer) /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
2014-03-17re PR middle-end/60534 (ICE: in expand_GOMP_SIMD_VF, at internal-fn.c:142 ↵Marek Polacek4-0/+30
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
2014-03-1720010327-1.c: Disable test for LLP64 targets.Kai Tietz2-1/+5
* gcc.c-torture/compile/20010327-1.c: Disable test for LLP64 targets. From-SVN: r208613
2014-03-17re PR testsuite/58851 (FAIL: gfortran.dg/unlimited_polymorphic_13.f90 -O0 ↵Andreas Schwab2-4/+16
execution test) PR testsuite/58851 * gfortran.dg/unlimited_polymorphic_13.f90: Properly compute storage size. From-SVN: r208612
2014-03-17Daily bump.GCC Administrator1-1/+1
From-SVN: r208609
2014-03-16re PR ada/39172 (libada parsing of multilib options)Andreas Schwab2-0/+7
PR ada/39172 * gcc/ada/gcc-interface/Makefile.in (target_cpu_default): Revert 2013-10-11 change. From-SVN: r208605
2014-03-16Daily bump.GCC Administrator1-1/+1
From-SVN: r208602
2014-03-15sparc-protos.h (tls_call_delay): Delete.Eric Botcazou4-71/+70
* 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
2014-03-15re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file ↵Jerry DeLisle2-0/+16
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
2014-03-15re PR fortran/55207 ([F08] Variables declared in the main program should ↵Janus Weil10-8/+51
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
2014-03-14re PR target/60525 (ICE: in final_scan_insn, at final.c:2952)Richard Henderson2-386/+84
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
2014-03-14re PR c++/60532 (r208573 causes Firefox build failure)Jason Merrill3-16/+31
PR c++/60532 PR c++/58678 * search.c (get_pure_virtuals): Handle abstract dtor here. (dfs_get_pure_virtuals): Not here. From-SVN: r208586
2014-03-15Daily bump.GCC Administrator1-1/+1
From-SVN: r208585
2014-03-14re PR fortran/60392 (Problem with TRANSPOSE and CONTIGUOUS dummy arguments)Mikael Morin4-1/+133
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
2014-03-14re PR c++/58678 (pykde4-4.11.2 link error (devirtualization too trigger happy))Jason Merrill3-0/+47
PR c++/58678 * search.c (dfs_get_pure_virtuals): Treat the destructor of an abstract class as pure. From-SVN: r208573
2014-03-14re PR middle-end/60484 (-fdump-rtl-expand and attribute optimize gives ↵Jakub Jelinek3-1/+16
incorrect dump file path) 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
2014-03-14re PR rtl-optimization/60508 (internal compiler error: in ↵Vladimir Makarov4-13/+64
lra_set_insn_recog_data, at lra.c:1082) 2014-03-14 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60508 * lra-constraints.c (get_reload_reg): Add new parameter in_subreg_p. (process_addr_reg, simplify_operand_subreg, curr_insn_transform): Pass the new parameter values. 2014-03-14 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60508 * gcc.target/i386/pr60508.c: New. From-SVN: r208570
2014-03-14re PR c++/53711 (Wunused-function should warn for functions in the unnamed ↵Jason Merrill1-0/+8
namespace) PR c++/53711 * d++.dg/warn/anonymous-namespace-6.C: New test. From-SVN: r208569