This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp4] Adjust UNQUE ifn
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Oct 2015 15:36:53 +0100
- Subject: Re: [gomp4] Adjust UNQUE ifn
- Authentication-results: sourceware.org; auth=none
- References: <562CE0D3 dot 7090202 at acm dot org> <874mhe806a dot fsf at kepler dot schwinge dot homeip dot net> <562E382D dot 1010700 at acm dot org>
On Mon, Oct 26, 2015 at 3:26 PM, Nathan Sidwell <nathan@acm.org> wrote:
> On 10/26/15 02:10, Thomas Schwinge wrote:
>>
>> Hi Nathan!
>
> }
>>
>>
>> [...]/source-gcc/gcc/internal-fn.c: In function 'void
>> expand_UNIQUE(gcall*)':
>> [...]/source-gcc/gcc/internal-fn.c:1982:6: error: variable 'target'
>> set but not used [-Werror=unused-but-set-variable]
>> rtx target = const0_rtx;
>> ^
>> [...]/source-gcc/gcc/internal-fn.c:1987:6: error: unused variable
>> 'data_dep' [-Werror=unused-variable]
>> rtx data_dep = expand_normal (gimple_call_arg (stmt, 1));
>> ^
>> [...]/source-gcc/gcc/internal-fn.c:1988:6: error: unused variable
>> 'axis' [-Werror=unused-variable]
>> rtx axis = expand_normal (gimple_call_arg (stmt, 2));
>
>
>
> Fixed thusly.
Looks better now.
+ {
#ifdef HAVE_oacc_fork
(etc.) can you use target-insn.def and targetm.have_oacc_fork () instead?
> nathan