public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18641] New: Another ICE caused by reload of a psuedo reg into f0 for a DImode expr
@ 2004-11-24  1:16 fjahanian at apple dot com
  2004-11-24  1:28 ` [Bug middle-end/18641] " pinskia at gcc dot gnu dot org
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: fjahanian at apple dot com @ 2004-11-24  1:16 UTC (permalink / raw)
  To: gcc-bugs

This is similar to PR/152866. In the following test case compiled with -O0
gcc-4.0 produces following patter in reload phase:

(insn 68 47 67 7 (set (reg:DI 32 f0)
        (const_int 4294967295 [0xffffffff])) 354 {*movdi_internal32} (nil)
    (nil))

This pattern cause ICE in gen_reg_rtx.

This is the usual problem. Reload decides to use a float register for a 'long long' expression, a
constant in this case because this is legit. for powerpc. But ppc patterns cannot handle it.

/* Test case */
void crc()
{
    int  toread;
    long long nleft;
    unsigned char buf[(128 * 1024)];

    nleft = 0;
    while (toread = (nleft < (2147483647 * 2U + 1U)) ? nleft: (2147483647 * 2U + 1U) )
        ;
}

-- 
           Summary: Another ICE caused by reload of a psuedo reg into f0 for
                    a DImode expr
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: uweigand at de dot ibm dot com
        ReportedBy: fjahanian at apple dot com
                CC: dje at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot
                    org
 GCC build triplet: powerpc-apple-darwin7.0.0
  GCC host triplet: powerpc-apple-darwin7.0.0
GCC target triplet: powerpc-apple-darwin7.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18641


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2004-12-11 17:55 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-24  1:16 [Bug target/18641] New: Another ICE caused by reload of a psuedo reg into f0 for a DImode expr fjahanian at apple dot com
2004-11-24  1:28 ` [Bug middle-end/18641] " pinskia at gcc dot gnu dot org
2004-11-24  1:53 ` pinskia at gcc dot gnu dot org
2004-11-24  1:55 ` [Bug middle-end/18641] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-24  2:00 ` pinskia at gcc dot gnu dot org
2004-11-24  2:04 ` pinskia at gcc dot gnu dot org
2004-11-24  5:07 ` pinskia at gcc dot gnu dot org
2004-11-24  5:56 ` pinskia at gcc dot gnu dot org
2004-11-24  6:01 ` pinskia at gcc dot gnu dot org
2004-11-24  6:05 ` pinskia at gcc dot gnu dot org
2004-11-24  6:08 ` pinskia at gcc dot gnu dot org
2004-11-24 14:50 ` uweigand at gcc dot gnu dot org
2004-11-24 18:19 ` dje at gcc dot gnu dot org
2004-11-25 20:32 ` rth at gcc dot gnu dot org
2004-11-25 21:53 ` uweigand at gcc dot gnu dot org
2004-11-25 21:57 ` uweigand at gcc dot gnu dot org
2004-11-25 22:44 ` rth at gcc dot gnu dot org
2004-11-28 18:12 ` laurent at guerby dot net
2004-12-01 22:08 ` fjahanian at apple dot com
2004-12-02 16:15 ` uweigand at gcc dot gnu dot org
2004-12-05  6:09 ` dje at gcc dot gnu dot org
2004-12-05 15:45 ` uweigand at gcc dot gnu dot org
2004-12-06 17:16 ` dje at watson dot ibm dot com
2004-12-06 17:29 ` pinskia at gcc dot gnu dot org
2004-12-06 17:56 ` fjahanian at apple dot com
2004-12-06 23:32 ` fjahanian at apple dot com
2004-12-07  3:10 ` dje at watson dot ibm dot com
2004-12-07 15:11 ` pinskia at gcc dot gnu dot org
2004-12-07 23:26 ` amodra at bigpond dot net dot au
2004-12-11 17:37 ` cvs-commit at gcc dot gnu dot org
2004-12-11 17:55 ` dje at gcc dot gnu dot 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).