From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31024 invoked by alias); 10 Mar 2013 15:32:40 -0000 Received: (qmail 30300 invoked by uid 48); 10 Mar 2013 15:32:15 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56293] Segfault when trying to access pass-by-reference value of a not-word-aligned REAL(16) / -fno-align-commons Date: Sun, 10 Mar 2013 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2013-03/txt/msg00788.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56293 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #6 from Thomas Koenig 2013-03-10 1= 5:32:14 UTC --- > The question is also whether one can construct a fully standard-conform e= xample > which fails without -fno-align-commons =E2=80=93 and whether some real-wo= rld code uses > COMMON in a way that would fails with alignments/padding. program main real a,f1,f2,d common /foo/ a,f1,f2,d a =3D 1.0 d =3D 1.0 call s1 end subroutine s1 real a,b double precision d common /foo/ a,d,b print *,a print *,b end