public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS
@ 2022-06-06 20:13 jsm28 at gcc dot gnu.org
  2022-06-06 20:13 ` [Bug middle-end/105866] " jsm28 at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2022-06-06 20:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105866
           Summary: [13 Regression] ICE in emit_move_insn building glibc
                    for MIPS
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
                CC: roger at nextmovesoftware dot com
  Target Milestone: ---
            Target: mips*-*-*

Created attachment 53093
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53093&action=edit
preprocessed source

Commit ed6fd2aed58f2cca99f15331bf68999c0e6df370, "PR middle-end/95126: Expand
small const structs as immediate constants.", introduces an ICE for the
attached test case (from glibc) on mips64-linux-gnu. Compile with: -mabi=n32
-O2

during RTL pass: expand
key_call.c: In function 'key_gendes':
key_call.c:224:12: internal compiler error: in emit_move_insn, at expr.cc:4012
0x95754f emit_move_insn(rtx_def*, rtx_def*)
        /scratch/jmyers/glibc/many13/src/gcc/gcc/expr.cc:4011
0x7eb57e load_register_parameters
        /scratch/jmyers/glibc/many13/src/gcc/gcc/calls.cc:2192
0x7f31ad expand_call(tree_node*, rtx_def*, int)
        /scratch/jmyers/glibc/many13/src/gcc/gcc/calls.cc:3594
0x951d45 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /scratch/jmyers/glibc/many13/src/gcc/gcc/expr.cc:11621
0x95ee95 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /scratch/jmyers/glibc/many13/src/gcc/gcc/expr.cc:6106
0x960a47 expand_assignment(tree_node*, tree_node*, bool)
        /scratch/jmyers/glibc/many13/src/gcc/gcc/expr.cc:5835
0x80e7ae expand_call_stmt
        /scratch/jmyers/glibc/many13/src/gcc/gcc/cfgexpand.cc:2829
0x80e7ae expand_gimple_stmt_1
        /scratch/jmyers/glibc/many13/src/gcc/gcc/cfgexpand.cc:3869
0x80e7ae expand_gimple_stmt
        /scratch/jmyers/glibc/many13/src/gcc/gcc/cfgexpand.cc:4033
0x815a22 expand_gimple_basic_block
        /scratch/jmyers/glibc/many13/src/gcc/gcc/cfgexpand.cc:6085
0x8180d2 execute
        /scratch/jmyers/glibc/many13/src/gcc/gcc/cfgexpand.cc:6811
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

* [Bug middle-end/105866] [13 Regression] ICE in emit_move_insn building glibc for MIPS
  2022-06-06 20:13 [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS jsm28 at gcc dot gnu.org
@ 2022-06-06 20:13 ` jsm28 at gcc dot gnu.org
  2022-06-06 21:12 ` roger at nextmovesoftware dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2022-06-06 20:13 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|12.0                        |13.0
   Target Milestone|---                         |13.0

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

* [Bug middle-end/105866] [13 Regression] ICE in emit_move_insn building glibc for MIPS
  2022-06-06 20:13 [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS jsm28 at gcc dot gnu.org
  2022-06-06 20:13 ` [Bug middle-end/105866] " jsm28 at gcc dot gnu.org
@ 2022-06-06 21:12 ` roger at nextmovesoftware dot com
  2022-06-09 11:09 ` roger at nextmovesoftware dot com
  2022-06-09 16:09 ` jsm28 at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: roger at nextmovesoftware dot com @ 2022-06-06 21:12 UTC (permalink / raw)
  To: gcc-bugs

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

Roger Sayle <roger at nextmovesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-06-06
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |roger at nextmovesoftware dot com

--- Comment #1 from Roger Sayle <roger at nextmovesoftware dot com> ---
I believe this is resolved by the patch proposed here:
https://gcc.gnu.org/pipermail/gcc-patches/2022-June/596242.html
Sorry for the breakage/inconvenience.

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

* [Bug middle-end/105866] [13 Regression] ICE in emit_move_insn building glibc for MIPS
  2022-06-06 20:13 [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS jsm28 at gcc dot gnu.org
  2022-06-06 20:13 ` [Bug middle-end/105866] " jsm28 at gcc dot gnu.org
  2022-06-06 21:12 ` roger at nextmovesoftware dot com
@ 2022-06-09 11:09 ` roger at nextmovesoftware dot com
  2022-06-09 16:09 ` jsm28 at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: roger at nextmovesoftware dot com @ 2022-06-09 11:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Roger Sayle <roger at nextmovesoftware dot com> ---
Hi Joseph. Sorry again for the breakage. Hopefully, the
load_register_parameters ICE is now resolved.  Can you confirm that glibc now
builds without problems on MIPS?

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

* [Bug middle-end/105866] [13 Regression] ICE in emit_move_insn building glibc for MIPS
  2022-06-06 20:13 [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS jsm28 at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-06-09 11:09 ` roger at nextmovesoftware dot com
@ 2022-06-09 16:09 ` jsm28 at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2022-06-09 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
Yes, it's now working again.

https://sourceware.org/pipermail/libc-testresults/2022q2/009793.html

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

end of thread, other threads:[~2022-06-09 16:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 20:13 [Bug middle-end/105866] New: [13 Regression] ICE in emit_move_insn building glibc for MIPS jsm28 at gcc dot gnu.org
2022-06-06 20:13 ` [Bug middle-end/105866] " jsm28 at gcc dot gnu.org
2022-06-06 21:12 ` roger at nextmovesoftware dot com
2022-06-09 11:09 ` roger at nextmovesoftware dot com
2022-06-09 16:09 ` jsm28 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).