[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 24 17:15:09 GMT 2020


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

--- Comment #17 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:9407f0c32b215d55d3474a234b0043bddc185b1c

commit r10-7948-g9407f0c32b215d55d3474a234b0043bddc185b1c
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Apr 24 19:14:27 2020 +0200

    testsuite: C++14 vs. C++17 struct-layout-1.exp testing with
ALT_CXX_UNDER_TEST [PR94383]

    > I haven't added (yet) checks if the alternate compiler does support these
    > options (I think that can be done incrementally), so for now this testing
is
    > done only if the alternate compiler is not used.

    This patch does that, so now when testing against not too old compiler
    it can do the -std=c++14 vs. -std=c++17 testing also between under test and
    alt compilers.

    2020-04-24  Jakub Jelinek  <jakub@redhat.com>

            PR c++/94383
            * g++.dg/compat/struct-layout-1.exp: Use the -std=c++14 vs.
-std=c++17
            ABI compatibility testing even with ALT_CXX_UNDER_TEST, as long as
            that compiler accepts -std=c++14 and -std=c++17 options.


More information about the Gcc-bugs mailing list