From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100814 invoked by alias); 1 Jul 2015 08:22:10 -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 100755 invoked by uid 48); 1 Jul 2015 08:22:06 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 Date: Wed, 01 Jul 2015 08:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ra, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 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: 2015-07/txt/msg00014.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66626 --- Comment #8 from Uro=C5=A1 Bizjak --- (In reply to H.J. Lu from comment #7) > Created attachment 35882 [details] > A patch Uhuh... it's correct. We want to limit regparm value with local_regparm. However, the unpatched compiler shows that LRA doesn't correctly handle argp elimination. However, patched compiler will avoid this situation. >>From gcc-bugs-return-491126-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 01 08:25:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 103831 invoked by alias); 1 Jul 2015 08:25:04 -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 103409 invoked by uid 55); 1 Jul 2015 08:25:00 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/66633] [5/6 regression] ICE on valid "verify_gimple failed" with OpenMP Date: Wed, 01 Jul 2015 08:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou 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-07/txt/msg00016.txt.bz2 Content-length: 881 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66633 --- Comment #11 from Eric Botcazou --- Author: ebotcazou Date: Wed Jul 1 08:24:29 2015 New Revision: 225228 URL: https://gcc.gnu.org/viewcvs?rev=225228&root=gcc&view=rev Log: PR middle-end/66633 * tree-nested.c (convert_nonlocal_omp_clauses): Initialize need_chain to true if the function is nested and if not optimizing. (convert_local_omp_clauses): Initialize need_frame to true if the function contains nested functions and if not optimizing. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr66633.f90 - copied unchanged from r225227, trunk/gcc/testsuite/gfortran.dg/gomp/pr66633.f90 Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/testsuite/ChangeLog branches/gcc-5-branch/gcc/tree-nested.c