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

           Summary: test/SemaCXX/underlying_type.cpp fails on x86
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Using r132050

clang:
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/include/llvm/ADT/PointerIntPair.h:80:
void llvm::PointerIntPair<void *, 1, bool, llvm::PointerUnionUIntTraits<const
clang::Type *, const clang::ExtQuals *> >::setPointer(void *): Assertion
`(PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not
sufficiently aligned"' failed.
Stack dump:
0.    Program arguments:
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/stage2/bin/./clang
-cc1 -ffreestanding -fsyntax-only -verify -std=c++0x
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/tools/clang/test/SemaCXX/underlying_type.cpp
1.      
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/tools/clang/test/SemaCXX/underlying_type.cpp:25:23:
current parser token ';'
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/stage2/tools/clang/test/SemaCXX/Output/underlying_type.cpp.script:
line 1: 25788 Aborted                
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/stage2/bin/./clang
-cc1 -ffreestanding -fsyntax-only -verify -std=c++0x
/usr/src/packages/BUILD/llvm-clang-head-2.9.99.git20110525/tools/clang/test/SemaCXX/underlying_type.cpp


x86-64 is fine.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to