From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 741BD3851C12; Fri, 22 May 2020 08:37:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 741BD3851C12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590136650; bh=uMyuzY/n3wnO1IJwfRBNnSeQa1022etBMwQzBwlHNmw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qdpq77/Jt+eZyT51YUMWZSEPkWw4eTKVVm4kNkieGnWUcaI6ymWAnsFzQkXn977DX Lwk3+sPVScQ/aiFls7M8qY0bJeTPNHYPi0BKqjutCpIY5WT5wzU+GVJ/JiMrjFRNNw fiqffCISA+7FFfcxkpZREjOQBuCNZkBtrLl/gXNI= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBmb3J0cmFuLzkzODI2XSBbT3Blbk1QXVtPcGVuQUNDXSBD?= =?UTF-8?B?b2xsYXBzZWQgbG9vcCDigJMgY29kZSBzaWxlbnRseSBpZ25vcmVk?= Date: Fri, 22 May 2020 08:37:30 +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: 10.0 X-Bugzilla-Keywords: openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2020 08:37:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93826 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Tobias Burnus --- OpenMP 5 lists under changes: "The collapse of associated loops that are imperfectly nested loops was def= ined for the worksharing-loop (see Section 2.9.2 on page 10), simd (see Section 2.9.3.1 on page 110), taskloop (see Section 2.10.2 on page 140) and distrib= ute (see Section 2.9.4.2 on page 123) constructs." worksharing: https://www.openmp.org/spec-html/5.0/openmpsu41.html simd: https://www.openmp.org/spec-html/5.0/openmpsu42.html taskloop: https://www.openmp.org/spec-html/5.0/openmpsu47.html distribute: https://www.openmp.org/spec-html/5.0/openmpsu43.html Both C and Fortran example compile with PGI, PGI does set the variable to "x=3D5".=20 The Intel compiler rejects C + Fortran code, Clang rejects the C example. Hence: =E2=80=93 OpenMP 4.5: * gfortran has accept-invalid+diagnostic bug - OpenMP 5: * gfortran needs to diagnose 'order(concurrent)' (once the 'order' clause is implemented) * gcc/g++/gfortran needs to handle intervening code in the other cases. - OpenACC: need to reject the code.=