public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tbm at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/31411] internal compiler error: in gimplify_expr, at gimplify.c:4519
Date: Sat, 31 Mar 2007 17:09:00 -0000	[thread overview]
Message-ID: <20070331170915.3862.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31411-5976@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from tbm at gcc dot gnu dot org  2007-03-31 18:09 -------
Testcase:


namespace std
{
  template < class T > class allocator
  {
  public:typedef T value_type;
    typedef long unsigned int size_type;
     ~allocator ()
    {
    }
  };
  template < class charT > struct char_traits
  {
  };
  template < class T, class Allocator > class vector
  {
  };
  template < class Ch, class Tr = char_traits < Ch >, class A =
    allocator < Ch > >class basic_string;
  typedef basic_string < char >string;
template < class Ch, class Tr, class A > class basic_string:public
  std::vector < Ch, A >
  {
  public:typedef Tr traits_type;
    typedef typename A::size_type size_type;
    static const size_type npos = (size_type) - 1;
    basic_string (const basic_string & str, size_type pos = 0, size_type n =
                  npos, const A & al = A ());
  };
}
using namespace std;
main ()
{
  try
  {
  }
  catch (string smess)
  {
  }
}


-- 


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


  parent reply	other threads:[~2007-03-31 17:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31 16:22 [Bug c++/31411] New: " gkajmowi at tbaytel dot net
2007-03-31 16:23 ` [Bug c++/31411] " gkajmowi at tbaytel dot net
2007-03-31 16:59 ` tbm at gcc dot gnu dot org
2007-03-31 17:04 ` pinskia at gcc dot gnu dot org
2007-03-31 17:09 ` tbm at gcc dot gnu dot org [this message]
2007-03-31 17:10 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE: " tbm at gcc dot gnu dot org
2007-03-31 17:21 ` [Bug c++/31411] [4.1/4.2/4.3 Regression] ICE in gimplify_expr with throw/special copy constructor with initializer with a deconstructor pinskia at gcc dot gnu dot org
2007-04-15 22:12 ` mmitchel at gcc dot gnu dot org
2007-04-23 16:27 ` janis at gcc dot gnu dot org
2007-09-04 12:40 ` jason at gcc dot gnu dot org
2007-09-04 18:37 ` jason at gcc dot gnu dot org
2007-09-11 15:35 ` [Bug c++/31411] [4.1/4.2 " jason 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=20070331170915.3862.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).