public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: hp@axis.com To: gcc-gnats@gcc.gnu.org Subject: target/6997: CRIS: compare result incorrect -- sleu pattern in cris.md at fault Date: Tue, 11 Jun 2002 11:46:00 -0000 [thread overview] Message-ID: <20020611183807.15799.qmail@sources.redhat.com> (raw) >Number: 6997 >Category: target >Synopsis: CRIS: compare result incorrect -- sleu pattern in cris.md at fault >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Tue Jun 11 11:46:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Internal report at Axis >Release: gcc-3.1, supposedly also repeatable on the main trunk >Organization: >Environment: cris-axis-elf (actually any CRIS target). >Description: Incorrect insn used; beq should be bls after first sls insn since sls does not set condition codes. >How-To-Repeat: Compile at -O3. >Fix: Add (set_attr "cc" "none") to sleu pattern as with the other sCC patterns. Patch forthcoming. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="20020611-1.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="20020611-1.c" LyogUFIgdGFyZ2V0L05OLiAgTWlzc2luZyAoc2V0X2F0dHIgImNjIiAibm9uZSIpIGluIHNsZXUg cGF0dGVybiBpbgogICBjcmlzLm1kLiAgVGVzdGNhc2UgZnJvbSBocEBheGlzLmNvbS4gICovCgpp bnQgcDsKaW50IGs7CnVuc2lnbmVkIGludCBuOwoKdm9pZCB4ICgpCnsKICB1bnNpZ25lZCBpbnQg aDsKCiAgaCA9IG4gPD0gMzA7CiAgaWYgKGgpCiAgICBwID0gMTsKICBlbHNlCiAgICBwID0gMDsK CiAgaWYgKGgpCiAgICBrID0gMTsKICBlbHNlCiAgICBrID0gMDsKfQoKdW5zaWduZWQgaW50IG4g PSAzMDsKCm1haW4gKCkKewogIHggKCk7CiAgaWYgKHAgIT0gMSB8fCBrICE9IDEpCiAgICBhYm9y dCAoKTsKICBleGl0ICgwKTsKfQo=
next reply other threads:[~2002-06-11 18:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-06-11 11:46 hp [this message] 2002-06-11 19:00 hp 2002-06-12 16:01 hp
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=20020611183807.15799.qmail@sources.redhat.com \ --to=hp@axis.com \ --cc=gcc-gnats@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: linkBe 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).