public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
@ 2021-05-11 16:09 acoplan at gcc dot gnu.org
  2021-05-12  6:44 ` [Bug rtl-optimization/100533] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-05-11 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100533
           Summary: [10/11/12 Regression] aarch64: -fcompare-debug failure
                    with -O -fmodulo-sched
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ cat test.cc
short arr_747[7][15];
void init() {
  for (long i_0 = 0; i_0 < 2; ++i_0)
    for (long i_1 = 0; i_1 < 14; ++i_1)
      arr_747[i_0][i_1] = 1;
}
$ aarch64-linux-gnu-gcc -c test.cc -fcompare-debug -O -fmodulo-sched
aarch64-linux-gnu-gcc: error: test.cc: ‘-fcompare-debug’ failure

Maybe related to PR100523 in that both require -fmodulo-sched (although it's
not clear at this stage).

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

* [Bug rtl-optimization/100533] [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
@ 2021-05-12  6:44 ` rguenth at gcc dot gnu.org
  2021-09-20  7:54 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-12  6:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

* [Bug rtl-optimization/100533] [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
  2021-05-12  6:44 ` [Bug rtl-optimization/100533] " rguenth at gcc dot gnu.org
@ 2021-09-20  7:54 ` pinskia at gcc dot gnu.org
  2021-09-20  8:18 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  7:54 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
   Last reconfirmed|                            |2021-09-20
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

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

* [Bug rtl-optimization/100533] [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
  2021-05-12  6:44 ` [Bug rtl-optimization/100533] " rguenth at gcc dot gnu.org
  2021-09-20  7:54 ` pinskia at gcc dot gnu.org
@ 2021-09-20  8:18 ` pinskia at gcc dot gnu.org
  2022-01-17 14:50 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
 (code_label # 0 0 3 (nil) [1 uses])
 (note # 0 0 [bb 5] NOTE_INSN_BASIC_BLOCK)
+(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 (set (mem:HI (plus:DI (reg/f:DI 2 x2 [102])
                 (const_int 30 [0x1e])) [ MEM[(short int *)&arr_747 + 30B + _13
* 2]+0 S2 A16])
         (reg:HI 4 x4 [104])) "t.c":6:25# {*movhi_aarch64}
      (expr_list:REG_DEAD (reg/f:DI 2 x2 [102])
         (nil)))
-(note # 0 0 NOTE_INSN_DELETED)
 (insn # 0 0 (set (reg/f:DI 2 x2 [102])
         (plus:DI (ashift:DI (reg/v:DI 0 x0 [orig:93 i_1 ] [93])
                 (const_int 1 [0x1]))

sms definitely moved the deleted instruction before the mem.

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

* [Bug rtl-optimization/100533] [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-09-20  8:18 ` pinskia at gcc dot gnu.org
@ 2022-01-17 14:50 ` rguenth at gcc dot gnu.org
  2022-06-28 10:45 ` [Bug rtl-optimization/100533] [10/11/12/13 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-17 14:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

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

* [Bug rtl-optimization/100533] [10/11/12/13 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-01-17 14:50 ` 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/100533] [11/12/13/14 " rguenth at gcc dot gnu.org
  2024-03-11  3:21 ` law at gcc dot gnu.org
  6 siblings, 0 replies; 8+ 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=100533

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

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

--- Comment #3 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] 8+ messages in thread

* [Bug rtl-optimization/100533] [11/12/13/14 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-06-28 10:45 ` [Bug rtl-optimization/100533] [10/11/12/13 " jakub at gcc dot gnu.org
@ 2023-07-07 10:39 ` rguenth at gcc dot gnu.org
  2024-03-11  3:21 ` law at gcc dot gnu.org
  6 siblings, 0 replies; 8+ 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=100533

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

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

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

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

* [Bug rtl-optimization/100533] [11/12/13/14 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched
  2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-07-07 10:39 ` [Bug rtl-optimization/100533] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-03-11  3:21 ` law at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-11  3:21 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 16:09 [Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched acoplan at gcc dot gnu.org
2021-05-12  6:44 ` [Bug rtl-optimization/100533] " rguenth at gcc dot gnu.org
2021-09-20  7:54 ` pinskia at gcc dot gnu.org
2021-09-20  8:18 ` pinskia at gcc dot gnu.org
2022-01-17 14:50 ` rguenth at gcc dot gnu.org
2022-06-28 10:45 ` [Bug rtl-optimization/100533] [10/11/12/13 " jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug rtl-optimization/100533] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-11  3:21 ` 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).