[gomp4] Adjust UNQUE ifn

Nathan Sidwell nathan@acm.org
Mon Oct 26 14:34:00 GMT 2015


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.

nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gomp4-unique-4.patch
Type: text/x-patch
Size: 1133 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151026/b1e84475/attachment.bin>


More information about the Gcc-patches mailing list