public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2
@ 2021-02-15 21:56 kurt at intricatesoftware dot com
  2021-02-15 21:57 ` [Bug c++/99115] " kurt at intricatesoftware dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kurt at intricatesoftware dot com @ 2021-02-15 21:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99115
           Summary: ICE in extract_insn, at recog.c:2309 on hppa (error:
                    unrecognizable insn) with -O2
           Product: gcc
           Version: 8.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kurt at intricatesoftware dot com
  Target Milestone: ---

Created attachment 50191
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50191&action=edit
testcase

Noticed while compiling src/deps_log.cc ninja 1.10.2 on hppa. I trimmed down
the file to test.cc.

g++ -O2 -c ./test.cc -o test.o
./test.cc: In member function 'LoadStatus DepsLog::Load(const string&, State*,
std::__cxx11::string*)':
./test.cc:176:1: error: unrecognizable insn:
 }
 ^
(insn 218 217 219 25 (set (reg:DI 217)
        (plus:DI (reg/f:DI 65 virtual-stack-vars)
            (const_int -524292 [0xfffffffffff7fffc]))) "./test.cc":122 -1
     (nil))
during RTL pass: vregs
./test.cc:176:1: internal compiler error: in extract_insn, at recog.c:2309

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

* [Bug c++/99115] ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2
  2021-02-15 21:56 [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2 kurt at intricatesoftware dot com
@ 2021-02-15 21:57 ` kurt at intricatesoftware dot com
  2021-02-15 22:00 ` [Bug c++/99115] ICE in extract_insn, at recog.c:2309 on alpha " kurt at intricatesoftware dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: kurt at intricatesoftware dot com @ 2021-02-15 21:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Kurt Miller <kurt at intricatesoftware dot com> ---
Created attachment 50192
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50192&action=edit
testcase preprocessed

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

* [Bug c++/99115] ICE in extract_insn, at recog.c:2309 on alpha (error: unrecognizable insn) with -O2
  2021-02-15 21:56 [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2 kurt at intricatesoftware dot com
  2021-02-15 21:57 ` [Bug c++/99115] " kurt at intricatesoftware dot com
@ 2021-02-15 22:00 ` kurt at intricatesoftware dot com
  2021-02-16  8:16 ` [Bug target/99115] " ubizjak at gmail dot com
  2021-02-17 10:28 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: kurt at intricatesoftware dot com @ 2021-02-15 22:00 UTC (permalink / raw)
  To: gcc-bugs

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

Kurt Miller <kurt at intricatesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |alpha-unknown-openbsd6.8
                 CC|                            |kurt at intricatesoftware dot com

--- Comment #2 from Kurt Miller <kurt at intricatesoftware dot com> ---
This ICE is on alpha (not hppa).

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

* [Bug target/99115] ICE in extract_insn, at recog.c:2309 on alpha (error: unrecognizable insn) with -O2
  2021-02-15 21:56 [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2 kurt at intricatesoftware dot com
  2021-02-15 21:57 ` [Bug c++/99115] " kurt at intricatesoftware dot com
  2021-02-15 22:00 ` [Bug c++/99115] ICE in extract_insn, at recog.c:2309 on alpha " kurt at intricatesoftware dot com
@ 2021-02-16  8:16 ` ubizjak at gmail dot com
  2021-02-17 10:28 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2021-02-16  8:16 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.0

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Works for me with:

GNU C++17 (GCC) version 11.0.0 20210215 (experimental) [master revision
9966699d7a9:03ff6723d34:c5ae38e8dc3db44a137db30f14f1235160771eb2]
(alpha-unknown-openbsd6.8)

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

* [Bug target/99115] ICE in extract_insn, at recog.c:2309 on alpha (error: unrecognizable insn) with -O2
  2021-02-15 21:56 [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2 kurt at intricatesoftware dot com
                   ` (2 preceding siblings ...)
  2021-02-16  8:16 ` [Bug target/99115] " ubizjak at gmail dot com
@ 2021-02-17 10:28 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2021-02-17 10:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Compiles OK with:

GNU C++14 (GCC) version 8.4.1 20210216 [releases/gcc-8 revision
c6513400d84:39c49bc104d:1f3a07da9b6bcfa4733750826746bd18ac6f20db]
(alpha-unknown-openbsd6.8)

built as a cross from x86_64-linux-gnu, and configured with:

--target=alpha-unknown-openbsd6.8

Please try to trigger the ICE with the x86_64 crosscompiler.

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

end of thread, other threads:[~2021-02-17 10:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 21:56 [Bug c++/99115] New: ICE in extract_insn, at recog.c:2309 on hppa (error: unrecognizable insn) with -O2 kurt at intricatesoftware dot com
2021-02-15 21:57 ` [Bug c++/99115] " kurt at intricatesoftware dot com
2021-02-15 22:00 ` [Bug c++/99115] ICE in extract_insn, at recog.c:2309 on alpha " kurt at intricatesoftware dot com
2021-02-16  8:16 ` [Bug target/99115] " ubizjak at gmail dot com
2021-02-17 10:28 ` ubizjak at gmail dot com

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