public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tg at mirbsd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49856] New: ICE when compiling mktime.c (gnulib, embedded in libvirt)
Date: Tue, 26 Jul 2011 19:56:00 -0000	[thread overview]
Message-ID: <bug-49856-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2011-07-26 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 19:56 tg at mirbsd dot org [this message]
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

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=bug-49856-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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: link
Be 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).