public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49856] New: ICE when compiling mktime.c (gnulib, embedded in libvirt)
@ 2011-07-26 19:56 tg at mirbsd dot org
  2011-07-26 20:05 ` [Bug target/49856] " tg at mirbsd dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tg at mirbsd dot org @ 2011-07-26 19:56 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE when compiling mktime.c (gnulib, embedded in
                    libvirt)
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tg@mirbsd.org


Created attachment 24836
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24836
preprocessed source exhibiting the problem

tg@zigo:~ $ m68k-linux-gnu-gcc -O2 -c y.i                                       
y.i: In function ‘ranged_convert’:
y.i:632: internal compiler error: in m68k_sched_issue_rate, at
config/m68k/m68k.c:5877
Please submit a full bug report,
with preprocessed source if appropriate.

tg@zigo:~ $ gdb --args /home/tg/Xg/gcc-4.4-4.4.6/build/gcc/cc1 -fpreprocessed
y.i -m68020 -O2 -o y.s          

(gdb) b fancy_abort 
Breakpoint 1 at 0x4c1850: file ../../src/gcc/diagnostic.c, line 711.

(gdb) frame 1
#1  0x0000000000754f2d in m68k_sched_issue_rate () at
../../src/gcc/config/m68k/m68k.c:5877
5877          gcc_unreachable ();
(gdb) list m68k_sched_issue_rate
5860    }
5861
5862    /* Return maximal number of insns that can be scheduled on a single
cycle.  */
5863    static int
5864    m68k_sched_issue_rate (void)
5865    {
5866      switch (m68k_sched_cpu)
5867        {
5868        case CPU_CFV1:
5869        case CPU_CFV2:
(gdb) 
5870        case CPU_CFV3:
5871          return 1;
5872
5873        case CPU_CFV4:
5874          return 2;
5875
5876        default:
5877          gcc_unreachable ();
5878          return 0;
5879        }
(gdb) print m68k_sched_cpu
$1 = CPU_UNKNOWN


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

end of thread, other threads:[~2011-07-26 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 19:56 [Bug target/49856] New: ICE when compiling mktime.c (gnulib, embedded in libvirt) tg at mirbsd dot org
2011-07-26 20:05 ` [Bug target/49856] " tg at mirbsd dot org
2011-07-26 20:25 ` mikpe at it dot uu.se
2011-07-26 20:58 ` schwab@linux-m68k.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).