- 25 Jul, 2016 3 commits
-
-
PR gcov-profile/64874 * gcov-io.h: Update command about file format. * gcov-iov.c (main): Adapt the numbering scheme. From-SVN: r238702
Martin Liska committed -
The 2015-11-23 sanitizer merge from upstream lost the changes from f6528435 to sanitizer_common/sanitizer_common_interceptors.inc, which made use of _OBSTACK_SIZE_T. So the configury changes to define _OBSTACK_SIZE_T don't do anything. This wasn't such a bad thing anyway.. The configure test wrongly adds -I${srcdir}/../include, effectively resulting in a test of libiberty/obstack rather than libc obstack support, and it's the latter that asan and tsan need to work with. So, remove the useless configure test. Upstream santizer project has been made aware of the problem if glibc obstack support is ever updated. Bootsrapped etc. x86_64-linux and committed as obvious. Revert 2015-11-09 Alan Modra <amodra@gmail.com> * configure.ac: Don't substitute OBSTACK_DEFS. * asan/Makefile.am: Remove OBSTACK_DEFS from DEFS. * tsan/Makefile.am: Likewise. * configure: Regenerate. * Makefile.in: Regenerate. * asan/Makefile.in: Regenerate. * interception/Makefile.in: Regenerate. * libbacktrace/Makefile.in: Regenerate. * lsan/Makefile.in: Regenerate. * sanitizer_common/Makefile.in: Regenerate. * tsan/Makefile.in: Regenerate. * ubsan/Makefile.in: Regenerate. From-SVN: r238701
Alan Modra committed -
From-SVN: r238700
GCC Administrator committed
-
- 24 Jul, 2016 11 commits
-
-
* pt.c (resolve_typename_type): Try to avoid calling currently_open_class. From-SVN: r238696
Jason Merrill committed -
gcc/ChangeLog: 2016-07-24 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/66726 * tree-ssa-reassoc.c (optimize_vec_cond_expr): Handle tcc_compare stmt whose result is used in PHI. (final_range_test_p): Likewise. (maybe_optimize_range_tests): Likewise. From-SVN: r238695
Kugan Vivekanandarajah committed -
* call.c (add_list_candidates): Handle VTT parm. (build_new_method_call_1): Likewise. From-SVN: r238689
Jason Merrill committed -
PR c++/63151 * init.c (expand_aggr_init_1): Handle list-initialization from {}. From-SVN: r238688
Jason Merrill committed -
* class.c (walk_subobject_offsets): Handle 0-length array. From-SVN: r238687
Jason Merrill committed -
* pt.c (tsubst): Also substitute into the template of a BOUND_TEMPLATE_TEMPLATE_PARM. From-SVN: r238686
Jason Merrill committed -
* pt.c (lookup_template_class_1): Handle getting template from tsubst. From-SVN: r238685
Jason Merrill committed -
* decl.c (reshape_init_r): Check complain for missing braces warning. From-SVN: r238684
Jason Merrill committed -
* call.c (convert_like_real): Use lvalue_kind. From-SVN: r238683
Jason Merrill committed -
PR c++/52746 * pt.c (tsubst_baselink): Call adjust_result_of_qualified_name_lookup for unqualified destructors. From-SVN: r238681
Jason Merrill committed -
From-SVN: r238680
GCC Administrator committed
-
- 23 Jul, 2016 2 commits
-
-
2016-07-22 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Reformat two multi-line strings. From-SVN: r238675
Michael Meissner committed -
From-SVN: r238674
GCC Administrator committed
-
- 22 Jul, 2016 24 commits
-
-
2016-07-22 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/71935 * check.c (is_c_interoperable): Simplify right expression. 2016-07-22 Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/71935 * gfortran.dg/c_sizeof_1.f90: Move invalid code to ... * gfortran.dg/c_sizeof_6.f90: here. Test for error. * gfortran.dg/pr71935.f90: New test. From-SVN: r238665
Steven G. Kargl committed -
gcc/c-family/ChangeLog: PR c++/71675 * c-common.c (resolve_overloaded_builtin): Avoid converting __atomic_compare_exchange_n return type to that of what its first argument points to. gcc/testsuite/ChangeLog: PR c++/71675 * g++.dg/ext/atomic-3.C: New test. * gcc.dg/atomic/pr71675.c: New test. From-SVN: r238664
Martin Sebor committed -
Reviewed-on: https://go-review.googlesource.com/25150 From-SVN: r238662
Ian Lance Taylor committed -
gcc/ChangeLog: * doc/extend.texi (Compound Literals): Add '@' missed in last commit. From-SVN: r238652
Martin Sebor committed -
gcc/ChangeLog: * doc/extend.texi (Compound Literals): Correct and clarify. (Cast to Union): Same. From-SVN: r238651
Martin Sebor committed -
rs6000.c (rs6000_option_override_internal): Add comments to explain why certain error messages make mention of undocumented... gcc/ChangeLog: 2016-07-22 Kelvin Nilsen <kelvin@gcc.gnu.org> * config/rs6000/rs6000.c (rs6000_option_override_internal): Add comments to explain why certain error messages make mention of undocumented options. (rs6000_invalid_builtin): Change error messages to replace mention of undocumented options with mention of the -mcpu=power9 option that enables those undocumented options. * config/rs6000/rs6000.h (MASK_FLOAT128): New macro. (RS6000_BTM_FLOAT128): Use the new MASK_FLOAT128 macro in the definition of this macro to correct an existing error. * config/rs6000/rs6000.opt: Add the Undocumented qualifier to the mpower9-fusion, mpower9-vector, mpower9-dform, and mmodulo entries. * doc/extend.texi (PowerPC AltiVec Built-in Functions): Modify descriptions of built-in functions so that they depend on -mcpu=power9 instead of on the corresponding undocumented flags. * doc/invoke.texi (Option Summary): Remove all mention of newly undocumented flags. (IBM RS/6000 and PowerPC Options): Likewise. * doc/md.texi (Constraints for Particuliar Machines): Remove all mention of newly undocumented flags. From-SVN: r238648
Kelvin Nilsen committed -
PR libstdc++/71964 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string::_Alloc_hider(pointer, _Alloc&&)): Add constructor. * include/bits/stl_tree.h (_Rb_tree(_Rb_tree&&)): Move allocator. * testsuite/21_strings/basic_string/allocator/71964.cc: New test. * testsuite/23_containers/set/allocator/71964.cc: New test. From-SVN: r238647
Jonathan Wakely committed -
ipa-cp.c (determine_versionability): Do not create constprop clones, when target_clones attribute is set. 2016-07-22 Evgeny Stupachenko <evstupac@gmail.com> gcc/ * ipa-cp.c (determine_versionability): Do not create constprop clones, when target_clones attribute is set. gcc/testsuite/ * gcc.target/i386/mvc8.c: New test. From-SVN: r238645
Evgeny Stupachenko committed -
c/ChangeLog: * c-typeck.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1, c-family/ChangeLog: * c-common.c: Use HOST_WIDE_INT_M1U instead of ~(unsigned HOST_WIDE_INT) 0. From-SVN: r238643
Uros Bizjak committed -
* common.opt (funsafe-loop-optimizations): Mark ignore. * doc/invoke.texi (funsafe-loop-optimizations): Remove. * loop-iv.c (get_simple_loop_desc): Remove unsafe-loop-optimizations related code. * tree-ssa-loop-niter.c (finite_loop_p): Ditto. * config/bfin/bfin.c (bfin_can_use_doloop_p): Ditto. From-SVN: r238642
Bin Cheng committed -
* tree-ssa-loop-niter.h (number_of_iterations_exit_assumptions): New Parameter. * tree-ssa-loop-niter.c (number_of_iterations_exit_assumptions): New Parameter. (number_of_iterations_exit): Warn missed loop optimization for possible infinite loops. gcc/testsuite * gcc.dg/tree-ssa/pr19210-1.c: Refine test strings. * gcc.dg/tree-ssa/pr19210-2.c: Delete. From-SVN: r238641
Bin Cheng committed -
The current logic determining whether to use .machine in the generated asm code puts it there if the compiler is not configured with a default target cpu, _or_ no -mcpu= was given on the command line. It should be "and" instead. PR target/71216 * config/rs6000/rs6000.c (rs6000_file_start): Fix condition for when to emit a ".machine" pseudo-op. From-SVN: r238639
Segher Boessenkool committed -
2016-07-22 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71795 * frontend-passes.c (combine_array_constructor): Don't do anything if the expression is inside an array iterator. 2016-07-22 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/71795 * gfortran.dg/constructor_50.f90: New test. From-SVN: r238638
Thomas Koenig committed -
PR gcov-profile/69028 PR gcov-profile/62047 * g++.dg/cilk-plus/pr69028.C: New test. PR gcov-profile/69028 PR gcov-profile/62047 * cilk.c (create_cilk_helper_decl): Set location of a new decl to the current_function_decl. PR gcov-profile/69028 PR gcov-profile/62047 * coverage.c (coverage_compute_lineno_checksum): Do not calculate checksum for fns w/o xloc.file. (coverage_compute_profile_id): Likewise. From-SVN: r238637
Martin Liska committed -
libgfortran/ChangeLog: 2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org> * caf/libcaf.h: Add parameter stat to caf_get() and caf_send()'s function prototypes. * caf/single.c (_gfortran_caf_get): Implement reporting error using stat instead of abort(). (_gfortran_caf_send): Same. (_gfortran_caf_sendget): Use NULL for stat when calling caf_send(). gcc/testsuite/ChangeLog: 2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org> * gfortran.dg/coarray_stat_2.f90: New test. From-SVN: r238636
Andre Vehreschild committed -
gcc/fortran/ChangeLog: 2016-07-22 Andre Vehreschild <vehre@gcc.gnu.org> * expr.c (gfc_find_stat_co): Fixed whitespaces. * gfortran.texi: Fixed typos and reversed meaning of caf_get()'s src and dst description. * trans-decl.c (gfc_build_builtin_function_decls): Fixed style and corrected fnspec for caf functions. * trans-intrinsic.c (gfc_conv_intrinsic_caf_get): Fixed style. (conv_caf_send): Dito. From-SVN: r238635
Andre Vehreschild committed -
* config/avr/avr.c (TARGET_SECONDARY_RELOAD): Remove hook define... (avr_secondary_reload): ...and implementation. (avr_adjust_insn_length) [ADJUST_LEN_LPM]: Remove handling. * config/avr/avr.md (reload_in<mode>): Remove insns. (adjust_len) [lpm]: Remove insn attribute value. * config/avr/predicates.md (flash_operand): Remove insn predicate. From-SVN: r238634
Georg-Johann Lay committed -
From-SVN: r238633
Martin Liska committed -
* testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): Use delete[] instead of delete. From-SVN: r238632
Jonathan Wakely committed -
* semantics.c (apply_deduced_return_type): Call complete_type_or_else before building the new RESULT_DECL. From-SVN: r238624
Jason Merrill committed -
* decl2.c (maybe_instantiate_decl): Split out from mark_used. (decl_constant_var_p): Use it instead. From-SVN: r238623
Jason Merrill committed -
* pt.c (instantiate_decl): Fix pattern_defined for namespace scope variable templates. From-SVN: r238622
Jason Merrill committed -
* call.c (unsafe_copy_elision_p): It's OK to elide when initializing an unknown object. From-SVN: r238621
Jason Merrill committed -
* call.c (build_over_call): Check unsafe_copy_elision_p even for trivial constructors. * method.c (do_build_copy_constructor): Don't copy tail padding even in a trivial constructor. From-SVN: r238620
Jason Merrill committed
-