This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/69709] [6 Regression] profiled bootstrap error on s390x-linux-gnu with r233194
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Feb 2016 11:46:51 +0000
- Subject: [Bug bootstrap/69709] [6 Regression] profiled bootstrap error on s390x-linux-gnu with r233194
- Auto-submitted: auto-generated
- References: <bug-69709-4 at http dot gcc dot gnu dot org/bugzilla/>
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).