This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4] Adjust UNQUE ifn


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]