public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: c++/8772: Segmentation fault on 3 lines of template code
Date: Mon, 20 Jan 2003 09:46:00 -0000	[thread overview]
Message-ID: <20030120094601.8729.qmail@sources.redhat.com> (raw)

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

From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
To: gdr@integrable-solutions.net
Cc: bangerth@ticam.utexas.edu, gcc-gnats@gcc.gnu.org, sneechy@hotmail.com,
        gcc-bugs@gcc.gnu.org
Subject: Re: c++/8772: Segmentation fault on 3 lines of template code
Date: Mon, 20 Jan 2003 11:41:42 +0100

 On 18 Jan, Gabriel Dos Reis wrote:
 
 > Well, the diagnostic is still incorrect; I believe we should rephrase
 > teh synopsis to indicate that
 
 Done.
 
 FYI, a short summary of the audit-trail:
 
 GCC issues:
 * The code is illegal, and caused an ICE since gcc 2.95.x.
 * The ICE was fixed with the new parser, but the error message which
   is issued now, is misleading:
 
 PR8772.cc:3: error: type/value mismatch at argument 1 in template parameter 
    list for `template<template<int <anonymous> > class F> struct C'
 PR8772.cc:3: error:   expected a type, got `A<<anonymous> >::B'
 
   (We do expect a template - not a type.) So we still have a bug.
 
 ISO-Standard issues:
 * There seems to be no way to make the code legal according to the
   standard. This was reported to the committee by Gaby. The proposed
   solution - using C<A<n>::template B> - is already accepted since
   gcc 3.1.
 
 Regards,
 Volker
 
 


             reply	other threads:[~2003-01-20  9:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20  9:46 Volker Reichelt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-18  9:36 Gabriel Dos Reis
2003-01-17 15:56 Wolfgang Bangerth
2003-01-17 14:56 Volker Reichelt
2002-12-03  8:16 Gabriel Dos Reis
2002-12-03  8:06 Wolfgang Bangerth
2002-12-02 14:56 Gabriel Dos Reis
2002-12-02 12:45 bangerth
2002-12-01  1:46 Paolo Carlini

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=20030120094601.8729.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).