[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-03-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #8 from Marek Polacek --- Unfortunately that ship has sailed. What we need is a more complete solution: . It's not a trivial problem and I'm not sure if the backport will be

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-03-05 Thread mawww at kakoune dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Maxime Coste changed: What|Removed |Added CC||mawww at kakoune dot org --- Comment #7

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-02-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added Keywords||patch --- Comment #6 from Marek Polacek

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-31 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #5 from Marek Polacek --- (In reply to Marek Polacek from comment #4) > This is the fix, thought I recall it broke something. That was constexpr-ex4.C: constexpr-ex4.C:13:11: error: no matching function for call to ‘A::operator

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #4 from Marek Polacek --- This is the fix, thought I recall it broke something. But we want to use fold_ here because we can have a non-dependent template code like CAST_EXPR. --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -981,7

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 --- Comment #3 from Marek Polacek --- Another test: enum class error {}; template void afunction(F) { error{char(0)}; } 93513.C: In function ‘void afunction(F)’: 93513.C:4:16: internal compiler error: unexpected expression ‘(char)(0)’ of

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added CC||andij.cr at gmail dot com --- Comment

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-01-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2019-08-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|