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 ada/64985] segfault on address of record with reverse Scalar Storage Order


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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Tue Feb 10 22:18:54 2015
New Revision: 220597

URL: https://gcc.gnu.org/viewcvs?rev=220597&root=gcc&view=rev
Log:
    PR ada/64985
    * varasm.c (initializer_constant_valid_p_1) <CONSTRUCTOR>: Deal with
    TYPE_REVERSE_STORAGE_ORDER.
cp/
    * constexpr.c (reduced_constant_expression_p) <CONSTRUCTOR>: Deal with
    TYPE_REVERSE_STORAGE_ORDER.
    * typeck2.c (split_nonconstant_init_1) <RECORD_TYPE>: Likewise.
ada/
    * gcc-interface/utils2.c (gnat_build_constructor): Deal with
    TYPE_REVERSE_STORAGE_ORDER.
testsuite/
    * gnat.dg/specs/sso_msgs.ads: Rename into...
    * gnat.dg/specs/sso1.ads: ...this.
    * gnat.dg/specs/sso2.ads: New test.
    * gcc.dg/sso-1.c: Likewise.
    * g++.dg/sso-1.C: Likewise.

Added:
    branches/scalar-storage-order/gcc/testsuite/g++.dg/sso-1.C
    branches/scalar-storage-order/gcc/testsuite/gcc.dg/sso-1.c
    branches/scalar-storage-order/gcc/testsuite/gnat.dg/specs/sso1.ads
      - copied, changed from r220586,
branches/scalar-storage-order/gcc/testsuite/gnat.dg/specs/sso_msgs.ads
    branches/scalar-storage-order/gcc/testsuite/gnat.dg/specs/sso2.ads
Removed:
    branches/scalar-storage-order/gcc/testsuite/gnat.dg/specs/sso_msgs.ads
Modified:
    branches/scalar-storage-order/gcc/ada/gcc-interface/utils2.c
    branches/scalar-storage-order/gcc/cp/constexpr.c
    branches/scalar-storage-order/gcc/cp/typeck2.c
    branches/scalar-storage-order/gcc/varasm.c


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