public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102448] New: [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2
@ 2021-09-22 12:07 tnfchris at gcc dot gnu.org
  2021-09-22 12:30 ` [Bug tree-optimization/102448] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2021-09-22 12:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102448
           Summary: [12 Regression] wrong codegen in gcc in spec2017 since
                    24f99147b9264f8f7d9cfb2fa6bd431edfa252d2
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tnfchris at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

Since g:24f99147b9264f8f7d9cfb2fa6bd431edfa252d2 we've been getting a segfault
on gcc in spec2017.

It looks like ira_init has been miscompiled and an additional unconditional
store materialized:

Before:

add     x1, x19, #0x4
add     x2, x19, #0x14
ldr     q0, [x0,#4064]
str     q0, [x1],#16


After:

add     x19, x19, #0x4
ldr     q0, [x0,#4000]
str     q0, [x19],#16
str     q0, [x19],#16

so it's pushing 16 bytes more into x19 than it did before.

Trying to see if I can reduce a testcase

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

end of thread, other threads:[~2021-09-23  9:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 12:07 [Bug tree-optimization/102448] New: [12 Regression] wrong codegen in gcc in spec2017 since 24f99147b9264f8f7d9cfb2fa6bd431edfa252d2 tnfchris at gcc dot gnu.org
2021-09-22 12:30 ` [Bug tree-optimization/102448] " rguenth at gcc dot gnu.org
2021-09-22 18:50 ` tnfchris at gcc dot gnu.org
2021-09-23  6:35 ` rguenth at gcc dot gnu.org
2021-09-23  6:54 ` rguenth at gcc dot gnu.org
2021-09-23  8:11 ` rguenth at gcc dot gnu.org
2021-09-23  9:17 ` cvs-commit at gcc dot gnu.org
2021-09-23  9:18 ` rguenth at gcc dot gnu.org
2021-09-23  9:21 ` tnfchris 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).