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

* [Bug rtl-optimization/100554] [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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 ` rguenth at gcc dot gnu.org
  2021-05-19 10:10 ` zhroma at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-12  7:22 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.4

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

* [Bug rtl-optimization/100554] [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: zhroma at gcc dot gnu.org @ 2021-05-19 10:10 UTC (permalink / raw)
  To: gcc-bugs

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

Roman Zhuykov <zhroma at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=100533,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=100523
                 CC|                            |abel at ispras dot ru,
                   |                            |jakub at redhat dot com,
                   |                            |zhroma at gcc dot gnu.org

--- Comment #1 from Roman Zhuykov <zhroma at gcc dot gnu.org> ---
> Is it an issue at all?
> Should I report more issues of this kind in the future?
I think the answer is "yes" for both questions, thanks for your reports!

A year ago when I bothered about regtesting with -fcompare-debug I've created a
few issues unrelated to modulo scheduler and Jakub fixed most of them. Short
summary is available at
https://gcc.gnu.org/pipermail/gcc-patches/2020-March/542389.html, there I've
also investigated everything on modulo sched side, but small patch2.txt was
never committed.

Given now we are in stage1 and have three PRs (I'll check PR100533 and
PR100523, they should be same), now it's time to push that.

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

* [Bug rtl-optimization/100554] [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:20 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |9.5

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

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

* [Bug rtl-optimization/100554] [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (2 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-17 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Priority|P3                          |P2
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-17

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on trunk.

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

* [Bug rtl-optimization/100554] [10/11/12/13 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (3 preceding siblings ...)
  2022-01-17 14:49 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:45 ` rguenth at gcc dot gnu.org
  2022-06-28 10:45 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug rtl-optimization/100554] [10/11/12/13 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:45 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug rtl-optimization/100554] [11/12/13/14 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (5 preceding siblings ...)
  2022-06-28 10:45 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:39 ` rguenth at gcc dot gnu.org
  2024-03-11  3:38 ` law at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

* [Bug rtl-optimization/100554] [11/12/13/14 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize
  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
                   ` (6 preceding siblings ...)
  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
  7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-11  3:38 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at gcc dot gnu.org
           Priority|P2                          |P4

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