This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11294] New: ICE in resolve_offset_ref, at cp/init.c: 1886


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11294

           Summary: ICE in resolve_offset_ref, at cp/init.c: 1886
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: christoph dot pesch at siemens dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i486-suse-linux

When compiling the following source an ICE is reported:

#include <functional>

struct C
{
  void mf();
};

void f()
{
  std::mem_fun(&(C::mf));
  //            ^     ^    ICE if parenthesis are added
}


pesch@kstbu027[~/src/c++/test]285: g++ -c gcc_bug.cpp
gcc_bug.cpp: In function `void f()':
gcc_bug.cpp:10: 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]