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

* [Bug target/25043] [m68k] ICE in instantiate_virtual_regs_lossage
  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 ` schwab at suse dot de
  2005-11-26 16:47 ` [Bug target/25043] [4.0 Regression] " schwab at suse dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab at suse dot de @ 2005-11-26 15:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from schwab at suse dot de  2005-11-26 15:53 -------
Confirmed.  Works with gcc 4.1/trunk.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.0.3
      Known to work|                            |4.1.0 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-26 15:53:55
               date|                            |


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


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

* [Bug target/25043] [4.0 Regression] [m68k] ICE in instantiate_virtual_regs_lossage
  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 ` schwab at suse dot de
  2006-01-15 22:47 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab at suse dot de @ 2005-11-26 16:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.3


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


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

* [Bug target/25043] [4.0 Regression] [m68k] ICE in instantiate_virtual_regs_lossage
  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
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-01-15 22:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2006-01-15 22:47 -------
68k is not a primary platform; P5.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/25043] [4.0 Regression] [m68k] ICE in instantiate_virtual_regs_lossage
  2005-11-26  3:24 [Bug c/25043] New: [m68k] ICE in instantiate_virtual_regs_lossage stephen at marenka dot net
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


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

* [Bug target/25043] [4.0 Regression] [m68k] ICE in instantiate_virtual_regs_lossage
  2005-11-26  3:24 [Bug c/25043] New: [m68k] ICE in instantiate_virtual_regs_lossage stephen at marenka dot net
                   ` (3 preceding siblings ...)
  2006-03-11  3:22 ` mmitchel at gcc dot gnu dot org
@ 2007-02-03 16:04 ` gdr at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gdr at gcc dot gnu dot org  2007-02-03 16:04 -------
Fixed in GCC-4.1.0


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.0


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).