From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15872 invoked by alias); 10 Feb 2015 22:19:30 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15755 invoked by uid 55); 10 Feb 2015 22:19:26 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/64985] segfault on address of record with reverse Scalar Storage Order Date: Tue, 10 Feb 2015 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01101.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64985 --- Comment #3 from Eric Botcazou --- 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) : Deal with TYPE_REVERSE_STORAGE_ORDER. cp/ * constexpr.c (reduced_constant_expression_p) : Deal with TYPE_REVERSE_STORAGE_ORDER. * typeck2.c (split_nonconstant_init_1) : 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