public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Reichelt <reichelt@igpm.rwth-aachen.de> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3649 Date: Mon, 27 Aug 2001 03:06:00 -0000 [thread overview] Message-ID: <20010827100601.10742.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/3649; it has been noted by GNATS. From: Reichelt <reichelt@igpm.rwth-aachen.de> To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, morandini@aero.polimi.it Cc: Subject: Re: c++/3649 Date: Mon, 27 Aug 2001 12:03:00 +0200 Hi, I tried to reduce the example that crashes the compiler and came up with the following code: template <class T> struct A { typedef int X; }; template <class T> struct B { typedef A<T> Y; void f (Y::X); }; template <class T, class T1, class T2, class T3> struct C : public B<T> { void g (Y::X); }; template class B<int>; The code crashes gcc 3.0 as well as gcc 3.0.1 on my LINUX box. The original example also crashes an IRIX box with gcc 3.0 (so I assume it's a platform independant problem), but (unfortunately - yet not very surprisingly) that doesn't happen with this short example. I hope that helps. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3649&database=gcc
reply other threads:[~2001-08-27 3:06 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010827100601.10742.qmail@sourceware.cygnus.com \ --to=reichelt@igpm.rwth-aachen.de \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).