public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2604: Loki-related seg fault
@ 2001-10-23 2:27 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-10-23 2:27 UTC (permalink / raw)
To: gdr, gcc-bugs, gcc-prs, lerdsuwa, pcarlini, pme
Synopsis: Loki-related seg fault
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Tue Oct 23 02:27:32 2001
State-Changed-Why:
Patch committed in the main trunk.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2604&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/2604: Loki-related seg fault
@ 2001-09-03 7:07 lerdsuwa
0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-09-03 7:07 UTC (permalink / raw)
To: gdr, gcc-bugs, gcc-prs, lerdsuwa, nobody, pcarlini, pme
Synopsis: Loki-related seg fault
Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Mon Sep 3 07:07:42 2001
Responsible-Changed-Why:
Patch in progress.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2604&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/2604: Loki-related seg fault
@ 2001-04-21 2:06 pcarlini
0 siblings, 0 replies; 3+ messages in thread
From: pcarlini @ 2001-04-21 2:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: pme, gdr
>Number: 2604
>Category: c++
>Synopsis: Loki-related seg fault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 21 02:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Paolo Carlini
>Release: 3.0 2001041, 3.1 20010417, verified on Codesourcery online test
>Organization:
>Environment:
i686, Linux2.2.19, glibc2.2.2, binutils2.11
>Description:
The following snippet of code, distilled form Loki set of
header files (www.moderncppdesign.com) (in particular,
Visitor.h), triggers a seg fault:
template <class AtomicType, template <class> class Unit>
class GenScatterHierarchy : public Unit<AtomicType>
{
};
template <class T, typename R>
class Visitor
{
public:
typedef R ReturnType;
};
template <typename R>
struct VisitorBinder
{
template <class T>
struct Result : public Visitor<T, R>
{
};
};
template <typename R, class TList>
class CyclicVisitor
: public GenScatterHierarchy<TList, VisitorBinder<R>::Result>
{
public:
typedef R ReturnType;
};
class DocElement
{
public:
CyclicVisitor<void, DocElement>::ReturnType fun() {}
};
>How-To-Repeat:
This is not a regression from 2.95.2, which crashes with
an ICE 980422; many widespread compilers reject the code,
however, one of them compiles it just fine.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-10-23 2:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-23 2:27 c++/2604: Loki-related seg fault lerdsuwa
-- strict thread matches above, loose matches on Subject: below --
2001-09-03 7:07 lerdsuwa
2001-04-21 2:06 pcarlini
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).