- 05 Feb, 2017 10 commits
-
-
PR tree-ssa/79347 * cfgloopmanip.c (lv_adjust_loop_entry_edge, loop_version): Add ELSE_PROB. * cfgloopmanip.h (loop_version): Update prototype. * modulo-sched.c (sms_schedule): Update call of loop_version. * tree-if-conv.c(version_loop_for_if_conversion): Likewise. * tree-parloops.c (gen_parallel_loop): Likewise. * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise. * tree-ssa-loop-split.c (split_loop): Likewise. * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Likewise. * tree-vect-loop-manip.c (vect_loop_versioning): Likewise. * gcc.dg/tree-ssa/ifc-10.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-11.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-12.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-20040816-1.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-20040816-2.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-5.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-8.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-9.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-cd.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-pr56541.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-pr68583.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-pr69489-1.c: Match for profile mismatches. * gcc.dg/tree-ssa/ifc-pr69489-2.c: Match for profile mismatches. From-SVN: r245196
Jan Hubicka committed -
PR bootstrap/78985 * config/s390/s390.c (s390_gimplify_va_arg): Initialize local variable to NULL. (print_operand_address): Initialize a struct to zero. From-SVN: r245195
Martin Liska committed -
gcc/fortran/ChangeLog: 2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79344 * trans-stmt.c (gfc_trans_allocate): Only deallocate the components of the temporary, when a new object was created for the temporary. Not when it is just an alias to an existing object. gcc/testsuite/ChangeLog: 2017-02-04 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79344 * gfortran.dg/allocate_with_source_24.f90: New test. From-SVN: r245194
Andre Vehreschild committed -
re PR fortran/79335 (Conditional jump or move depends on uninitialised in value get_scalar_to_descriptor_type(tree_node*, symbol_attribute) (trans-expr.c:53)) gcc/fortran/ChangeLog: 2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79335 * trans-decl.c (generate_coarray_sym_init): Retrieve the symbol's attributes before using them. From-SVN: r245193
Andre Vehreschild committed -
re PR fortran/78958 (Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object) gcc/fortran/ChangeLog: 2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/78958 * trans-stmt.c (gfc_trans_allocate): Add the multiplying the _len component of unlimited polymorphic objects when source-allocating. From-SVN: r245192
Andre Vehreschild committed -
gcc/fortran/ChangeLog: 2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79230 * trans-array.c (structure_alloc_comps): Ignore pointer components when freeing structures. gcc/testsuite/ChangeLog: 2017-02-05 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/79230 * gfortran.dg/der_ptr_component_2.f90: New test. From-SVN: r245191
Andre Vehreschild committed -
* MAINTAINERS (Write After Approval): Remove redundant entry for Andrew Burgess. From-SVN: r245190
Gerald Pfeifer committed -
* doc/extend.texi (x86 specific memory model extensions for transactional memory): Simplify a phrase. From-SVN: r245189
Gerald Pfeifer committed -
PR target/79353 * config/sparc/sync.md (atomic_loaddi_1): Replace 'U' constraint with 'r', 'm' constraint with 'T' and !TARGET_ARCH64 with TARGET_ARCH32. (atomic_storedi_1): Likewise. From-SVN: r245188
Eric Botcazou committed -
From-SVN: r245187
GCC Administrator committed
-
- 04 Feb, 2017 7 commits
-
-
PR tree-optimization/79338 * tree-parloops.c (gather_scalar_reductions): Don't call vect_analyze_loop_form for loop->inner before destroying loop's loop_vinfo. From-SVN: r245183
Jakub Jelinek committed -
* gfortran.dg/coarray_43.f90: Add "-latomic" option if libatomic_available. From-SVN: r245182
John David Anglin committed -
* gcc.dg/pr77587.c: Require alias support. * gcc.dg/pr77587a.c: Likewise. From-SVN: r245181
John David Anglin committed -
* g++.dg/pr78112-2.C: Skip on hppa*-*-hpux*. * gcc.c-torture/execute/pr78622.c: Likewise. From-SVN: r245180
John David Anglin committed -
* c-c++-common/Wunused-var-15.c: Add -fno-common additional option on hppa*-*-hpux*. * c-c++-common/Wunused-var-16.c: Likewise. * c-c++-common/builtin-shuffle-1.c: Likewise. * gcc.dg/debug/dwarf2/align-[1-6].c Likewise. * gcc.dg/debug/dwarf2/align-as-1.c: Likewise. From-SVN: r245179
John David Anglin committed -
* configure.ac: Add gcc/function-tests.o to compare_exclusions for 32-bit hppa*-*-hpux*. * configure: Regenerate. From-SVN: r245178
John David Anglin committed -
From-SVN: r245177
GCC Administrator committed
-
- 03 Feb, 2017 23 commits
-
-
PR c++/78334 * g++.dg/cpp1z/nontype-auto7.C: New. From-SVN: r245174
Jason Merrill committed -
PR tree-optimization/79327 - wrong code at -O2 and -fprintf-return-value gcc/ChangeLog: * gimple-ssa-sprintf.c (tree_digits): Avoid adding the base prefix when precision has resulted in leading zeros. (format_integer): Adjust the likely counter to assume an unknown argument that may be zero is non-zero. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Adjust. * gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-13.c: New test. * gcc/testsuite/gcc.dg/tree-ssa/pr79327-2.c: Ditto. From-SVN: r245173
Martin Sebor committed -
gcc/ * tree-inline.c (copy_tree_body_r) [COND_EXPR]: Revert change to avoid copying non-taken branch. gcc/cp/ * optimize.c (maybe_clone_body): Replace omitted parameters with null lvalues. * class.c (build_clone): Fix logic for omitting inherited parms. From-SVN: r245172
Jason Merrill committed -
PR tree-optimization/79340 * tree-vect-loop.c (vectorizable_reduction): Release vec_defs elements after safe_splicing them into other vectors. Formatting fixes. From-SVN: r245171
Jakub Jelinek committed -
* constexpr.c (maybe_constant_value): Fold maybe_constant_value_1 back in. Don't cache constants. (maybe_constant_init): Don't cache constants. From-SVN: r245169
Jason Merrill committed -
* pt.c (convert_nontype_argument_function): Check value-dependence. (convert_nontype_argument): Don't check it here for function ptrs. From-SVN: r245168
Jason Merrill committed -
PR libstdc++/66145 * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Restore ABI override so new ios::failure can be caught even when old ABI is the default. * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ exceptions_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ exceptions_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise. * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_null.cc: Likewise. * testsuite/27_io/ios_base/storage/2.cc: Likewise. From-SVN: r245167
Jonathan Wakely committed -
PR tree-optimization/79327 * gimple-ssa-sprintf.c (adjust_range_for_overflow): If returning true, always set *argmin and *argmax to TYPE_{MIN,MAX}_VALUE of dirtype. (format_integer): Use wide_int_to_tree instead of build_int_cst + to_?hwi. If argmin is NULL, just set argmin and argmax to TYPE_{MIN,MAX}_VALUE of argtype. Simplify and fix computation of shortest and longest sequence. * gcc.dg/tree-ssa/pr79327.c: New test. * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c (test_sprintf_chk_hh_nonconst): Don't expect 2 bogus warnings. * gcc.dg/tree-ssa/builtin-sprintf-warn-3.c (test_sprintf_chk_range_schar): Adjust dg-message. * gcc.dg/tree-ssa/builtin-sprintf-warn-12.c: New test. * gcc.c-torture/execute/pr79327.c: New test. Co-Authored-By: Martin Sebor <msebor@redhat.com> From-SVN: r245166
Jakub Jelinek committed -
Move explicit instantiation definitions for string I/O functions into their own files so that iostream and locale definitions are not needed for uses of strings without I/O. Move functions for throwing C++11 exceptions into the individual files defining the exception types, so that using any of the functions from functexcept.cc doesn't pull in large pieces of the C++11 library. Finally, avoid using __int_to_char in snprintf_lite.cc to avoid pulling in locale-inst.cc for one function. PR libstdc++/60936 * src/c++11/Makefile.am: Add new files. * src/c++11/Makefile.in: Regenerate. * src/c++11/cow-string-inst.cc [!_GLIBCXX_USE_CXX11_ABI] (operator<<, operator>>, getline): Move explicit instantiations to ... * src/c++11/cow-string-io-inst.cc: ... new file. * src/c++11/cow-wstring-inst.cc [!_GLIBCXX_USE_CXX11_ABI] (operator<<, operator>>, getline): Move explicit instantiations to ... * src/c++11/cow-wstring-io-inst.cc: ... new file. * src/c++11/functexcept.cc (__throw_ios_failure, __throw_system_error) (__throw_future_error, __throw_bad_function_call): (__throw_regex_error): Move functions for C++11 exceptions to the files that define the exception types. * src/c++11/functional.cc (__throw_bad_function_call): Move here. * src/c++11/future.cc (__throw_future_error): Likewise. * src/c++11/ios.cc (__throw_ios_failure): Likewise. * src/c++11/regex.cc (__throw_regex_error): Likewise. * src/c++11/snprintf_lite.cc (__concat_size_t): Print decimal representation directly instead of calling __int_to_char. * src/c++11/sso_string.cc (__sso_string): New file for definition of __sso_string type. * src/c++11/string-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for explicit instantiations of narrow string I/O functions. * src/c++11/system_error.cc (__throw_system_error): Move here. (__sso_string): Move to new file. * src/c++11/wstring-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for explicit instantiations of wide string I/O functions. * src/c++98/misc-inst.cc [_GLIBCXX_USE_CXX11_ABI] (operator<<) (operator>>, getline): Remove explicit instantiations from here. From-SVN: r245162
Jonathan Wakely committed -
* config/i386/i386.c (dimode_scalar_chain::convert_reg): Use pextrd for TARGET_SSE4_1 when creating scalar copy. From-SVN: r245161
Uros Bizjak committed -
PR target/78862 * config/tilegx/tilegx.md (tilegx_expand_prologue): Add blockage after initial stackframe link reg save. * config/tilepro/tilepro.md (tilepro_expand_prologue): Likewise. From-SVN: r245159
Walter Lee committed -
2017-02-03 Doug Gilmore <Doug.Gilmore@imgtec.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r245158
Doug Gilmore committed -
PR target/79354 * config/rs6000/rs6000.md (movsi_from_sf): Use wb constraint instead of wu for stxssp alternative. * gcc.target/powerpc/pr79354.c: New test. * gcc.c-torture/execute/pr79354.c: New test. From-SVN: r245157
Jakub Jelinek committed -
PR tree-optimization/79352 - -fprintf-return-value doesn't handle flexible-like array members properly gcc/ChangeLog: PR tree-optimization/79352 * gimple-fold.c (get_range_strlen): Add argument. (get_range_strlen): Change return type to bool. (get_maxval_strlen): Pass in a dummy argument. * gimple-fold.h (get_range_strlen): Change return type to bool. * gimple-ssa-sprintf.c (get_string_length): Set unlikely counter. * tree.h (array_at_struct_end_p): Add argument. * tree.c (array_at_struct_end_p): Handle it. gcc/testsuite/ChangeLog: PR tree-optimization/79352 * gcc.dg/tree-ssa/pr79352.c: New test. From-SVN: r245156
Martin Sebor committed -
2017-02-03 Martin Liska <mliska@suse.cz> PR lto/66295 * multiple_target.c (create_dispatcher_calls): Redirect edge from a caller of a dispatcher. (expand_target_clones): Make the clones local. (ipa_target_clone): Do both target clones and resolvers. (ipa_dispatcher_calls): Remove the pass. (pass_dispatcher_calls::gate): Likewise. (make_pass_dispatcher_calls): Likewise. * passes.def (pass_target_clone): Put as very first IPA early pass. 2017-02-03 Martin Liska <mliska@suse.cz> PR lto/66295 * gcc.target/i386/mvc9.c: New test. From-SVN: r245155
Martin Liska committed -
2017-02-03 Martin Liska <mliska@suse.cz> * symtab.c (symtab_node::binds_to_current_def_p): Bail out in case of a function with ifunc attribute. From-SVN: r245154
Martin Liska committed -
2017-02-03 Martin Liska <mliska@suse.cz> * cgraph.c (cgraph_node::dump): Dump function version info. * symtab.c (symtab_node::dump_base): Add missing new line. From-SVN: r245153
Martin Liska committed -
PR rtl-optimization/78241 * loop-unroll.c (unroll_loop_runtime_iterations): Don't adjust 'niter', but emit initial peel copy if niter expr is not reliable. From-SVN: r245152
Pat Haugen committed -
* tree-ssa-ifcombine.c (update_profile_after_ifcombine): New function. (ifcombine_ifandif): Use it. * gcc.dg/tree-ssa/ssa-ifcombine-1.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-2.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-3.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-4.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-5.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-6.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-7.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-8.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-9.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-10.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-11.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-12.c: Check for no profile mismatches. * gcc.dg/tree-ssa/ssa-ifcombine-13.c: Check for no profile mismatches. From-SVN: r245151
Jan Hubicka committed -
PR sanitizer/78663 * sanitizer_common/sanitizer_mac.cc: Cherry-pick upstream r293992. * sanitizer_common/sanitizer_platform_interceptors.h: Likewise. From-SVN: r245149
Maxim Ostapenko committed -
2017-02-03 Martin Liska <mliska@suse.cz> * doc/invoke.texi: Document default value for use-after-scope-direct-emission-threshold. From-SVN: r245147
Martin Liska committed -
2017-02-03 Martin Liska <mliska@suse.cz> PR tree-optimization/79339 * gimple-ssa-sprintf.c (format_floating_max): Call mpfr_clear. (format_floating): Likewise. From-SVN: r245146
Martin Liska committed -
2017-02-03 Martin Liska <mliska@suse.cz> PR ipa/79337 * ipa-prop.c (ipa_node_params_t::insert): Remove current implementation. (ipa_node_params_t::remove): Likewise. * ipa-prop.h (ipa_node_params::ipa_node_params): Make default initialization from removed ipa_node_params_t::insert. (ipa_node_params::~ipa_node_params): Move from removed ipa_node_params_t::release. * symbol-summary.h (symbol_summary::m_released): New member. Do not release a summary twice. Do not allow to call finalizer for types of a summary that live in GGC memory. From-SVN: r245145
Martin Liska committed
-