public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/100554] New: [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
@ 2021-05-12  3:14 asolokha at gmx dot com
  2021-05-12  7:22 ` [Bug rtl-optimization/100554] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: asolokha at gmx dot com @ 2021-05-12  3:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100554
           Summary: [9/10/11/12 Regression] -fcompare-debug failure w/ -Os
                    -fmodulo-sched -fno-tree-loop-optimize
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: aarch64-linux-gnu

gcc-12.0.0-alpha20210509 snapshot (g:5e0236d3b0e0d7ad98bcee36128433fa755b5558),
11.1, 10.3, 9.3 fail -fcompare-debug when compiling the following testcase w/
-Os -fmodulo-sched -fno-tree-loop-optimize:

int __attribute__ ((simd))
foo (int x)
{
  return x;
}

% aarch64-linux-gnu-gcc-12.0.0 -Os -fcompare-debug -fmodulo-sched
-fno-tree-loop-optimize -c cn8zanql.c
aarch64-linux-gnu-gcc-12.0.0: error: cn8zanql.c: '-fcompare-debug' failure

--- cn8zanql.c.gkd      2021-05-12 10:02:59.380096724 +0700
+++ cn8zanql.gk.c.gkd   2021-05-12 10:02:59.414096616 +0700
@@ -669,6 +669,7 @@
      (nil))
 (code_label # 0 0 13 (nil) [1 uses])
 (note # 0 0 [bb 3] NOTE_INSN_BASIC_BLOCK)
+(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 (set (reg:DI 3 x3)
         (zero_extend:DI (mem:SI (plus:DI (reg/f:DI 5 x5 [103])
                     (reg:DI 1 x1 [99])) [ D.xxxx[iter.14_3]+0 S4 A32])))
"cn8zanql.c":4:10# {*zero_extendsidi2_aarch64}
@@ -679,7 +680,6 @@
      (expr_list:REG_DEAD (reg:SI 3 x3 [orig:104 D.xxxx[iter.14_3] ] [104])
         (expr_list:REG_DEAD (reg:DI 1 x1 [99])
             (nil))))
-(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 (set (reg:DI 1 x1 [99])
         (and:DI (ashift:DI (reg:DI 0 x0 [orig:93 D.xxxx ] [93])
                 (const_int 2 [0x2]))

Is it an issue at all? Should I report more issues of this kind in the future?

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

end of thread, other threads:[~2024-03-11  3:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  3:14 [Bug rtl-optimization/100554] New: [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize asolokha at gmx dot com
2021-05-12  7:22 ` [Bug rtl-optimization/100554] " rguenth at gcc dot gnu.org
2021-05-19 10:10 ` zhroma at gcc dot gnu.org
2021-06-01  8:20 ` rguenth at gcc dot gnu.org
2022-01-17 14:49 ` rguenth at gcc dot gnu.org
2022-05-27  9:45 ` [Bug rtl-optimization/100554] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:45 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug rtl-optimization/100554] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-11  3:38 ` law 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).