[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2020-02-03 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8fda2c274ac66d60c1dfc1349e9efb4e8c2a3580 commit r10-6416-g8fda2c274ac66d60c1dfc1349e9efb4e8c2a3580 Author: Jason Merrill Date:

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2020-02-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2020-01-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2019-10-08 Thread kyrylo.bohdanenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #5 from Kyrylo Bohdanenko --- Sorry, the move constructor isn't necessary... template struct integral_constant { constexpr integral_constant(const integral_constant&) noexcept {} constexpr integral_constant() noexcept {} }; int

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2019-10-08 Thread kyrylo.bohdanenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #4 from Kyrylo Bohdanenko --- The problem can also be worked around by manually specifying "the holy trio" of constructors and providing empty bodies (= default does not work) This code compiles with GCC 8.3.0 and trunk (20190919):

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2019-10-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2019-10-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 --- Comment #2 from Jakub Jelinek --- Reduced testcase: template struct integral_constant { static constexpr _Tp value = __v; typedef _Tp value_type; typedef integral_constant<_Tp, __v> type; constexpr operator value_type() const

[Bug c++/91953] [8/9/10 Regression] G++ rejects lambda with constexpr variable

2019-10-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91953 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,