From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25574 invoked by alias); 29 Nov 2013 16:39:56 -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 25533 invoked by uid 48); 29 Nov 2013 16:39:53 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59163] [4.8/4.9 Regression] program compiled with g++ -O3 segfaults Date: Fri, 29 Nov 2013 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg03056.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59163 --- Comment #11 from Uro=C5=A1 Bizjak --- (In reply to Jakub Jelinek from comment #10) > For stores I think the patch already allows that, that is the > if (GET_CODE (*x) =3D=3D SET && &SET_DEST (*x) =3D=3D data) > return 1; > in there (the reason why I've added it was that for the misaligned store > insns > with UNSPEC_STOREU the misaligned MEM is in SET_DEST and SET_SRC just > contains some rtl with UNSPEC_STOREU embedded somewhere in it. > So, would you like: > if (GET_CODE (*x) =3D=3D SET && (&SET_DEST (*x) =3D=3D data || &SET_SRC= (*x) =3D=3D > data)) > return 1; > ? That would IMHO handle simple loads from misaligned MEM too. Yes. Perhaps also special case sse4.2 string instructions (they can operate= on unaligned data, too), and the patch covers everything. >>From gcc-bugs-return-436280-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 29 16:41:13 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26543 invoked by alias); 29 Nov 2013 16:41:12 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26505 invoked by uid 48); 29 Nov 2013 16:41:09 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59313] gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC Date: Fri, 29 Nov 2013 16:41: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-Version: 4.9.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: bug_status cf_reconfirmed_on cc everconfirmed 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: 2013-11/txt/msg03057.txt.bz2 Content-length: 572 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59313 Eric Botcazou changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-11-29 CC| |ebotcazou at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Eric Botcazou --- I'm seeing this too.