public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: maltieri@nergal.it To: gcc-gnats@gcc.gnu.org Cc: lonardo@nergal.it Subject: middle-end/5100: Wrong register class selected by find_valid_class Date: Thu, 13 Dec 2001 02:36:00 -0000 [thread overview] Message-ID: <20011213102937.31002.qmail@sources.redhat.com> (raw) >Number: 5100 >Category: middle-end >Synopsis: Wrong register class selected by find_valid_class >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Dec 13 02:36:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Marco Altieri >Release: 3.0 >Organization: >Environment: Linux 7.0. >Description: We are devoloping a porting of gcc to a new DSP architecture that has pointers whith a size of 2 registers. A pointer must always be allocated on a even/odd pair of registers. HARD_REGNO_MODE_OK macro returns 0 for all the odd registers when the mode is Pmode. There are classes for even registers (EVEN_REGS), odd registers (ODD_REGS) and all the general registers (GENERAL_REGS). The algorithm used by find_valid_class rejects GENERAL_REGS class for a Pmode subreg and returns EVEN_REGS. This is incorrect because a double-sized mode can not be allocated in EVEN_REGS class. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-12-13 10:36 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-12-13 2:36 maltieri [this message] 2002-04-04 4:27 rth 2002-04-15 6:36 Marco Altieri 2002-04-15 10:06 Richard Henderson 2003-01-14 23:12 bangerth
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=20011213102937.31002.qmail@sources.redhat.com \ --to=maltieri@nergal.it \ --cc=gcc-gnats@gcc.gnu.org \ --cc=lonardo@nergal.it \ /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).