[Bug testsuite/103737] New: new test case decltype-bitfield1.C fails in r11-9363

seurer at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 15 18:43:13 GMT 2021


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

            Bug ID: 103737
           Summary: new test case decltype-bitfield1.C fails in r11-9363
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:e3fab19a79e3dc3cdf3e54ca20107e1dc15a3927, r11-9363
make  -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
dg.exp=g++.dg/cpp0x/decltype-bitfield1.C"
FAIL: g++.dg/cpp0x/decltype-bitfield1.C  -std=c++14 (test for excess errors)
FAIL: g++.dg/cpp0x/decltype-bitfield1.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/decltype-bitfield1.C  -std=c++2a (test for excess errors)
# of unexpected failures        3
# of unsupported tests          1

Excess errors:
/home/seurer/gcc/git/gcc-11/gcc/testsuite/g++.dg/cpp0x/decltype-bitfield1.C:13:17:
warning: width of 'A::l' exceeds its type

This appears to be a 32-bit only issue in gcc 11.  It works fine on trunk.

commit e3fab19a79e3dc3cdf3e54ca20107e1dc15a3927
Author: Marek Polacek <polacek@redhat.com>
Date:   Sat Dec 4 12:07:41 2021 -0500

    c++: Fix for decltype and bit-fields [PR95009]


More information about the Gcc-bugs mailing list