1. 08 Mar, 2019 10 commits
    • re PR target/89578 (5% runtime regression for 481.wrf at -Ofast -flto) · 94ec37a9
      2019-03-08  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/89578
      	* cfgloop.h (struct loop): Add owned_clique field.
      	* cfgloopmanip.c (copy_loop_info): Copy it.
      	* tree-cfg.c (gimple_duplicate_bb): Do not remap owned_clique
      	cliques.
      	* tree-inline.c (copy_loops): Remap owned_clique.
      	* lto-streamer-in.c (input_cfg): Stream owned_clique.
      	* lto-streamer-out.c (output_cfg): Likewise.
      
      From-SVN: r269484
      Richard Biener committed
    • re PR c++/89585 (GCC 8.3: asm volatile no longer accepted at file scope) · 5d1504d4
      	PR c++/89585
      	* parser.c (cp_parser_asm_definition): Just warn instead of error
      	on volatile qualifier outside of function body.
      
      	* g++.dg/asm-qual-3.C: Adjust expected diagnostics for toplevel
      	asm volatile.
      
      From-SVN: r269483
      Jakub Jelinek committed
    • re PR c++/89599 (C-style function-pointer-to-void* cast is handled inconsistently) · ed3ea9f2
      	PR c++/89599
      	* constexpr.c (potential_constant_expression_1): Reject
      	REINTERPRET_CAST_P NOP_EXPRs.
      
      	* g++.dg/ubsan/vptr-4.C: Adjust expected diagnostics.
      	* g++.dg/parse/array-size2.C: Likewise.
      	* g++.dg/cpp0x/constexpr-89599.C: New test.
      
      From-SVN: r269482
      Jakub Jelinek committed
    • re PR c++/89622 (G++ prints notes, but no warning or error) · 560a46a5
      	PR c++/89622
      	* call.c (joust): Call print_z_candidate only if pedwarn returned
      	true.
      
      	* g++.dg/warn/pr89622.C: New test.
      
      From-SVN: r269481
      Jakub Jelinek committed
    • re PR target/80190 (darwin: untranslateable placeholder "non-ASCII character") · 1d28bbdf
      	PR target/80190
      	* config/darwin.c: Include intl.h.
      	(darwin_build_constant_cfstring): Improve i18n of diagnostics by not
      	composing the message out of two separate parts.
      
      From-SVN: r269480
      Jakub Jelinek committed
    • re PR libstdc++/89477 (Incorrect CTAD deduction guides for set and multiset) · c0cb38c2
      2019-03-08  François Dumont  <fdumont@gcc.gnu.org>
      
      	PR libstdc++/89477
      	* include/debug/map.h (map): Use _RequireNotAllocator to constrain
      	parameters in deduction guides.
      	* include/debug/multimap.h (multimap): Likewise.
      	* include/debug/set.h (multimap): Likewise.
      	* include/debug/multiset.h (multimap): Likewise.
      	* include/debug/unordered_map (unordered_map): Likewise.
      	(unordered_multimap): Likewise.
      	* include/debug/unordered_set (unordered_set): Likewise.
      	(unordered_multiset): Likewise.
      
      From-SVN: r269479
      François Dumont committed
    • re PR libstdc++/89608 (Undetected iterator invalidations on unordered containers in debug mode) · 20a4550c
      2019-03-08  François Dumont  <fdumont@gcc.gnu.org>
      
      	PR libstdc++/89608
      	* include/debug/unordered_map (unordered_map<>::_M_check_rehashed):
      	Invalidate all iterators in case of rehash.
      	(unordered_multimap<>::_M_check_rehashed): Likewise.
      	* include/debug/unordered_set
      	(unordered_set<>::_M_check_rehashed): Likewise.
      	(unordered_multiset<>::_M_check_rehashed): Likewise.
      	* testsuite/23_containers/unordered_set/debug/89608_neg.cc: New.
      
      From-SVN: r269478
      François Dumont committed
    • PR c++/88123 - lambda and using-directive. · bddee796
      For named function calls in a template, the result of unqualified lookup is
      safed in CALL_EXPR_FN.  But for operator expressions, no unqualified lookup
      is performed until we know whether the operands have class type.  So when we
      see in a lambda a use of an operator that might be overloaded, we need to do
      that lookup then and save it away somewhere.  One possibility would be in
      the expression, but we can't really add extra conditional operands to
      standard tree codes.  I mostly implemented another approach using a new
      WITH_LOOKUP_EXPR code, but teaching everywhere how to handle a new tree code
      is always complicated.  Then it occurred to me that we could associate the
      lookups with the function, which is both simpler and smaller.  So this patch
      stores any operator bindings needed by a lambda function in an internal
      attribute on the lambda call operator.
      
      	* name-lookup.c (op_unqualified_lookup)
      	(maybe_save_operator_binding, discard_operator_bindings)
      	(push_operator_bindings): New.
      	* typeck.c (build_x_binary_op, build_x_unary_op): Call
      	maybe_save_operator_binding.
      	* decl.c (start_preparsed_function): Call push_operator_bindings.
      	* tree.c (cp_free_lang_data): Call discard_operator_bindings.
      
      From-SVN: r269477
      Jason Merrill committed
    • Daily bump. · 1ce59b6c
      From-SVN: r269476
      GCC Administrator committed
    • * sv.po: Update. · 479d3a60
      From-SVN: r269473
      Joseph Myers committed
  2. 07 Mar, 2019 22 commits
  3. 06 Mar, 2019 8 commits