[Bug c++/61924] [C++11] ICE in instantiate_template_1, at cp/pt.c:15618

2014-12-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61924

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.0

--- Comment #4 from Paolo Carlini  ---
Done.


[Bug c++/61924] [C++11] ICE in instantiate_template_1, at cp/pt.c:15618

2014-12-12 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61924

--- Comment #3 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Fri Dec 12 20:30:11 2014
New Revision: 218690

URL: https://gcc.gnu.org/viewcvs?rev=218690&root=gcc&view=rev
Log:
2014-12-12  Paolo Carlini  

PR c++/61924
* g++.dg/cpp0x/pr61924.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr61924.C
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/61924] [C++11] ICE in instantiate_template_1, at cp/pt.c:15618

2014-12-12 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61924

--- Comment #2 from Paolo Carlini  ---
Thanks. Then let's add the testcase and close the bug.


[Bug c++/61924] [C++11] ICE in instantiate_template_1, at cp/pt.c:15618

2014-12-12 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61924

Ville Voutilainen  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Known to work||5.0
Version|unknown |4.9.1
   Keywords||ice-on-invalid-code
   Last reconfirmed||2014-12-12
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1

--- Comment #1 from Ville Voutilainen  ---
Current trunk accepts the code and diagnoses function::function as not being
defined, like clang does. Previous versions ICE.