public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: mvishnu@fla.fujitsu.com To: gcc-gnats@gcc.gnu.org Subject: c++/9575: Internal compiler error in resolve_offset_ref, at cp/init.c: 1886 Date: Tue, 04 Feb 2003 23:26:00 -0000 [thread overview] Message-ID: <20030204231719.27085.qmail@sources.redhat.com> (raw) >Number: 9575 >Category: c++ >Synopsis: Internal compiler error in resolve_offset_ref, at cp/init.c: 1886 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Feb 04 23:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Meenan Vishnu >Release: g++ 3.2 >Organization: >Environment: /local8/bin/gcc32/bin/g++ -v Reading specs from /local8/bin/gcc32/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs Configured with: ../gcc-3.2/configure --with-gnu-ld --prefix=/usr/local/bin/gcc32 --enable-languages=c,c++ --disable-shared : (reconfigured) ../gcc-3.2/configure --with-as=/usr/local/bin/gcc32/bin/as --with-gnu-as --with-ld=/usr/local/bin/gcc32/bin/ld --with-gnu-ld --prefix=/usr/local/bin/gcc32 --enable-languages=c,c++ --disable-shared : (reconfigured) ../gcc-3.2/configure --with-as=/usr/local/bin//as --with-gnu-as --with-ld=/usr/local/bin/ld --with-gnu-ld --prefix=/usr/local/bin/gcc32 --enable-languages=c,c++ --disable-shared : (reconfigured) ../gcc-3.2/configure --with-as=/usr/local/bin/as --with-gnu-as --with-ld=/usr/local/bin/ld --with-gnu-ld --prefix=/usr/local/bin/gcc32 --enable-languages=c,c++ --disable-shared Thread model: posix gcc version 3.2 >Description: class foo { public: foo( void ){}; ~foo( void ){}; foo& operator&=( const foo& f ){ return *this; }; }; void func( foo* p ) { typedef foo& (foo::*MEM_FUNC_PTR)( const foo& ); MEM_FUNC_PTR mfptr = &( foo::operator&= ); (p->*mfptr)( *p ); } >How-To-Repeat: Place the above code in a file, say test_pgm.cc. Compile it with g++ -c test_pgm.cc (g++ version 3.2 on Sparc Solaris and on Linux). The output is: /local8/bin/gcc32/bin/g++ test_pgm.cc test_pgm.cc: In function `void func(foo*)': test_pgm.cc:17: Internal compiler error in resolve_offset_ref, at cp/init.c: 1886 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-02-04 23:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-02-04 23:26 mvishnu [this message] 2003-02-04 23:35 bangerth 2003-02-05 0:06 Meenaradchagan Vishnu 2003-02-05 0:16 Wolfgang 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=20030204231719.27085.qmail@sources.redhat.com \ --to=mvishnu@fla.fujitsu.com \ --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: 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).