public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/99253] New: tree-vect-loop wrong code
@ 2021-02-24 17:02 stefansf at linux dot ibm.com
  2021-02-25  8:02 ` [Bug tree-optimization/99253] [10/11 Regression] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: stefansf at linux dot ibm.com @ 2021-02-24 17:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99253
           Summary: tree-vect-loop wrong code
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stefansf at linux dot ibm.com
  Target Milestone: ---
            Target: s390x, x86_64-*-*

int a = 0;
static int b = 0;
long c = 0;

int
main() {
  for (int d = 0; d < 8; d++) {
    a ^= c;
    b = a;
    a ^= 1;
  }
  if (b != 1)
    __builtin_abort();
  return 0;
}

Aborts when built with:
gcc -O3 t.c

Bisection stops at commit 04bff1bbfc11a974342c0eb0c0d65d902e36e82e on IBM Z and
at commit b7ff7cef5005721e78d6936bed3ae1c059b4e8d2 on x86 ¯\_(ツ)_/¯

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-16 14:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 17:02 [Bug tree-optimization/99253] New: tree-vect-loop wrong code stefansf at linux dot ibm.com
2021-02-25  8:02 ` [Bug tree-optimization/99253] [10/11 Regression] " rguenth at gcc dot gnu.org
2021-02-25  8:18 ` stefansf at linux dot ibm.com
2021-02-25  9:28 ` cvs-commit at gcc dot gnu.org
2021-02-25  9:30 ` [Bug tree-optimization/99253] [10 " rguenth at gcc dot gnu.org
2021-02-25  9:46 ` stefansf at linux dot ibm.com
2021-02-25  9:47 ` rguenth at gcc dot gnu.org
2021-03-16 14:02 ` cvs-commit at gcc dot gnu.org
2021-03-16 14:02 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).