From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30946 invoked by alias); 11 Feb 2015 14:44:45 -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 30815 invoked by uid 55); 11 Feb 2015 14:44:41 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/64824] ICE in gimple verification Date: Wed, 11 Feb 2015 14:44: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: 5.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub 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/msg01195.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64824 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Wed Feb 11 14:44:10 2015 New Revision: 220622 URL: https://gcc.gnu.org/viewcvs?rev=220622&root=gcc&view=rev Log: Backported from mainline 2015-02-04 Jakub Jelinek PR c/64824 PR c/64868 * c-omp.c (c_finish_omp_atomic): Use TRUNC_DIV_EXPR instead of RDIV_EXPR. Use build_binary_op instead of build2_loc. * c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR. * parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR. * testsuite/libgomp.c/pr64824.c: New test. * testsuite/libgomp.c/pr64868.c: New test. * testsuite/libgomp.c++/pr64824.C: New test. * testsuite/libgomp.c++/pr64868.C: New test. Added: branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64824.C branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/pr64868.C branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64824.c branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c/pr64868.c Modified: branches/gcc-4_9-branch/gcc/c-family/ChangeLog branches/gcc-4_9-branch/gcc/c-family/c-omp.c branches/gcc-4_9-branch/gcc/c/ChangeLog branches/gcc-4_9-branch/gcc/c/c-parser.c branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/parser.c branches/gcc-4_9-branch/libgomp/ChangeLog