public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dodji at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/46162] Invalid SFINAE with static member function/variable Date: Tue, 02 Nov 2010 12:59:00 -0000 [thread overview] Message-ID: <20101102125900.3gIK6AUMXxxQtRea-Bbraa9U91OPqU5L7dQBs4xgTVQ@z> (raw) In-Reply-To: <bug-46162-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46162 --- Comment #3 from Dodji Seketeli <dodji at gcc dot gnu.org> 2010-11-02 12:58:51 UTC --- Author: dodji Date: Tue Nov 2 12:58:48 2010 New Revision: 166181 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166181 Log: Fix PR c++/46170, c++/46162 gcc/cp/ChangeLog: PR c++/46170 PR c++/46162 * pt.c (check_valid_ptrmem_cst_expr): Add a complain parameter to control diagnostic. (convert_nontype_argument, convert_nontype_argument): Pass the complain parameter down to check_valid_ptrmem_cst_expr. gcc/testsuite/ChangeLog: PR c++/46170 PR c++/46162 * g++.dg/template/sfinae26.C: New test. * g++.dg/template/sfinae27.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/template/sfinae26.C trunk/gcc/testsuite/g++.dg/template/sfinae27.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog
prev parent reply other threads:[~2010-11-02 12:59 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-25 2:32 [Bug c++/46162] New: " greg.r.rogers at gmail dot com 2010-10-26 9:13 ` [Bug c++/46162] " paolo.carlini at oracle dot com 2010-10-28 14:48 ` dodji at gcc dot gnu.org 2010-11-02 12:59 ` dodji at gcc dot gnu.org [this message]
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=20101102125900.3gIK6AUMXxxQtRea-Bbraa9U91OPqU5L7dQBs4xgTVQ@z \ --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).