[LLVMbugs] [Bug 2867] New: ICE on invalid; class definiton inside method definition

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 6 16:30:17 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2867

           Summary: ICE on invalid; class definiton inside method definition
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2064)
 --> (http://llvm.org/bugs/attachment.cgi?id=2064)
testcase

This testcase is delta-reduced from valid code. I'm not sure how to build it up
into a valid example.

Anyways, here's the goods:

  $ llvm-gcc ice.cc
  ice.cc: In member function ‘void LogFileObject::SetBasename(const
char*)’:
  ice.cc:8: internal compiler error: in lookup_name_real, at
cp/name-lookup.c:4043
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://developer.apple.com/bugreporter> for instructions.

The backtrace is useless:

  Breakpoint 2, 0x083771f0 in internal_error ()
  (gdb) bt
  #0  0x083771f0 in internal_error ()
  #1  0x083777c8 in fancy_abort ()
  #2  0xf7f72f00 in ?? ()
  #3  0xf7f6b780 in ?? ()
  #4  0xf7ecef00 in ?? ()
  #5  0xf7f7763c in ?? ()
  #6  0x00000000 in ?? ()
  (gdb)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list