[Bug target/94770] New: class with empty base passed incorrectly with -std=c++17 on mingw

sbence92 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 26 09:17:02 GMT 2020


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

            Bug ID: 94770
           Summary: class with empty base passed incorrectly with
                    -std=c++17 on mingw
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbence92 at gmail dot com
  Target Milestone: ---

Created attachment 48376
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48376&action=edit
preprocessed failing tests

Similar to Bug #94383, Bug #94704 and Bug #94706 the below tests fail with gcc
10 (ead1c27a530) with mingw host and target (also with gcc 9.3 taken from
msys2).

FAIL: tmpdir-g++.dg-struct-layout-1/t032 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t033 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t034 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t051 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t055 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t056 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t058 cp_compat_x_tst.o-cp_compat_y_tst.o
execute
FAIL: tmpdir-g++.dg-struct-layout-1/t059 cp_compat_x_tst.o-cp_compat_y_tst.o
execute


tmpdir-g++-dg-struct-layout-1-t032-01.exe
fail 30.71

tmpdir-g++-dg-struct-layout-1-t033-01.exe
fail 385.71

tmpdir-g++-dg-struct-layout-1-t034-01.exe
fail 798.71

tmpdir-g++-dg-struct-layout-1-t051-01.exe
fail 1817.71

tmpdir-g++-dg-struct-layout-1-t055-01.exe
fail 2002.71

tmpdir-g++-dg-struct-layout-1-t056-01.exe
fail 2200.71

tmpdir-g++-dg-struct-layout-1-t058-01.exe
fail 2604.71

tmpdir-g++-dg-struct-layout-1-t059-01.exe
fail 2828.71


More information about the Gcc-bugs mailing list