From: "Hsin-Hsien Wu" <sinsen.wu@msa.hinet.net>
To: <gcc@gcc.gnu.org>
Subject: GCC pending_chain contains only (nil)
Date: Sun, 05 Sep 2004 09:30:00 -0000 [thread overview]
Message-ID: <008c01c4932a$fde99630$0f00a8c0@ccu1ezwhixayf2> (raw)
Hello,
I am currently porting gcc to a new target. After I write my own
machine description,
I got a ICE (segmentation fault) . So, I use GDB to debug, and what I got is
shown bellow,
(gdb) l emit_queue
502
503 /* Perform all the pending incrementations. */
504
505 void
506 emit_queue ()
507 {
508 rtx p;
509 while ((p = pending_chain))
510 {
511 rtx body = QUEUED_BODY (p);
(gdb) l
512
513 switch (GET_CODE (body)) <------
*SEGEMENTATION FLAULT
514 {
515 case INSN:
516 case JUMP_INSN:
517 case CALL_INSN:
518 case CODE_LABEL:
519 case BARRIER:
520 case NOTE:
521 QUEUED_INSN (p) = body;
(gdb) call debug_rtx(p)
(queued:SI (mem/s:SI (reg:SI 53) [20 <variable>.count+0 S4 A32])
(nil)
(nil)
(nil)
(nil))
(gdb)
The pending_chain contains only (nil).
What would cause the pending_chain containg only (nil) ?
Thanks
Mike Wu
next reply other threads:[~2004-09-05 9:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 9:30 Hsin-Hsien Wu [this message]
2004-09-06 21:38 ` James E Wilson
2004-09-07 8:17 ` Paolo Bonzini
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='008c01c4932a$fde99630$0f00a8c0@ccu1ezwhixayf2' \
--to=sinsen.wu@msa.hinet.net \
--cc=gcc@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).