public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
@ 2021-02-08 22:55 ` bergner at gcc dot gnu.org
2021-02-09 18:39 ` bergner at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-02-08 22:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197
Peter Bergner <bergner at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |bergner at gcc dot gnu.org
Last reconfirmed| |2021-02-08
Status|UNCONFIRMED |NEW
--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
Hmmm, I was unaware of this bug, but it's probably mine. Confirmed. I'll have
a look.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
2021-02-08 22:55 ` [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381 bergner at gcc dot gnu.org
@ 2021-02-09 18:39 ` bergner at gcc dot gnu.org
2021-02-09 18:41 ` bergner at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-02-09 18:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197
--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
Actually, this looks like a combine issue. Before combine, we have:
(insn 124 123 125 3 (set (reg:V2DF 198 [ MEM <ax> [(void *)_75] ])
(mem:V2DF (reg:DI 149 [ ivtmp.49 ]) [0 MEM <ax> [(void *)_75]+0 S16
A8])) "bug.ii":22:67 1130 {vsx_movv2df_64bit}
(nil))
(insn 125 124 126 3 (set (reg:DI 199)
(plus:DI (reg:DI 142 [ _63 ])
(reg:DI 149 [ ivtmp.49 ]))) "bug.ii":22:67 66 {*adddi3}
(nil))
(insn 126 125 127 3 (set (reg:V2DF 200 [ MEM <ax> [(void *)_24 + _16 * 1] ])
(mem:V2DF (plus:DI (reg:DI 199)
(reg:DI 197)) [0 MEM <ax> [(void *)_24 + _16 * 1]+0 S16 A8]))
"bug.ii":22:67 1130 {vsx_movv2df_64bit}
(expr_list:REG_DEAD (reg:DI 199)
(nil)))
(insn 127 126 128 3 (set (reg:OO 138 [ _41 ])
(unspec:OO [
(subreg:V16QI (reg:V2DF 198 [ MEM <ax> [(void *)_75] ]) 0)
(subreg:V16QI (reg:V2DF 200 [ MEM <ax> [(void *)_24 + _16 * 1]
]) 0)
] UNSPEC_MMA_ASSEMBLE)) 2074 {*mma_assemble_pair}
(expr_list:REG_DEAD (reg:V2DF 200 [ MEM <ax> [(void *)_24 + _16 * 1] ])
(expr_list:REG_DEAD (reg:V2DF 198 [ MEM <ax> [(void *)_75] ])
(nil))))
After combine, we have:
(note 124 123 125 3 NOTE_INSN_DELETED)
(note 125 124 126 3 NOTE_INSN_DELETED)
(note 126 125 127 3 NOTE_INSN_DELETED)
(insn 127 126 128 3 (set (reg:OO 138 [ _41 ])
(unspec:OO [
(mem:V16QI (reg:DI 149 [ ivtmp.49 ]) [0 MEM <ax> [(void
*)_75]+0 S16 A8])
(mem:V16QI (plus:DI (plus:DI (reg:DI 142 [ _63 ])
(reg:DI 149 [ ivtmp.49 ]))
(reg:DI 197)) [0 MEM <ax> [(void *)_24 + _16 * 1]+0 S16
A8])
] UNSPEC_MMA_ASSEMBLE)) 2074 {*mma_assemble_pair}
(nil))
That bad address on the 2nd mem then makes it all the way to LRA which
eventually dies when it calls decompose_normal_address on it.
Segher, is combine allowed to create invalid addresses like that and LRA is
supposed to fix it up or is this really a combine issue?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
2021-02-08 22:55 ` [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381 bergner at gcc dot gnu.org
2021-02-09 18:39 ` bergner at gcc dot gnu.org
@ 2021-02-09 18:41 ` bergner at gcc dot gnu.org
2022-02-21 6:27 ` asolokha at gmx dot com
2022-02-22 18:19 ` segher at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: bergner at gcc dot gnu.org @ 2021-02-09 18:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197
--- Comment #4 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #3)
> Actually, this looks like a combine issue. Before combine, we have:
Bah, wrong bug. Sorry!
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-02-09 18:41 ` bergner at gcc dot gnu.org
@ 2022-02-21 6:27 ` asolokha at gmx dot com
2022-02-22 18:19 ` segher at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: asolokha at gmx dot com @ 2022-02-21 6:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197
--- Comment #5 from Arseny Solokha <asolokha at gmx dot com> ---
I cannot reproduce it anymore w/ gcc 12.0.1 20220220 snapshot
(g:e49508ac6b36adb8a2056c5a1fb6e0178de2439d).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2022-02-21 6:27 ` asolokha at gmx dot com
@ 2022-02-22 18:19 ` segher at gcc dot gnu.org
4 siblings, 0 replies; 5+ messages in thread
From: segher at gcc dot gnu.org @ 2022-02-22 18:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88197
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Okay, resolving as WORKSFORME then. Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-02-22 18:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-88197-4@http.gcc.gnu.org/bugzilla/>
2021-02-08 22:55 ` [Bug target/88197] ICE in decompose_normal_address, at rtlanal.c:6381 bergner at gcc dot gnu.org
2021-02-09 18:39 ` bergner at gcc dot gnu.org
2021-02-09 18:41 ` bergner at gcc dot gnu.org
2022-02-21 6:27 ` asolokha at gmx dot com
2022-02-22 18:19 ` segher 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).