public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/105415] New: [10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2
@ 2022-04-28  2:43 asolokha at gmx dot com
  2022-04-28  7:08 ` [Bug debug/105415] " rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: asolokha at gmx dot com @ 2022-04-28  2:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105415
           Summary: [10/11/12 Regression] '-fcompare-debug' failure w/ -O2
                    -ftree-parallelize-loops=2
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: compare-debug-failure
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc 12.0.1 20220424 snapshot (g:6b7441a46c771aa6ecdc0c8ed96197417d036b9a) fails
-fcompare-debug check when compiling the following testcase w/ -O2
-ftree-parallelize-loops=2:

int m;
static int n;

void
foo (void)
{
  int s = 0;

  while (m < 1)
    {
      s += n;
      ++m;
    }
}

void
bar (int *arr, int i)
{
  while (i < 1)
    arr[i++] = 1;
}

% aarch64-linux-gnu-gcc-12.0.1 -O2 -fcompare-debug -ftree-parallelize-loops=2
-c plkjnne3.c
aarch64-linux-gnu-gcc-12.0.1: error: plkjnne3.c: '-fcompare-debug' failure

--- plkjnne3.c.gkd      2022-04-28 09:43:03.113041561 +0700
+++ plkjnne3.gk.c.gkd   2022-04-28 09:43:03.148041580 +0700
@@ -388,7 +388,7 @@
 1:   int i;
 2:   signed int D.xxxx;

-;; Function bar._loopfn.0 (bar._loopfn.0, funcdef_no=2, cgraph_uid=3,
symbol_order=4)
+;; Function bar._loopfn.0 (bar._loopfn.0, funcdef_no=2, cgraph_uid=3,
symbol_order=5)

 (note # 0 0 NOTE_INSN_DELETED)
 (note # 0 0 [bb 2] NOTE_INSN_BASIC_BLOCK)

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

end of thread, other threads:[~2023-07-07 10:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28  2:43 [Bug debug/105415] New: [10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 asolokha at gmx dot com
2022-04-28  7:08 ` [Bug debug/105415] " rguenth at gcc dot gnu.org
2022-04-28  7:34 ` marxin at gcc dot gnu.org
2022-04-28  8:24 ` [Bug debug/105415] [9/10/11/12 Regression] '-fcompare-debug' failure w/ -O2 -ftree-parallelize-loops=2 since r7-4900-g59ec925b1199f9 marxin at gcc dot gnu.org
2022-04-28  9:57 ` jakub at gcc dot gnu.org
2022-04-28 10:04 ` jakub at gcc dot gnu.org
2022-04-28 11:51 ` jakub at gcc dot gnu.org
2022-05-02  9:34 ` [Bug debug/105415] [9/10/11/12/13 " cvs-commit at gcc dot gnu.org
2022-05-02  9:36 ` [Bug debug/105415] [9/10/11/12 " jakub at gcc dot gnu.org
2022-05-17 12:08 ` [Bug debug/105415] [9/10/11/12/13 " asolokha at gmx dot com
2022-05-17 12:24 ` jakub at gcc dot gnu.org
2022-06-28 10:49 ` [Bug debug/105415] [10/11/12 " jakub at gcc dot gnu.org
2022-07-26 11:44 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug middle-end/105415] [11/12 " 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).