public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: bjorn@thep.lu.se
To: gcc-gnats@gcc.gnu.org
Subject: c++/5750: g++ segfaults when using the gcc-extention of typeof() in a template class
Date: Fri, 22 Feb 2002 06:06:00 -0000	[thread overview]
Message-ID: <20020222124206.21545.qmail@sources.redhat.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]


>Number:         5750
>Category:       c++
>Synopsis:       g++ segfaults when using the gcc-extention of typeof() in a template class
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 22 04:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Björn Samuelsson
>Release:        gcc version 3.0.3     gcc version 3.0.3
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: ../configure --prefix=/usr/local
Thread model: single
>Description:
fjuff.cc: In instantiation of `atom_chain<__typeof (base<Chain>::chain(>':
fjuff.cc:13:   instantiated from here
fjuff.cc:4: Internal error: Segmentation fault

caused by use of typeof() to define a typedef inside
a template class
>How-To-Repeat:
 g++ -c fjuff.i 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="fjuff.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fjuff.i"

IyAxICJmanVmZi5jYyIKdGVtcGxhdGUgPGNsYXNzIEE+CnN0cnVjdCBhdG9tX2NoYWluCnsKICBz
dGF0aWMgY29uc3QgaW50IG4gPSBBOjpuOwp9OwoKdGVtcGxhdGUgPGNsYXNzIENoYWluPgpzdHJ1
Y3QgYmFzZQp7CiAgc3RhdGljIGNvbnN0IENoYWluIGNoYWluOwogIHR5cGVkZWYgdHlwZW9mKGNo
YWluKSB1Z2x5OwogIHR5cGVkZWYgYXRvbV9jaGFpbjx1Z2x5PiBmanVwcDsKICBzdGF0aWMgY29u
c3QgaW50IG0gPSBmanVwcDo6bjsKfTsKCmludCBtYWluKCkKewp9Cg==


             reply	other threads:[~2002-02-22 12:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-22  6:06 bjorn [this message]
2002-05-20  7:04 lerdsuwa
2002-11-01 12:06 Wolfgang Bangerth
2003-01-22 21:06 bangerth

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=20020222124206.21545.qmail@sources.redhat.com \
    --to=bjorn@thep.lu.se \
    --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).