public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "syq at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/113354] Regression/14: unable to find a register to spill on mips
Date: Fri, 12 Jan 2024 14:02:58 +0000	[thread overview]
Message-ID: <bug-113354-4-e6HxjCUvxu@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113354-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from YunQiang Su <syq at gcc dot gnu.org> ---
In file included from
../../../../../libstdc++-v3/src/c++17/floating_from_chars.cc:86:                
../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h: In function
‘std::from_chars_result {anonymous}::fast_float::from_chars_advanced(const c
har*, const char*, T&, parse_options) [with T = double]’:                       
../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h:3039:1: error:
unable to find a register to spill                                        
 3039 | }                                                                       
      | ^                                                                       
../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h:3039:1: error:
this is the insn:                                                         
(insn 3578 7721 7722 263 (parallel [                                            
            (set (reg:SI 3353)                                                  
                (plus:SI (mult:SI (reg:SI 3185 [orig:2219 _914+4 ] [2219])      
                        (reg:SI 2175 [ _280+4 ]))                               
                    (reg:SI 3354)))                                            
                                                                               
   (clobber (reg:SI 3186 [3073]))                                              
                                                                         
(clobber (reg:SI 3074))                                                        
                                                                   ])
"../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h":248:26 42
{*mul_acc_si}                                                         
(expr_list:REG_UNUSED (reg:SI 3074)                                            
                                                                         
(expr_list:REG_UNUSED (reg:SI 3186 [3073])                                     
                                                                          
(expr_list:REG_DEAD (reg:SI 3354)                                              
                                                                          
(expr_list:REG_DEAD (reg:SI 3185 [orig:2219 _914+4 ] [2219])                   
                                                                          
(nil))))))                                                                     
                                                   during RTL pass: reload     
                                                                               
                                         
../../../../../libstdc++-v3/src/c++17/fast_float/fast_float.h:3039:1: internal
compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1862      
0x7cf140 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)                                                                        
      ../../gcc/rtl-error.cc:108                                               
                                                                     0x10184c5
lra_split_hard_reg_for()                                                       
                                                                    
../../gcc/lra-assigns.cc:1862                                                  
                                                               0x1012405
lra(_IO_FILE*, int)                                                             
        ../../gcc/lra.cc:2518                                              
0xfc76df do_reload                                                              
        ../../gcc/ira.cc:5973                                              
0xfc76df execute                                                           
        ../../gcc/ira.cc:6161

  reply	other threads:[~2024-01-12 14:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 12:28 [Bug middle-end/113354] New: " syq at gcc dot gnu.org
2024-01-12 14:02 ` syq at gcc dot gnu.org [this message]
2024-01-12 18:34 ` [Bug middle-end/113354] " vmakarov at gcc dot gnu.org
2024-01-13  0:46 ` [Bug middle-end/113354] [14 Regression] : " pinskia at gcc dot gnu.org
2024-01-15 15:26 ` cvs-commit at gcc dot gnu.org
2024-01-17  9:44 ` syq at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113354-4-e6HxjCUvxu@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).