[Bug c++/105061] [10/11/12 Regression] [c++2a+] anonymous bitfield templated offset rejected

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 28 09:51:03 GMT 2022


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
           Keywords|needs-bisection             |
           Priority|P3                          |P2
   Last reconfirmed|                            |2022-03-28

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r10-3735-gcb57504a550158913258e5be8ddb991376475efb
P0683R1 was done already r8-3526-g603be0224edf653c1e38229e1d32ed449ffd23bd
template <typename T, int U, int V>
struct A { T : V, u : U; };
template <int U, int V>
struct B { unsigned : V, u : U; };
typedef unsigned uns;
template <int U, int V>
struct C { uns : V, u : U; };


More information about the Gcc-bugs mailing list