[Bug c++/81917] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2017-09-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords|ice-on-valid-code   |ice-on-invalid-code
 CC||jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek  ---
The reporter claimed the source isn't valid.  Can't try clang because it
doesn't handle libstdc++ C++17 deductions.

[Bug c++/81917] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2017-08-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-08-22
 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #3 from Martin Liška  ---
Reduced test-case:

template  using a void;
template  class b
{
  typedef int c
} template  class b;
template ::c> class f;
template  class g;
template  class h
{
  class i;
  typedef g j class i
  {
j k
  }
} typename h::

Marek was it a valid test-case at the beginning?

[Bug c++/81917] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2017-08-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917

--- Comment #2 from Marek Polacek  ---
I couldn't reduce it further because creduce is crashing for me.  

Started with

commit 996ae1f4f1d512b4ccad62c7d52eb2f14b3e814c
Author: jason 
Date:   Sat Nov 8 06:06:42 2014 +

DR 1558
* pt.c (dependent_alias_template_spec_p): New.
(dependent_type_p_r): Handle dependent alias template
specialization.
(template_args_equal): A dependent alias template specializations
is not equal to its underlying type as a template argument.
* tree.c (strip_typedefs): Don't strip a dependent alias
template-id.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217250
138bc75d-0d04-0410-961f-82ee72b054a4

[Bug c++/81917] internal compiler error: in finish_member_declaration, at cp/semantics.c:3004

2017-08-21 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917

--- Comment #1 from Marek Polacek  ---
Created attachment 42021
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42021=edit
q.ii.gz

q.ii.gz