[Bug c++/86192] A not fully fixed bug?

2018-06-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86192

Jason Merrill  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #3 from Jason Merrill  ---
(In reply to Jason Merrill from comment #2)
> Author: jason
> Date: Tue Jun 19 18:46:51 2018
> New Revision: 261757
> 
> URL: https://gcc.gnu.org/viewcvs?rev=261757=gcc=rev
> Log:
>   PR c++/86192 - ICE with anonymous union passed to template.
> 
>   * pt.c (tsubst_expr) [DECL_EXPR]: Handle an anonymous union type
>   used to declare a named variable.

Oops, that should have been bug 86182.

[Bug c++/86192] A not fully fixed bug?

2018-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86192

--- Comment #2 from Jason Merrill  ---
Author: jason
Date: Tue Jun 19 18:46:51 2018
New Revision: 261757

URL: https://gcc.gnu.org/viewcvs?rev=261757=gcc=rev
Log:
PR c++/86192 - ICE with anonymous union passed to template.

* pt.c (tsubst_expr) [DECL_EXPR]: Handle an anonymous union type
used to declare a named variable.

Added:
trunk/gcc/testsuite/g++.dg/template/anonunion3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c

[Bug c++/86192] A not fully fixed bug?

2018-06-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86192

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Jonathan Wakely  ---
You didn't read Bug 70377 comment 2.

*** This bug has been marked as a duplicate of bug 80061 ***