From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96733 invoked by alias); 27 May 2015 22:06:25 -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 96664 invoked by uid 48); 27 May 2015 22:06:21 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65419] incorrect sibcalls to libgomp functions Date: Wed, 27 May 2015 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: openacc X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: vries 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-05/txt/msg02280.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419 --- Comment #11 from Jakub Jelinek --- (In reply to vries from comment #10) > Created attachment 35639 [details] > tentative patch for GOACC_data_end That is a bad idea, as void GOACC_data_end (void) is already exported out of libgomp, so this is an ABI break. If it is meant as a hack around not specifying the functions to aliasing oracle properly, and not really needed after expansion to RTL, you could e.g. use an internal function in GIMPLE and then lower it to normal function call that doesn't take the argument.