[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2020-01-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jason at gcc dot gnu.org
 Resolution|--- |WORKSFORME

--- Comment #4 from Jason Merrill  ---
This seems to be fixed for 9.3/10.

[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2020-01-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P2

[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2019-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|9.2 |9.3

--- Comment #3 from Jakub Jelinek  ---
GCC 9.2 has been released.

[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2019-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords|needs-reduction |

--- Comment #2 from Jonathan Wakely  ---
Reduced:

template T&& declval();

template struct function
{
  template()(declval()))>
function(F) { }
};

template
struct test
{
  function f = [](T *) {};
};

struct test2
{
  test d;
  test i;
};

template void make() { new T(); }

void g ()
{
  make();
}

[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2019-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Jonathan Wakely  changed:

   What|Removed |Added

 CC||aoliva at gcc dot gnu.org
   Target Milestone|--- |9.2

--- Comment #1 from Jonathan Wakely  ---
This is a regression caused by r268850

PR c++/87322
* pt.c (tsubst_lambda_expr): Avoid duplicate tsubsting.
Move cp_evaluated resetting before signature tsubsting.
(gen_elem_of_pack_expansion_instantiation): Separate local
specializations per index.

[Bug c++/90609] [9/10 Regression] Compilation error in std::function default member initialization inside template class with defaulted constructor

2019-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90609

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-05-24
  Known to work||8.3.1
Summary|Compilation error in|[9/10 Regression]
   |std::function default   |Compilation error in
   |member initialization   |std::function default
   |inside template class with  |member initialization
   |defaulted constructor   |inside template class with
   ||defaulted constructor
 Ever confirmed|0   |1
  Known to fail||10.0, 9.1.0