Richard Guenther wrote:

> 2011-07-11  Richard Guenther  <rguent...@suse.de>
> 
>       * tree-vrp.c (simplify_conversion_using_ranges): Manually
>       translate the source value-range through the conversion chain.

This causes a build failure in cachemgr.c on spu-elf.  A slightly
modified simplified test case also fails on i386-linux:

void *
test (unsigned long long x, unsigned long long y)
{
  return (void *) (unsigned int) (x / y);
}

compiled with -O2 results in:

test.i: In function 'test':
test.i:3:1: error: invalid types in nop conversion
void *
long long unsigned int
D.1962_5 = (void *) D.1963_3;

test.i:3:1: internal compiler error: verify_gimple failed

Any thoughts?

Thanks,
Ulrich

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

Reply via email to