This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/69709] [6 Regression] profiled bootstrap error on s390x-linux-gnu with r233194


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]