This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/82357] [8 Regression] bogus error: cannot bind bitfield


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Oct 13 19:03:41 2017
New Revision: 253739

URL: https://gcc.gnu.org/viewcvs?rev=253739&root=gcc&view=rev
Log:
        PR c++/82357 - bit-field in template

        * tree.c (cp_stabilize_reference): Just return a NON_DEPENDENT_EXPR.

Added:
    trunk/gcc/testsuite/g++.dg/template/bitfield4.C
    trunk/gcc/testsuite/g++.dg/template/cast4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]