[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-06-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Marek Polacek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Marek Polacek  ---
Fixed by r272571.  Test added.

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-06-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

--- Comment #5 from Marek Polacek  ---
Author: mpolacek
Date: Sat Jun 22 16:29:06 2019
New Revision: 272589

URL: https://gcc.gnu.org/viewcvs?rev=272589=gcc=rev
Log:
PR c++/65707
PR c++/89480
PR c++/58836
* g++.dg/cpp0x/nondeduced5.C: New test.
* g++.dg/cpp0x/nondeduced6.C: New test.
* g++.dg/cpp0x/nondeduced7.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced5.C
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced6.C
trunk/gcc/testsuite/g++.dg/cpp0x/nondeduced7.C
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-06-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Marek Polacek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org

--- Comment #4 from Marek Polacek  ---
Will be fixed by 

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-03-05 Thread kutdanila at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

--- Comment #3 from Danila Kutenin  ---
Also not sure if this should compile. But if change Foo{} to static_cast
all the compilers compile.

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-03-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org,
   ||jason at gcc dot gnu.org,
   ||redi at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
Started to ICE with r137361 when all the C++11 features used in there got
implemented, before that it has been rejected.  clang++ accepts it, icpc
rejects it, so unsure if it is valid or not.

[Bug c++/89480] internal compiler error: in unify, at cp/pt.c:22160 with the template argument force conversion

2019-02-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89480

Richard Biener  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Known to fail||4.8.5, 9.0

--- Comment #1 from Richard Biener  ---
Confirmed.  Not sure if the code is valid.