public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tbm at cyrius dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/27103] [4.2 Regression] ICE: tree check: expected ssa_name, have symbol_memory_tag in is_old_name, at tree-into-ssa.c:466
Date: Thu, 13 Apr 2006 11:27:00 -0000	[thread overview]
Message-ID: <20060413112720.32602.qmail@sourceware.org> (raw)
In-Reply-To: <bug-27103-5724@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from tbm at cyrius dot com  2006-04-13 11:27 -------
I can confirm that this test case works with 20060408.  However, a slightly
longer test case (directly from delta, without Falk's manual reduction) still
produces a segfault, but only when you pass -finline-functions:

(sid)127:tbm@deprecation: ~] cat m.c
typedef struct { unsigned int size; } gnutls_datum;
typedef struct gnutls_cert { gnutls_datum raw; } gnutls_cert;
typedef struct gnutls_privkey_int { } gnutls_privkey;
typedef struct gnutls_session_int *gnutls_session;
extern int _gnutls_log_level;

_gnutls_gen_x509_crt (gnutls_session session, unsigned char ** data)
{
  int ret, i;
  unsigned char *pdata;
  gnutls_cert *apr_cert_list;
  gnutls_privkey *apr_pkey;
  int apr_cert_list_length;
  if ((ret =
       _gnutls_get_selected_cert (session, &apr_cert_list,
                                  &apr_cert_list_length, &apr_pkey)) < 0)
    {
      if (_gnutls_log_level >= 2 || _gnutls_log_level > 9)
        _gnutls_log (2, "ASSERT: %s:%d\n", "auth_cert.c", 665);
    }
  for (i = 0; i < apr_cert_list_length; i++)
    {
      _gnutls_write_datum24 (pdata, apr_cert_list[i].raw);
      pdata += (3 + apr_cert_list[i].raw.size);
    }
}
_gnutls_get_selected_cert (gnutls_session session,
                           gnutls_privkey ** apr_pkey)
{
}

(sid)128:tbm@deprecation: ~] gcc-4.0 -O2 -c -finline-functions m.c
(sid)129:tbm@deprecation: ~] /usr/lib/gcc-snapshot/bin/gcc -O2 -c
-finline-functions m.c
m.c: In function '_gnutls_gen_x509_crt':
m.c:8: internal compiler error: tree check: expected ssa_name, have
symbol_memory_tag in verify_ssa, at tree-ssa.c:735
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
zsh: exit 1     /usr/lib/gcc-snapshot/bin/gcc -O2 -c -finline-functions m.c
(sid)130:tbm@deprecation: ~] /usr/lib/gcc-snapshot/bin/gcc -O2 -c  m.c
(sid)131:tbm@deprecation: ~]


-- 


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


  parent reply	other threads:[~2006-04-13 11:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 18:34 [Bug tree-optimization/27103] New: " debian-gcc at lists dot debian dot org
2006-04-10 18:44 ` [Bug tree-optimization/27103] " pinskia at gcc dot gnu dot org
2006-04-10 18:44 ` [Bug tree-optimization/27103] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-04-10 18:45 ` pinskia at gcc dot gnu dot org
2006-04-10 18:53 ` debian-gcc at lists dot debian dot org
2006-04-13 11:27 ` tbm at cyrius dot com [this message]
2006-04-13 12:00 ` reichelt at gcc dot gnu dot org
2006-04-13 12:01 ` reichelt at gcc dot gnu dot org
2006-04-13 16:35 ` pinskia 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=20060413112720.32602.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).