https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86506

--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
$ ~/gcc/results.262549.ubsan/bin/gcc -c -O3 bug450.c
bug450.c: In function ‘b’:
bug450.c:5:21: warning: assignment to ‘int’ from ‘void (*)()’ makes integer
from pointer without a cast [-Wint-conversion]
     a[c] = a[c + 1] = b;
                     ^
../../trunk/gcc/tree-vect-patterns.c:225:17: runtime error: shift exponent 64
is too large for 32-bit type 'int'
$ cat bug450.c
int *a;
void b() {
  int c;
  for (; c; c += 2)
    a[c] = a[c + 1] = b;
}

Reply via email to