[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 11 18:57:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 11 18:56:56 2018
New Revision: 261449

URL: https://gcc.gnu.org/viewcvs?rev=261449&root=gcc&view=rev
Log:
        PR c++/80485 - inline function non-zero address.

        * symtab.c (nonzero_address): Check DECL_COMDAT.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/expr/pmf-3.C
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/symtab.c


More information about the Gcc-bugs mailing list