[LLVMbugs] [Bug 2217] New: problem with copying empty base classes

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 11 05:29:45 PDT 2008


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

           Summary: problem with copying empty base classes
           Product: tools
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jay.foad at antixlabs.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1589)
 --> (http://llvm.org/bugs/attachment.cgi?id=1589)
source file from gcc testsuite

The attached source file is g++.dg/abi/empty4.C from the GCC 4.2.1 testsuite. I
get:

$ ~/llvm/llvm-gcc4.2-2.2-x86-linux-RHEL4/bin/llvm-gcc -g -o empty4 empty4.C
$ ./empty4 ; echo $?
1

The test is failing here:

  if (was != now)
    return 1;   // we copied the empty base which clobbered a.m.m's
                // original value.


-- 
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