public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/19750] [3.4] failure in gcc.dg/titype-1.c
Date: Sat, 31 Dec 2005 14:44:00 -0000	[thread overview]
Message-ID: <20051231144436.24388.qmail@sourceware.org> (raw)
In-Reply-To: <bug-19750-578@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from ghazi at gcc dot gnu dot org  2005-12-31 14:44 -------
Confirmed, checking merely gives us a more informative answer.  The compile
dies on the same line without checking too.  Without checking I get:

Program received signal SIGSEGV, Segmentation fault.
0x000000000073aeef in ix86_va_arg (valist=0x2aaaaac4b900, type=0x2aaaaac47820)
    at ../../egcc-3.4-SVN20051230/gcc/config/i386/i386.c:3331
3331              for (i = 0; i < XVECLEN (container, 0); i++)
(gdb) p *container
$7 = {code = REG, mode = TImode, jump = 0, call = 0, unchanging = 0,
  volatil = 0, in_struct = 0, used = 0, integrated = 0, frame_related = 0,
  u = {fld = {{rtint = 0, rtuint = 0, rtstr = 0x0, rtx = 0x0, rtvec = 0x0,
        rttype = VOIDmode, rt_addr_diff_vec_flags = {min_align = 0,
          base_after_vec = 0, min_after_vec = 0, max_after_vec = 0,
          min_after_base = 0, max_after_base = 0, offset_unsigned = 0,
          scale = 0}, rt_cselib = 0x0, rtbit = 0x0, rttree = 0x0, bb = 0x0,
        rtmem = 0x0, rtreg = 0x0}}, hwint = {0}}}


With checking, I get:

titype-1.c: In function `foo':
titype-1.c:21: internal compiler error: RTL check: expected elt 0 type 'E' or
'V', have 'i' (rtx reg) in ix86_va_arg, at config/i386/i386.c:3331
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[...]
#4  0x00000000008f18dc in ix86_va_arg (valist=0x1, type=0x2aaaad1fd820)
    at ../../egcc-3.4-SVN20051230/gcc/config/i386/i386.c:3331
3331              for (i = 0; i < XVECLEN (container, 0); i++)
(gdb) p *container
$1 = {code = REG, mode = TImode, jump = 0, call = 0, unchanging = 0, volatil =
0, in_struct = 0, used = 0, integrated = 0,
  frame_related = 0, u = {fld = {{rtint = 0, rtuint = 0,
        rtstr = 0xafafafaf00000000 <Address 0xafafafaf00000000 out of bounds>,
rtx = 0xafafafaf00000000,
        rtvec = 0xafafafaf00000000, rttype = VOIDmode, rt_addr_diff_vec_flags =
{min_align = 0, base_after_vec = 0,
          min_after_vec = 0, max_after_vec = 0, min_after_base = 0,
max_after_base = 0, offset_unsigned = 0, scale = 0},
        rt_cselib = 0xafafafaf00000000, rtbit = 0xafafafaf00000000, rttree =
0xafafafaf00000000, bb = 0xafafafaf00000000,
        rtmem = 0xafafafaf00000000, rtreg = 0xafafafaf00000000}}, hwint =
{-5787213829993660416}}}
(gdb)


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4] RTL checking failure  |[3.4] failure in
                   |in gcc.dg/titype-1.c        |gcc.dg/titype-1.c


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



  parent reply	other threads:[~2005-12-31 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-19750-578@http.gcc.gnu.org/bugzilla/>
2005-12-31 14:14 ` [Bug target/19750] [3.4] RTL checking " ghazi at gcc dot gnu dot org
2005-12-31 14:22 ` ghazi at gcc dot gnu dot org
2005-12-31 14:44 ` ghazi at gcc dot gnu dot org [this message]
2007-11-14  2:29 ` [Bug target/19750] [3.4] " manu at gcc dot gnu dot org
2008-01-25 21:00 ` rguenth at gcc dot gnu dot 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=20051231144436.24388.qmail@sourceware.org \
    --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).