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

--- Comment #8 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Created attachment 37790
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37790&action=edit
Test case

The option -fpeel-loops triggers the bug.  The attached program has a different
result with -fpeel-loops than without it.

 $ gcc -O2 -march=z10 -fpeel-loops pr69709.c && ./a.out
 1 bits set in result
 $ gcc -O2 -march=z10 pr69709.c && ./a.out
 2 bits set in result

(2 is the correct result).

Reply via email to