public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183
@ 2021-11-12 10:05 marxin at gcc dot gnu.org
  2021-11-12 10:06 ` [Bug target/103206] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-11-12 10:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103206
           Summary: ICE in insn_default_length, at
                    config/aarch64/aarch64.md:1183
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: qing.zhao at oracle dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: aarch64-linux-gnu

The following fails:

$ aarch64-linux-gnu-gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/aarch64/sve/pr102587-1.c
-ftrivial-auto-var-init=zero
...
0xdeadbeef _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:108
0xdeadbeef _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:116
0xdeadbeef insn_default_length(rtx_insn*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/config/aarch64/aarch64.md:1183
0xdeadbeef shorten_branches(rtx_insn*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/final.c:1105
0xdeadbeef rest_of_handle_shorten_branches
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/final.c:4380
0xdeadbeef execute
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/final.c:4409

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

* [Bug target/103206] ICE in insn_default_length, at config/aarch64/aarch64.md:1183
  2021-11-12 10:05 [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183 marxin at gcc dot gnu.org
@ 2021-11-12 10:06 ` marxin at gcc dot gnu.org
  2021-11-12 10:23 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-11-12 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-12

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

* [Bug target/103206] ICE in insn_default_length, at config/aarch64/aarch64.md:1183
  2021-11-12 10:05 [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183 marxin at gcc dot gnu.org
  2021-11-12 10:06 ` [Bug target/103206] " marxin at gcc dot gnu.org
@ 2021-11-12 10:23 ` rguenth at gcc dot gnu.org
  2021-11-12 14:23 ` qinzhao at gcc dot gnu.org
  2021-11-12 15:39 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-11-12 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think we have a duplicate of this - the testcase is invalid unless you enable
SVE.

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

* [Bug target/103206] ICE in insn_default_length, at config/aarch64/aarch64.md:1183
  2021-11-12 10:05 [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183 marxin at gcc dot gnu.org
  2021-11-12 10:06 ` [Bug target/103206] " marxin at gcc dot gnu.org
  2021-11-12 10:23 ` rguenth at gcc dot gnu.org
@ 2021-11-12 14:23 ` qinzhao at gcc dot gnu.org
  2021-11-12 15:39 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2021-11-12 14:23 UTC (permalink / raw)
  To: gcc-bugs

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

qinzhao at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qinzhao at gcc dot gnu.org

--- Comment #2 from qinzhao at gcc dot gnu.org ---
(In reply to Richard Biener from comment #1)
> I think we have a duplicate of this - the testcase is invalid unless you
> enable SVE.

Yes, the original bug is for PR102587.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102587
require -march=armv8.3-a+sve.

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

* [Bug target/103206] ICE in insn_default_length, at config/aarch64/aarch64.md:1183
  2021-11-12 10:05 [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-11-12 14:23 ` qinzhao at gcc dot gnu.org
@ 2021-11-12 15:39 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-12 15:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> I think we have a duplicate of this - the testcase is invalid unless you
> enable SVE.

Yes PR 99657.  My patch which I submitted already fixes this ICE.

*** This bug has been marked as a duplicate of bug 99657 ***

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

end of thread, other threads:[~2021-11-12 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12 10:05 [Bug target/103206] New: ICE in insn_default_length, at config/aarch64/aarch64.md:1183 marxin at gcc dot gnu.org
2021-11-12 10:06 ` [Bug target/103206] " marxin at gcc dot gnu.org
2021-11-12 10:23 ` rguenth at gcc dot gnu.org
2021-11-12 14:23 ` qinzhao at gcc dot gnu.org
2021-11-12 15:39 ` pinskia 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).