--- Comment #25 from CVS Commits <cvs-commit at gcc dot> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek

commit r8-9985-g22a7fa8517063c76b069d2b08dca5a9d270798f8
Author: Jakub Jelinek <>
Date:   Fri Feb 14 12:45:30 2020 +0100

    backport: re PR c++/61414 (enum class bitfield size-checking needs a
separate warning flag controlling it)

        Backported from mainline
        2019-11-26  Jakub Jelinek  <>

        PR c++/61414
        * c-attribs.c (handle_mode_attribute): Add mode attribute to

        * class.c (enum_to_min_precision): New hash_map.
        (enum_min_precision): New function.
        (check_bitfield_decl): Use it.

        * g++.dg/cpp0x/enum23.C: Remove xfail.
        * g++.dg/cpp0x/enum28.C: New test.

Reply via email to