[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-10-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org
   Target Milestone|7.3 |8.0

--- Comment #5 from Paolo Carlini  ---
Fixed.

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-10-23 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

--- Comment #4 from paolo at gcc dot gnu.org  ---
Author: paolo
Date: Mon Oct 23 21:37:59 2017
New Revision: 254026

URL: https://gcc.gnu.org/viewcvs?rev=254026&root=gcc&view=rev
Log:
/cp
2017-10-23  Paolo Carlini  

PR c++/80449
* semantics.c (finish_compound_literal): Check do_auto_deduction
return value for error_mark_node.

/testsuite
2017-10-23  Paolo Carlini  

PR c++/80449
* g++.dg/cpp1z/class-deduction46.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction46.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-10-23 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #3 from Paolo Carlini  ---
This is indeed mostly a duplicate of PR79790 which I already fixed. There is
only a minor nit remaining, a meaningless additional diagnostic:

80449.C:3:16: error: cannot deduce template arguments of ā€˜Cā€™, as it has no
viable deduction guides
80449.C:3:16: error: too many initializers for ā€˜ā€™

Which seems also easy to avoid.

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

--- Comment #3 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #4 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.2 |7.3

--- Comment #3 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #4 from Richard Biener  ---
GCC 7.2 is being released, adjusting target milestone.

[Bug c++/80449] [7/8 Regression] ICE reporting failed partial class template specialization class template argument deduction

2017-05-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80449

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|7.0 |7.2

--- Comment #2 from Jakub Jelinek  ---
GCC 7.1 has been released.