public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10091: [3.3 regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:307
@ 2003-03-15 7:56 Randolph Chung
0 siblings, 0 replies; only message in thread
From: Randolph Chung @ 2003-03-15 7:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: debian-gcc, parisc-linux
>Number: 10091
>Category: c++
>Synopsis: [3.3 regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:307
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sat Mar 15 07:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Randolph Chung <tausq@debian.org>
>Release: 3.3 20030309 (Debian prerelease) (Debian testing/unstable)
>Organization:
>Environment:
System: Linux gsyprf11.external.hp.com 2.4.20-pa18-UP #1 Sat Jan 4 22:06:52 PST 2003 parisc64 unknown unknown GNU/Linux
Architecture: parisc64
>Description:
The following code (extracted from goldedplus), when compiled with g++ -c -O2 bug.cpp, gives:
bug.cpp: In member function `int ftn_golded_nodelist_index::addrcmp() const':
bug.cpp:34: internal compiler error: in cp_expr_size, at cp/cp-lang.c:307
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
class ftn_addr {
public:
unsigned short zone;
unsigned short net;
unsigned short node;
unsigned short point;
ftn_addr();
ftn_addr(const ftn_addr& a);
int compare(const ftn_addr& other) const;
ftn_addr& operator=(const ftn_addr& a);
};
#pragma pack(1)
struct _GEIdx {
ftn_addr addr; // Node address
_GEIdx() : addr() {}
};
#pragma pack()
class ftn_golded_nodelist_index {
protected:
_GEIdx current;
ftn_addr searchaddr;
int addrcmp() const;
public:
ftn_golded_nodelist_index();
};
int ftn_golded_nodelist_index::addrcmp() const {
return searchaddr.compare(current.addr);
}
>How-To-Repeat:
see description
compiles fine with g++-3.2
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-15 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-15 7:56 c++/10091: [3.3 regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:307 Randolph Chung
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).