public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: florin@iucha.net
To: gcc-gnats@gcc.gnu.org
Cc: florin@iucha.net
Subject: c++/2752: template function is not instantiated
Date: Sun, 06 May 2001 17:16:00 -0000	[thread overview]
Message-ID: <20010507000559.7649.qmail@sourceware.cygnus.com> (raw)

>Number:         2752
>Category:       c++
>Synopsis:       template function is not instantiated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun May 06 17:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     florin@iucha.net
>Release:        gcc version 3.0 20010503 (prerelease) - snapshot from CodeSourcery
>Organization:
>Environment:
Reading specs from /usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/3.0/specs
Configured with: ../configure --prefix=/tmp/gcc-20010503-root/usr/local --enable-shared --enable-threads --disable-checking i386-pc-linux-gnu
Thread model: posix
>Description:
g++ rejects the following legal code
>How-To-Repeat:
compile the file
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/cpp; name="templbug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="templbug.cpp"

dGVtcGxhdGUgPGludCBTSVpFPgpjbGFzcyBCCnsKcHVibGljOgoKICAgY2xhc3MgUAogICB7CiAg
IHB1YmxpYzoKICAgICAgUChpbnQgeCkgOiB4Xyh4KSB7fQogICAgICBpbnQgeCgpIGNvbnN0IHsg
cmV0dXJuIHhfOyB9CiAgICAgIAogICBwcml2YXRlOgogICAgICBpbnQgeF87CiAgIH07CgogICBQ
IGdldF9hX1AoKSB7IHJldHVybiBQKFNJWkUvMik7IH0KICAgCn07CgoKY2xhc3MgRyA6IHByaXZh
dGUgQjwxMD4KewpwdWJsaWM6CgogICB2b2lkIHRlc3QoKTsKICAgCn07CgoKdGVtcGxhdGUgPGlu
dCBTSVpFPgpCPFNJWkU+OjpQIHRoZV9idWcoQjxTSVpFPjo6UCBwKQp7CiAgIC8vIGRvIG5vdGhp
bmcKICAgcmV0dXJuIHA7Cn0KCgp2b2lkIEc6OnRlc3QoKQp7CiAgIFAgcCA9IGdldF9hX1AoKTsK
CiAgIFAgcSA9IHRoZV9idWcocCk7Cn0KCgppbnQgbWFpbigpCnsKICAgRyBnOwoKICAgZy50ZXN0
KCk7CiAgIAogICByZXR1cm4gMDsKfQo=


             reply	other threads:[~2001-05-06 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-06 17:16 florin [this message]
2001-05-07  1:56 Phil Edwards

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=20010507000559.7649.qmail@sourceware.cygnus.com \
    --to=florin@iucha.net \
    --cc=gcc-gnats@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).