This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 May 2018 16:45:27 +0000
- Subject: [Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool
- Auto-submitted: auto-generated
- References: <bug-80485-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri May 25 16:44:55 2018
New Revision: 260762
URL: https://gcc.gnu.org/viewcvs?rev=260762&root=gcc&view=rev
Log:
PR c++/80485 - inline function non-zero address.
* symtab.c (nonzero_address): Check DECL_COMDAT.
Added:
trunk/gcc/testsuite/g++.dg/expr/pmf-3.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/symtab.c