This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65419] incorrect sibcalls to libgomp functions
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 May 2015 09:27:03 +0000
- Subject: [Bug tree-optimization/65419] incorrect sibcalls to libgomp functions
- Auto-submitted: auto-generated
- References: <bug-65419-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419
--- Comment #12 from vries at gcc dot gnu.org ---
Created attachment 35642
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35642&action=edit
Updated tentative patch
(In reply to Jakub Jelinek from comment #11)
> (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.
Updated tentative patch to use internal function.