From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7863A3857C44; Thu, 17 Sep 2020 09:33:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7863A3857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600335228; bh=vLR0bT35qHzU5DEXQBoMMXI3QjZPoRhrt9w4bJa3Wzk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MFIPEtE1on8MaPM+L2gI+fZlKCYz/f8lcrMqez0HOlpiwfjSERbSQjxkxWECbBXka umWZ7mIxHEUs81m9eQINgD2p92oacY4wTEXI+dvEwPAQNkkDJQilZCsBwlqnFVYW70 JNGKkT0cxhMMciog71onYAEAiR/ik4+Ti8rVfB2M= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95654] nvptx offloading: FAIL: libgomp.fortran/pr66199-5.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test Date: Thu, 17 Sep 2020 09:33:48 +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: 11.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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: Thu, 17 Sep 2020 09:33:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95654 --- Comment #10 from Tobias Burnus --- (In reply to Tobias Burnus from comment #9) > See also thread at: > https://gcc.gnu.org/pipermail/gcc-patches/2020-September/thread.html#55= 4054 Regarding the patch there, the proper way is to adapt can_duplicate_block_p, which calls the associated cfg_hooks->can_duplicate_block_p. Currently, there is the stub (in gimple_cfg_hooks) tree-cfg.c: gimple_can_duplicate_bb_p and (for rtl_cfg_hooks and cfg_layout_rtl_cfg_hooks) cfgrtl.c: cfg_layout_can_duplicate_bb_p the latter avoids duplicate tablejumps and calls targetm.cannot_copy_insn_p.=