From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AAC5738582A3; Thu, 30 Mar 2023 17:59:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAC5738582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680199167; bh=etVrIXx1FARywhq+K8cl2O7Z0noRJXoPuPHlz45LUiE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W7ynX2RY9WSOtqYXGBubqbGHpKX9BB2jJKHlavC2qbrLGYbYBJQZGrKVSFqz+BvXe hyIArN1u2/DX413hdeqeNXgZuZsEGUvsBi6BcoQ2k/gz5hMhUdILXEo0BMxvHnWgKn B1S+f16rW3QBCTcufrTG/lJkLLbQTtvPmlIwNXAk= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvODQwNzVdIFsxMC8xMS8xMi8xMyBSZWdyZXNzaW9u?= =?UTF-8?B?XSBUZW1wbGF0ZSBwYXJhbWV0ZXIgbm90IHJlc29sdmVkOiBpbnZhbGlkIGFw?= =?UTF-8?B?cGxpY2F0aW9uIG9mIOKAmHNpemVvZuKAmSB0byBpbmNvbXBsZXRlIHR5cGUg?= =?UTF-8?B?4oCYYm9vc3Q6OnNlcmlhbGl6YXRpb246OlXigJk=?= Date: Thu, 30 Mar 2023 17:59:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.3.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone cc short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84075 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.5 CC| |ppalka at gcc dot gnu.org Summary|Template parameter not |[10/11/12/13 Regression] |resolved: invalid |Template parameter not |application of =E2=80=98sizeof=E2=80=99 to |resolved: = invalid |incomplete type |application of =E2=80=98si= zeof=E2=80=99 to |=E2=80=98boost::serialization::U=E2=80=99 |incomplete= type | |=E2=80=98boost::serializat= ion::U=E2=80=99 --- Comment #12 from Patrick Palka --- (In reply to Andrew Pinski from comment #11) > (In reply to ensadc from comment #4) > > Further reduced: > >=20 > > template < int > struct b { }; > > template < typename n > struct g { > > typedef b< sizeof(n) > l; > > }; > > template < typename h, typename =3D typename g< h >::l > class aa {}; > > template < typename h, typename bz > > > void bj(aa< h, bz >, int); > > template < template < class > class ct > void bj(ct< class U >); > > void f() { > > bj(aa(), 0); > > } > > ---- >=20 > Hmm, it comes with -std=3Dc++11 and -std=3Dc++14 but not -std=3Dc++17. Started to be rejected (with -std=3Dc++17) since the introduction of -fnew-ttp-matching r7-5537-g31bfc9b9dd65ec=