From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 346493858285; Wed, 21 Sep 2022 13:36:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 346493858285 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663767400; bh=rCYuU7lMMzAUjPUKljZyAazHicuksX6o5q2UHXwepu8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Cp0ef6/naB9gJbWypE03y+3lvy/OBcS1QTCXMGMRyYCeYjjBOPV/zwT3RkbPSZ9gi EklJENeebShO5/Eneg7sT46GomFRgOHGr0+C7p8zPOimX6uRRlvkTCWVttVcWwOVY9 eBfC2RFbjgO5E5AbzSCMm2mZgt44Y2PrS9o2na7c= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture' Date: Wed, 21 Sep 2022 13:36:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106981 --- Comment #3 from Jakub Jelinek --- Yes, this is certainly not valid OpenMP, if in the syntax x or expr or r appears multiple times, then each occurence needs to be the exact same set = of tokens and due to the "During the execution of an atomic region, multiple syntactic occurrences of {x,expr,r} must designate the same storage location." restrictions must be the same thing at runtime too.=