- 31 Mar, 2015 9 commits
-
-
2015-03-31 Richard Biener <rguenther@suse.de> * tree-sra.c (create_access_replacement): Drop under-/over-alignment of types. From-SVN: r221795
Richard Biener committed -
gcc/ 2015-03-31 Dominik Vogt <vogt@linux.vnet.ibm.com> * config/s390/s390.c (s390_function_num_hotpatch_hw): Allow hotpatching nested functions. (s390_reorg): Adapt to new signature of s390_function_num_hotpatch_hw. (s390_asm_output_function_label): Adapt to new signature of s390_function_num_hotpatch_hw Optimise the code generating assembler output. Add comments to assembler file. gcc/testsuite/ 2015-03-31 Dominik Vogt <vogt@linux.vnet.ibm.com> * gcc.target/s390/hotpatch-25.c: New test. * gcc.target/s390/hotpatch-1.c: Update test. * gcc.target/s390/hotpatch-10.c: Update test. * gcc.target/s390/hotpatch-11.c: Update test. * gcc.target/s390/hotpatch-12.c: Update test. * gcc.target/s390/hotpatch-13.c: Update test. * gcc.target/s390/hotpatch-14.c: Update test. * gcc.target/s390/hotpatch-15.c: Update test. * gcc.target/s390/hotpatch-16.c: Update test. * gcc.target/s390/hotpatch-17.c: Update test. * gcc.target/s390/hotpatch-18.c: Update test. * gcc.target/s390/hotpatch-19.c: Update test. * gcc.target/s390/hotpatch-2.c: Update test. * gcc.target/s390/hotpatch-21.c: Update test. * gcc.target/s390/hotpatch-22.c: Update test. * gcc.target/s390/hotpatch-23.c: Update test. * gcc.target/s390/hotpatch-24.c: Update test. * gcc.target/s390/hotpatch-3.c: Update test. * gcc.target/s390/hotpatch-4.c: Update test. * gcc.target/s390/hotpatch-5.c: Update test. * gcc.target/s390/hotpatch-6.c: Update test. * gcc.target/s390/hotpatch-7.c: Update test. * gcc.target/s390/hotpatch-8.c: Update test. * gcc.target/s390/hotpatch-9.c: Update test. * gcc.target/s390/hotpatch-compile-16.c: Update test. From-SVN: r221794
Dominik Vogt committed -
2015-03-31 Richard Biener <rguenther@suse.de> PR middle-end/65626 * tree-cfgcleanup.c (fixup_noreturn_call): Only split the block of the noreturn call so it is last and cleanup_control_flow_bb can do the CFG part. * g++.dg/torture/pr65626.C: New testcase. From-SVN: r221790
Richard Biener committed -
2015-03-31 Tom de Vries <tom@codesourcery.com> PR ada/65490 * terminals.c (child_setup_tty): Fix warning 'argument to sizeof in bzero call is the same expression as the destination'. From-SVN: r221789
Tom de Vries committed -
re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx) gcc/ PR target/65531 * ipa-chkp.c (chkp_maybe_create_clone): Don't set same_comdat_group for external symbols. * symtab.c (symtab_node::verify_symtab_nodes): Avoid infinite same_comdat_group traversal loop. gcc/testsuite/ PR target/65531 * gcc.target/i386/mpx/pr65531.cc: New. From-SVN: r221788
Ilya Enkovich committed -
PR target/65602 * gcc.target/i386/mpx/alloca-1-lbv.c (mpx_test): Use __builtin_alloca instead of alloca. * gcc.target/i386/mpx/alloca-1-nov.c (mpx_test): Likewise. * gcc.target/i386/mpx/alloca-1-ubv.c (mpx_test): Likewise. * lib/mpx-dg.exp (check_effective_target_mpx): Add wrapper check. From-SVN: r221787
Ilya Enkovich committed -
PR plugins/61176 * Makefile.in (install-plugin): Add all gcc/*.{h,def} files automatically to $headers. From-SVN: r221786
Jakub Jelinek committed -
From-SVN: r221785
GCC Administrator committed -
Fixes golang/go/#10285. From-SVN: r221782
Ian Lance Taylor committed
-
- 30 Mar, 2015 9 commits
-
-
PR ipa/65610 * ipa-utils.h (inlined_polymorphic_ctor_dtor_block_p): Declare. * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p): New function. (decl_maybe_in_construction_p, noncall_stmt_may_be_vtbl_ptr_store): Use it. * ipa-prop.c (param_type_may_change_p): Likewise. * tree-ssa-live.c: Include ipa-utils.h and its dependencies. (remove_unused_scope_block_p): Add in_ctor_dtor_block argument. Before inlining, preserve inlined_polymorphic_ctor_dtor_block_p blocks and the outermost block with FUNCTION_DECL BLOCK_ABSTRACT_ORIGIN inside of them. Adjust recursive calls. (remove_unused_locals): Adjust remove_unused_scope_block_p caller. * g++.dg/ubsan/pr65610.C: New test. From-SVN: r221781
Jakub Jelinek committed -
PR c++/65398 * constexpr.c (cxx_fold_indirect_ref): Don't perform the *(&A[i] p+ j) => A[i + j] transformation here. (cxx_eval_pointer_plus_expression): New function. (cxx_eval_constant_expression): Use it here. * g++.dg/cpp0x/pr65398-2.C: New test. From-SVN: r221777
Marek Polacek committed -
PR fortran/65597 * trans-openmp.c (gfc_trans_omp_do): For !simple simd with explicit linear clause for the iterator set OMP_CLAUSE_LINEAR_NO_COPYIN. For implcitly added !simple OMP_CLAUSE_LINEAR set it too. Use step 1 instead of the original step on the new iterator - count. * testsuite/libgomp.fortran/pr65597.f90: New test. From-SVN: r221776
Jakub Jelinek committed -
PR libstdc++/65630 * config/abi/pre/gnu.ver: Export operator+ for new strings. * testsuite/21_strings/basic_string/operators/char/65630.cc: New. * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New. From-SVN: r221775
Jonathan Wakely committed -
Any type whose underlying type is uintptr can be converted to unsafe.Pointer, and vice versa. Fixes golang/go#10284. From-SVN: r221774
Ian Lance Taylor committed -
From-SVN: r221771
Marek Polacek committed -
* lto-symtab.c (lto_symtab_merge_decls_2): Silence warning on DECL_ARTIFICAL symbols. From-SVN: r221770
Jan Hubicka committed -
PR ipa/65076 * ipa-inline.c (edge_badness): Base denominator on callee's grwoth squared. From-SVN: r221769
Jan Hubicka committed -
From-SVN: r221768
GCC Administrator committed
-
- 29 Mar, 2015 6 commits
-
-
re PR libffi/65567 (ERROR: tcl error sourcing /test/gnu/gcc/gcc/libffi/testsuite/libffi.complex/complex.exp) PR libffi/65567 * testsuite/lib/libffi.exp (libffi_feature_test): Use split to ensure lindex is applied to a list. From-SVN: r221765
John David Anglin committed -
PR ipa/65588 * gcc.target/i386/pr65588.c: New testcase. From-SVN: r221764
Jan Hubicka committed -
PR ipa/65478 * params.def (PARAM_IPA_CP_RECURSION_PENALTY) : New. (PARAM_IPA_CP_SINGLE_CALL_PENALTY): Likewise. * ipa-prop.h (ipa_node_params): New flags node_within_scc and node_calling_single_call. * ipa-cp.c (count_callers): New function. (set_single_call_flag): Likewise. (initialize_node_lattices): Count callers and set single_flag_call if necessary. (incorporate_penalties): New function. (good_cloning_opportunity_p): Use it, dump new flags. (propagate_constants_topo): Set node_within_scc flag if appropriate. * doc/invoke.texi (ipa-cp-recursion-penalty, ipa-cp-single-call-pentalty): Document. From-SVN: r221763
Martin Jambor committed -
2015-03-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR libgfortran/65563 Refer to correct PR in ChangeLog. From-SVN: r221762
Thomas Koenig committed -
re PR target/65564 (builtin-bnd-narrow-ptr-bounds-2-nov.c:15:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5745) 2015-03-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR libgfortran/65564 * gfortran.dg/open_errors_2.f90: New test. From-SVN: r221761
Thomas Koenig committed -
From-SVN: r221760
GCC Administrator committed
-
- 28 Mar, 2015 7 commits
-
-
PR libstdc++/65500 * inclhack.def (hpux11_lwp_rwlock_valid): New fix. * fixincl.x: Regenerate. * tests/base/sys/pthread.h [HPUX11_LWP_RWLOCK_VALID_CHECK]: New test. From-SVN: r221757
John David Anglin committed -
2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/65596 * gfortran.dg/namelist_86.f90: New test. From-SVN: r221756
Jerry DeLisle committed -
2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/65596 * io/transfer.c (data_transfer_init): If in namelist mode and delimiter is not specified, set it to DELIM_QUOTE, independent of -std. * io/unit.c (init_units): Set flags.delim to the correct initial value of DELIM_UNSPECIFIED. From-SVN: r221753
Jerry DeLisle committed -
* gfortran.dg/unlimited_polymorphic_24.f03: Fixing copyright statement to reflect new ownership. From-SVN: r221752
Andre Vehreschild committed -
2015-03-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42328 * g++.dg/template/friend58.C: New. * g++.dg/template/friend59.C: Likewise. From-SVN: r221751
Paolo Carlini committed -
PR libstdc++/65420 * include/bits/regex_constants.h: Use constexpr variables for flags. * testsuite/28_regex/constants/constexpr.cc: New testcase. From-SVN: r221750
Tim Shen committed -
From-SVN: r221749
GCC Administrator committed
-
- 27 Mar, 2015 9 commits
-
-
PR ipa/65588 * symtab.c (symtab_node::get_partitioning_class): Register vars are duplicated. * varpool.c (symbol_table::output_variables) Do not assemble unefined decls for non-symbols. From-SVN: r221745
Jan Hubicka committed -
2015-03-27 Tobias Burnus <burnus@net-b.de> PR c/65586 gcc/c/ * c-parser.c (c_parser_skip_to_pragma_eol): Optionally, don't error out. (c_parser_omp_for, c_parser_omp_parallel, c_parser_omp_distribute, c_parser_omp_teams, c_parser_omp_target, c_parser_omp_declare): Update calls to not error for skipped omp pragmas with -fopenmp-simd. gcc/cp/ * parser.c (cp_parser_omp_for, cp_parser_omp_parallel, cp_parser_omp_distribute, cp_parser_omp_teams, cp_parser_omp_target, cp_parser_omp_declare): Don't show error for skipped omp pragmas with -fopenmp-simd. gcc/testsuite/ * g++.dg/gomp/openmp-simd-3.C: New. * gcc.dg/gomp/openmp-simd-3.c: New. From-SVN: r221744
Tobias Burnus committed -
Protected data symbol means that it can't be pre-emptied. It doesn't mean its address won't be external. This is true for pointer to protected function. With copy relocation, address of protected data defined in the shared library may also be external. We only know that for sure at run-time. TARGET_BINDS_LOCAL_P should return false on protected data symbol. gcc/ PR target/65248 * output.h (default_binds_local_p_2): New. * varasm.c (default_binds_local_p_2): Renamed to ... (default_binds_local_p_3): This. Don't return true on protected data symbol if protected data may be external. (default_binds_local_p): Use default_binds_local_p_3. (default_binds_local_p_1): Likewise. (default_binds_local_p_2): New. * config/i386/i386.c (TARGET_BINDS_LOCAL_P): Set to default_binds_local_p_2 if TARGET_MACHO is undefined. gcc/testsuite/ PR target/65248 * gcc.target/i386/pr65248-1.c: New file. * gcc.target/i386/pr65248-2.c: Likewise. * gcc.target/i386/pr65248-3.c: Likewise. * gcc.target/i386/pr65248-4.c: Likewise. From-SVN: r221742
H.J. Lu committed -
PR target/65593 * config/i386/i386.c (legitimize_pic_address): If base is SYMBOL_REF or LABEL_REF using %rip addressing, force it to reg to avoid PLUS of SYMBOL_REF/LABEL_REF and register. * gcc.c-torture/compile/pr65593.c: New test. From-SVN: r221741
Jakub Jelinek committed -
2015-03-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59329 * g++.dg/cpp1y/constexpr-assert1.C: New. From-SVN: r221740
Paolo Carlini committed -
From-SVN: r221739
Uros Bizjak committed -
PR c++/65556 * semantics.c (finish_switch_cond): If the unlowered type is not an enum, use the type of the condition. * c-c++-common/pr65556.c: New test. From-SVN: r221738
Marek Polacek committed -
PR c++/65509 * decl.c (make_rtl_for_nonlocal_decl): Don't defer static constants. From-SVN: r221737
Jason Merrill committed -
re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx) PR target/65531 * symtab.c (symtab_node::verify_symtab_nodes): Fix verification of comdat groups. From-SVN: r221736
Jan Hubicka committed
-