public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all
@ 2022-03-07 12:24 xry111 at mengyan1223 dot wang
2022-03-07 12:26 ` [Bug target/104817] " xry111 at mengyan1223 dot wang
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: xry111 at mengyan1223 dot wang @ 2022-03-07 12:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
Bug ID: 104817
Summary: mips: ICE with -fzero-call-used-regs=all
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: xry111 at mengyan1223 dot wang
Target Milestone: ---
$ echo 'int t() {}' | /home/xry111/git-repos/gcc-test-mips/gcc/cc1 -nostdinc
-fzero-call-used-regs=all
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> {heap 1208k} <visibility> {heap 1208k} <build_ssa_passes>
{heap 1208k} <opt_local_passes> {heap 1208k} <remove_symbols> {heap 1208k}
<targetclone> {heap 1208k} <free-fnsummary> {heap 1208k} <emutls> {heap
1208k}Streaming LTO
<whole-program> {heap 1208k} <fnsummary> {heap 1208k} <inline> {heap 1208k}
<modref> {heap 1208k} <free-fnsummary> {heap 1208k} <single-use> {heap
1208k}Assembling functions:
tduring RTL pass: final
<stdin>: In function ‘t’:
<stdin>:1:10: internal compiler error: in mips_output_move, at
config/mips/mips.cc:5323
0x1834ac9 mips_output_move(rtx_def*, rtx_def*)
../../gcc/gcc/config/mips/mips.cc:5323
0x1ead799 output_313
../../gcc/gcc/config/mips/mips.md:4771
0xe21260 get_insn_template(int, rtx_insn*)
../../gcc/gcc/final.cc:2047
0xe234ab final_scan_insn_1
../../gcc/gcc/final.cc:2827
0xe23933 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
../../gcc/gcc/final.cc:2940
0xe21086 final_1
../../gcc/gcc/final.cc:1997
0xe264d5 rest_of_handle_final
../../gcc/gcc/final.cc:4285
0xe26834 execute
../../gcc/gcc/final.cc:4363
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 target/104817] mips: ICE with -fzero-call-used-regs=all
2022-03-07 12:24 [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all xry111 at mengyan1223 dot wang
@ 2022-03-07 12:26 ` xry111 at mengyan1223 dot wang
2022-03-07 12:27 ` xry111 at mengyan1223 dot wang
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: xry111 at mengyan1223 dot wang @ 2022-03-07 12:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
--- Comment #1 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
Not sure if this is an regression: it triggers another ICE with 11.2.0.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104817] mips: ICE with -fzero-call-used-regs=all
2022-03-07 12:24 [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all xry111 at mengyan1223 dot wang
2022-03-07 12:26 ` [Bug target/104817] " xry111 at mengyan1223 dot wang
@ 2022-03-07 12:27 ` xry111 at mengyan1223 dot wang
2024-03-25 22:09 ` [Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 " xry111 at gcc dot gnu.org
2024-03-26 13:46 ` qinzhao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: xry111 at mengyan1223 dot wang @ 2022-03-07 12:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
Xi Ruoyao <xry111 at mengyan1223 dot wang> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |mips64
Known to fail| |12.0
--- Comment #2 from Xi Ruoyao <xry111 at mengyan1223 dot wang> ---
It seems mips_output_move is called to "move" a const zero to the hi (!)
register :(.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 with -fzero-call-used-regs=all
2022-03-07 12:24 [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all xry111 at mengyan1223 dot wang
2022-03-07 12:26 ` [Bug target/104817] " xry111 at mengyan1223 dot wang
2022-03-07 12:27 ` xry111 at mengyan1223 dot wang
@ 2024-03-25 22:09 ` xry111 at gcc dot gnu.org
2024-03-26 13:46 ` qinzhao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: xry111 at gcc dot gnu.org @ 2024-03-25 22:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qing.zhao at oracle dot com
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Hi Qing,
Any progress on the
https://gcc.gnu.org/pipermail/gcc-patches/2022-March/592002.html stuff?
We just got another complain about -fzero-call-used-regs= on mips today...
(PR114466) and let's make another try to solve it (maybe for GCC 15).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 with -fzero-call-used-regs=all
2022-03-07 12:24 [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all xry111 at mengyan1223 dot wang
` (2 preceding siblings ...)
2024-03-25 22:09 ` [Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 " xry111 at gcc dot gnu.org
@ 2024-03-26 13:46 ` qinzhao at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: qinzhao at gcc dot gnu.org @ 2024-03-26 13:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
qinzhao at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qinzhao at gcc dot gnu.org
--- Comment #4 from qinzhao at gcc dot gnu.org ---
(In reply to Xi Ruoyao from comment #3)
> Hi Qing,
>
> Any progress on the
> https://gcc.gnu.org/pipermail/gcc-patches/2022-March/592002.html stuff?
>
> We just got another complain about -fzero-call-used-regs= on mips today...
> (PR114466) and let's make another try to solve it (maybe for GCC 15).
not sure if I have time working on this one right now, but I will put it in my
todo list for GCC15.
At the same time, if you have time, you can fix this yourself, I can help with
reviewing the code.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-03-26 13:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 12:24 [Bug target/104817] New: mips: ICE with -fzero-call-used-regs=all xry111 at mengyan1223 dot wang
2022-03-07 12:26 ` [Bug target/104817] " xry111 at mengyan1223 dot wang
2022-03-07 12:27 ` xry111 at mengyan1223 dot wang
2024-03-25 22:09 ` [Bug target/104817] mips: ICE in mips_output_move, at config/mips/mips.cc:5323 " xry111 at gcc dot gnu.org
2024-03-26 13:46 ` qinzhao 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).