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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Has the code

/* Left and right shift C routines, to compare to Fortran results.  */
int c_lshift_ (int *x, int *y) { return (*x) << (*y); }
int c_rshift_ (int *x, int *y) { return (*x) >> (*y); }

a defined behavior for y<0?

The test succeeds if I use

    do j = 0, 30

Reply via email to