public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: hp@axis.com To: gcc-gnats@gcc.gnu.org Cc: hp@gcc.gnu.org Subject: target/7177: cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem Date: Mon, 01 Jul 2002 06:36:00 -0000 [thread overview] Message-ID: <20020701133259.30990.qmail@sources.redhat.com> (raw) >Number: 7177 >Category: target >Synopsis: cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Jul 01 06:36:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hans-Peter Nilsson >Release: gcc-3.1 and main trunk from 0630 >Organization: >Environment: cris-axis-elf (probably cris-*) >Description: ICE at global. A pseudo gets a stack slot which invalidates the insn, and that spill isn't mopped up correctly. >How-To-Repeat: cris-axis-elf, compile with -O2. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-csrc; name="s2.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="s2.c" dHlwZWRlZiBfX1NJWkVfVFlQRV9fIHNpemVfdDsKdm9pZCBmMSAodm9pZCAqKTsKY2hhciAqZjIg KGNvbnN0IGNoYXIgKik7CmludCBhdG9pIChjb25zdCBjaGFyICopOwpjaGFyICpzdHJjaHIgKGNv bnN0IGNoYXIgKiwgaW50KTsKaW50IHN0cmNtcCAoY29uc3QgY2hhciAqLCBjb25zdCBjaGFyICop OwpzaXplX3Qgc3RybGVuIChjb25zdCBjaGFyICopOwp0eXBlZGVmIGVudW0geyBBLCBCLCBDIH0g dDE7CmV4dGVybgljb25zdCBjaGFyCV92W107CgpzdGF0aWMgdDEKZiAoY29uc3QgY2hhciogcDEs IGNvbnN0IGNoYXIqIHAyLCBjaGFyIHAzKQp7CiAgY2hhciAqdjE7CiAgY2hhciAqdjI7CiAgY2hh ciAqYTsKICBjaGFyICp2MzsKICBjaGFyICp2NDsKICBjaGFyICp2NTsKICBjaGFyICplOwogIGNo YXIgKnY2OwogIHQxIHIgPSBDOwoKICB2MSA9IGYyIChwMik7CiAgdjQgPSBmMiAocDEpOwoKICBh ID0gdjIgPSB2MTsKICBlID0gdjUgPSB2NDsKICBtZW1jcHkgKCZlLCAmZSwgc2l6ZW9mIChlKSk7 CgogIHYzID0gc3RyY2hyICh2MiwgJywnKTsKICB2NiA9IHN0cmNociAodjUsICcsJyk7CgogIHdo aWxlICgoX3YgKyAxKVsodW5zaWduZWQpICphXSAmIDQpCiAgICBhKys7CiAgd2hpbGUgKChfdiAr IDEpWyh1bnNpZ25lZCkgKmVdICYgNCkKICAgIGUrKzsKCiAgaWYgKGEgPT0gdjMgJiYgZSA9PSB2 NikKICAgIHsKICAgICAgaWYgKHAzKQoJciA9IGF0b2kgKHY1KSA8IGF0b2kgKHYyKSA/IEIgOiBB OwogICAgICBlbHNlCglyID0gYXRvaSAodjUpID4gYXRvaSAodjIpID8gQiA6IEE7CiAgICAgIHYy ID0gKythOwogICAgICB2NSA9ICsrZTsKICAgICAgdjMgPSBzdHJjaHIgKHYyLCAnLCcpOwogICAg ICB2NiA9IHN0cmNociAodjUsICcsJyk7CgogICAgICB3aGlsZSAoKF92ICsgMSlbKHVuc2lnbmVk KSAqYV0gJiA0KQoJYSsrOwogICAgICB3aGlsZSAoKF92ICsgMSlbKHVuc2lnbmVkKSAqZV0gJiA0 KQoJZSsrOwoKICAgICAgaWYgKGEgPT0gdjMgJiYgZSA9PSB2NikKCXsKCSAgaWYgKHIgPT0gQikK CSAgICByID0gQjsKCSAgZWxzZSBpZiAocDMpCgkgICAgciA9IGF0b2kgKHY1KSA8IGF0b2kgKHYy KSA/IEIgOiBBOwoJICBlbHNlCgkgICAgciA9IGF0b2kgKHY1KSA+IGF0b2kgKHYyKSA/IEIgOiBB OwoJfQogICAgICBlbHNlCglyID0gQzsKICAgIH0KCiAgZjEgKHYxKTsKICBmMSAodjQpOwogIHJl dHVybiByOwp9Cg==
next reply other threads:[~2002-07-01 13:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-07-01 6:36 hp [this message] 2002-07-01 14:46 hp 2002-07-01 16:42 hp 2002-07-02 7:19 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=20020701133259.30990.qmail@sources.redhat.com \ --to=hp@axis.com \ --cc=gcc-gnats@gcc.gnu.org \ --cc=hp@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).