This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/86763] [7 Regression] Wrong code comparing member of copy of a 237 byte object with nontrivial default constructor on x86-64 arch


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

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Aug 17 14:17:10 2018
New Revision: 263621

URL: https://gcc.gnu.org/viewcvs?rev=263621&root=gcc&view=rev
Log:
2018-08-17  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2018-08-02  Richard Biener  <rguenther@suse.de>

        PR c++/86763
        * class.c (layout_class_type): Copy TYPE_TYPELESS_STORAGE
        to the CLASSTYPE_AS_BASE.

        * g++.dg/torture/pr86763.C: New testcase.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr86763.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/class.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]