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++/6620: partial template specialization on int
Date: Mon, 13 May 2002 03:06:00 -0000	[thread overview]
Message-ID: <20020513100602.1050.qmail@sources.redhat.com> (raw)

The following reply was made to PR c++/6620; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, jototland@hotmail.com, gcc-bugs@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/6620: partial template specialization on int
Date: Mon, 13 May 2002 12:37:15 +0200

 Hi,
 
 on can reduce the testcase a little more:
 
 --------------------------snip here-------------------------------
 template <int N> struct HoldInt {};
 
 template <class A, class B> struct Add;
 
 template <int N, int M> struct Add< HoldInt<N>, HoldInt<M> > {};
 
 template <int N>        struct Add< HoldInt<N>, HoldInt<-N> > {};
 
 Add< HoldInt<1>, HoldInt<-1> > a;
 --------------------------snip here-------------------------------
 
 By the way, both testcases not only crash gcc but even SGI's native
 compiler, so they seem to be a real compiler-killers ;-)
 
 Greetings,
 Volker Reichelt
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6620
 
 


             reply	other threads:[~2002-05-13 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  3:06 Reichelt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-16  7:01 lerdsuwa
2002-05-15  8:26 lerdsuwa
2002-05-10  9:32 lerdsuwa
2002-05-09 20:06 jototland

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=20020513100602.1050.qmail@sources.redhat.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: 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).