public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "guojiufu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/105091] RTL dse1 remove stack mem storing incorrectly
Date: Wed, 30 Mar 2022 13:46:02 +0000 [thread overview]
Message-ID: <bug-105091-4-OylY2sDDVB@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105091-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105091
--- Comment #10 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> ---
Created attachment 52718
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52718&action=edit
m.go sub1.go
Based on Ian's code, the below code also reproduce this issue.
package sub1
func TestBits(callback func(interface{})) {
for _, test := range []struct {
x, y, want []int
}{
{[]int{}, nil, nil},
{[]int{0}, nil, nil},
} {
p := test.x
callback(p)
}
}
---
> go1 sub1.go -quiet -O2 -o sub1.s
next prev parent reply other threads:[~2022-03-30 13:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-29 2:27 [Bug rtl-optimization/105091] New: " guojiufu at gcc dot gnu.org
2022-03-29 2:41 ` [Bug rtl-optimization/105091] " guojiufu at gcc dot gnu.org
2022-03-29 2:56 ` guojiufu at gcc dot gnu.org
2022-03-29 7:45 ` rguenth at gcc dot gnu.org
2022-03-29 11:17 ` guojiufu at gcc dot gnu.org
2022-03-29 11:18 ` guojiufu at gcc dot gnu.org
2022-03-29 11:41 ` guojiufu at gcc dot gnu.org
2022-03-29 12:43 ` guojiufu at gcc dot gnu.org
2022-03-30 2:51 ` ian at airs dot com
2022-03-30 8:39 ` guojiufu at gcc dot gnu.org
2022-03-30 13:46 ` guojiufu at gcc dot gnu.org [this message]
2022-03-30 13:55 ` guojiufu at gcc dot gnu.org
2022-03-30 14:14 ` guojiufu at gcc dot gnu.org
2022-03-30 14:16 ` rguenth at gcc dot gnu.org
2022-03-31 6:09 ` guojiufu at gcc dot gnu.org
2022-03-31 7:19 ` cvs-commit at gcc dot gnu.org
2022-03-31 7:26 ` rguenth at gcc dot gnu.org
2022-03-31 19:05 ` ian at airs dot com
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-105091-4-OylY2sDDVB@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).