public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63658] [4.9/5 Regression] Using class reference as template parameter causes compilation to fail Date: Fri, 21 Nov 2014 00:48:00 -0000 [thread overview] Message-ID: <bug-63658-4-o5xsng9u04@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-63658-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63658 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri Nov 21 00:47:50 2014 New Revision: 217900 URL: https://gcc.gnu.org/viewcvs?rev=217900&root=gcc&view=rev Log: PR c++/63658 * pt.c (convert_nontype_argument): Call convert_from_reference. (check_instantiated_arg): Don't be confused by reference refs. (unify): Look through reference refs on the arg, too. * mangle.c (write_template_arg): Look through reference refs. Added: trunk/gcc/testsuite/g++.dg/template/ref9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/mangle.c trunk/gcc/cp/pt.c
next prev parent reply other threads:[~2014-11-21 0:48 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-27 15:20 [Bug c++/63658] New: [4.8/4.9 " patrick.riphagen at xsens dot com 2014-10-27 15:28 ` [Bug c++/63658] " redi at gcc dot gnu.org 2014-10-27 15:37 ` [Bug c++/63658] [4.9/5 " redi at gcc dot gnu.org 2014-10-27 20:46 ` daniel.kruegler at googlemail dot com 2014-10-28 9:05 ` rguenth at gcc dot gnu.org 2014-10-30 10:43 ` jakub at gcc dot gnu.org 2014-11-21 0:48 ` jason at gcc dot gnu.org [this message] 2014-11-24 13:39 ` [Bug c++/63658] [4.9 " rguenth at gcc dot gnu.org 2014-11-24 16:55 ` rguenth at gcc dot gnu.org 2015-01-07 15:18 ` jason at gcc dot gnu.org 2015-01-20 11:23 ` paolo.carlini at oracle dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-63658-4-o5xsng9u04@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).