public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Randolph Chung <tausq@debian.org> To: gcc-gnats@gcc.gnu.org Cc: debian-gcc@lists.debian.org, parisc-linux@lists.parisc-linux.org Subject: c++/10091: [3.3 regression] internal compiler error: in cp_expr_size, at cp/cp-lang.c:307 Date: Sat, 15 Mar 2003 07:56:00 -0000 [thread overview] Message-ID: <20030315075402.24390.qmail@sources.redhat.com> (raw) >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:
reply other threads:[~2003-03-15 7:56 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030315075402.24390.qmail@sources.redhat.com \ --to=tausq@debian.org \ --cc=debian-gcc@lists.debian.org \ --cc=gcc-gnats@gcc.gnu.org \ --cc=parisc-linux@lists.parisc-linux.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: linkBe 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).