From: Jason Merrill Date: Thu, 21 Jun 2018 18:19:23 +0000 (-0400) Subject: PR c++/86182 - fix wrong PR tag in earlier commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8745500a49bfde05e5a82bd3f8a22a7fe46e2fc7;p=gcc.git PR c++/86182 - fix wrong PR tag in earlier commit From-SVN: r261858 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8dabe7624b3..1ec2382ebcc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -68,7 +68,7 @@ * cp-tree.h (CONSTRUCTOR_NO_IMPLICIT_ZERO): Remove. * constexpr.c: Use CONSTRUCTOR_NO_CLEARING instead. - PR c++/86192 - ICE with anonymous union passed to template. + PR c++/86182 - ICE with anonymous union passed to template. * pt.c (tsubst_expr) [DECL_EXPR]: Handle an anonymous union type used to declare a named variable. diff --git a/gcc/testsuite/g++.dg/template/anonunion3.C b/gcc/testsuite/g++.dg/template/anonunion3.C index 1ac8165fa78..6ab7d100764 100644 --- a/gcc/testsuite/g++.dg/template/anonunion3.C +++ b/gcc/testsuite/g++.dg/template/anonunion3.C @@ -1,4 +1,4 @@ -// PR c++/86192 +// PR c++/86182 // { dg-do compile { target c++11 } } extern "C" int printf (const char *, ...);