Ian Lance Taylor wrote:

> It looks like you checked in a version of this patch to gcc-4_7-branch.
> However, the version you committed used "false" where it should have
> used "NULL", causing a bootstrap failure in stage 2 when not using building
> in release mode:
> 
> ../../gccgo-gcc/gcc/tree-vect-patterns.c: In function
> 'gimple_statement_d* vect_single_imm_use(gimple)':
> ../../gccgo-gcc/gcc/tree-vect-patterns.c:104:12: error: converting
> 'false' to pointer type 'gimple' [-Werror=conversion-null]
> ../../gccgo-gcc/gcc/tree-vect-patterns.c:107:12: error: converting
> 'false' to pointer type 'gimple' [-Werror=conversion-null]
> 
> I committed the appended patch to fix this problem.  Please double-check
> the code to make sure it is correct.  Thanks.

Oops, sorry for the breakage.  Yes, that was clearly a merge error
when adapting the patch to 4.7 (in 4.7, tree-vect-patterns.c does not
yet support SLP, which means some of the tests needed to be modified).

You fix looks correct to me; thanks for looking into this!

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  ulrich.weig...@de.ibm.com

Reply via email to