public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7667: ICE SIGSEGV on simple identifier error
@ 2002-08-22 16:06 Gabriel Dos Reis
0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Dos Reis @ 2002-08-22 16:06 UTC (permalink / raw)
To: gdr; +Cc: gcc-prs
The following reply was made to PR c++/7667; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: dv@vollmann.ch
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7667: ICE SIGSEGV on simple identifier error
Date: 23 Aug 2002 00:53:37 +0200
dv@vollmann.ch writes:
| >Class: ice-on-illegal-code
Hi,
Thanks for the bug report. I fixed this particular bug with this
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01147.html
Please, make sure you have it in your source base and give it another
try. I get:
7667.C: In constructor `samples::SysVIPC::SharedMem::SharedMem()':
7667.C:26: error: 'struct shmid_ds' has no member named 'shmsegsz'
-- Gaby
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/7667: ICE SIGSEGV on simple identifier error
@ 2002-08-22 16:06 gdr
0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2002-08-22 16:06 UTC (permalink / raw)
To: dv, gcc-bugs, gcc-prs, gdr, nobody
Synopsis: ICE SIGSEGV on simple identifier error
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Thu Aug 22 15:58:09 2002
Responsible-Changed-Why:
See below.
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Thu Aug 22 15:58:09 2002
State-Changed-Why:
Duplicate of C++ PR/7621
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7667
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/7667: ICE SIGSEGV on simple identifier error
@ 2002-08-20 14:36 dv
0 siblings, 0 replies; 3+ messages in thread
From: dv @ 2002-08-20 14:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 7667
>Category: c++
>Synopsis: ICE SIGSEGV on simple identifier error
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 14:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Detlef Vollmann
>Release: 3.3 20020816 (experimental)
>Organization:
vollmann engineering gmbh
>Environment:
System: Linux octo 2.4.18-xfs-1.1 #1 Mon Jul 1 05:12:32 MEST 2002 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /dwarf/pdsrc/gcc/cvs/gcc/configure --program-suffix=-3 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-version-specific-runtime-libs --enable-languages=c,c++
>Description:
Segmentation fault on simple identifier typo of a struct member
(wrapped as ICE)
>How-To-Repeat:
g++ -c bug.cpp
>Fix:
bug.cpp:
struct shmid_ds
{
unsigned int shm_segsz;
};
namespace samples
{
struct SysVIPC
{
class SharedMem
{
public:
SharedMem();
private:
unsigned int size;
struct shmid_ds info;
};
};
}
namespace samples
{
SysVIPC::SharedMem::SharedMem()
{
size = info.shmsegsz;
}
}
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-22 23:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 16:06 c++/7667: ICE SIGSEGV on simple identifier error Gabriel Dos Reis
-- strict thread matches above, loose matches on Subject: below --
2002-08-22 16:06 gdr
2002-08-20 14:36 dv
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).