public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25043]  New: [m68k] ICE in instantiate_virtual_regs_lossage
@ 2005-11-26  3:24 stephen at marenka dot net
  2005-11-26 15:53 ` [Bug target/25043] " schwab at suse dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: stephen at marenka dot net @ 2005-11-26  3:24 UTC (permalink / raw)
  To: gcc-bugs

I found an ICE in debian gcc-4.0_4.0.2-4 when building rsplib and about five
other packages. I've reduced it to a short file which follows. It fails with no
special options.

| buildd@amiga1200:/build/buildd/wkg$ gcc buggy.c
| buggy.c: In function 'buggy':
| buggy.c:17: internal compiler error: in
| instantiate_virtual_regs_lossage, at function.c:1442
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| For Debian GNU/Linux specific bug reporting instructions,
| see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.

static unsigned int buggy(const unsigned int v1,
        const unsigned int v2, const unsigned int v3)
{
        const long long v1_64 = (long long)v1;
        const long long v2_64 = (long long)v2;
        const long long v3_64 = (long long)v3;
        long long v = v1_64 + v2_64 + v3_64;
        if(v < 0)
        {
                v = 0;
        }
        else if(v > (long long)0xffffffff)
        {
                v = (long long)0xffffffff;
        }
        return((unsigned int)v);
}


-- 
           Summary: [m68k] ICE in instantiate_virtual_regs_lossage
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stephen at marenka dot net
 GCC build triplet: m68k-linux-gnu
  GCC host triplet: m68k-linux-gnu
GCC target triplet: m68k-linux-gnu


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


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

end of thread, other threads:[~2007-02-03 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-26  3:24 [Bug c/25043] New: [m68k] ICE in instantiate_virtual_regs_lossage stephen at marenka dot net
2005-11-26 15:53 ` [Bug target/25043] " schwab at suse dot de
2005-11-26 16:47 ` [Bug target/25043] [4.0 Regression] " schwab at suse dot de
2006-01-15 22:47 ` mmitchel at gcc dot gnu dot org
2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:04 ` gdr 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).