[LLVMbugs] [Bug 13353] New: Assertian failure in Casting.h

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 13 07:53:11 PDT 2012


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

             Bug #: 13353
           Summary: Assertian failure in Casting.h
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: norman-k-williams at uiowa.edu
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Compiling ITK (www.itk.org) : 


Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
function cast, file /scratch/kent/clang/llvm/include/llvm/Support/Casting.h,
line 194.
Stack dump:
0.    Program arguments: /Volumes/scratch/kent/opt/llvm/bin/clang-3.1 -cc1
-triple x86_64-apple-macosx10.7.0 -emit-obj -mrelax-all -disable-free
-main-file-name ITKPathHeaderTest1.cxx -pic-level 2 -mdisable-fp-elim
-masm-verbose -munwind-tables -target-cpu core2 -g -coverage-file
CMakeFiles/ITKPathHeaderTest1.dir/test/ITKPathHeaderTest1.cxx.o -resource-dir
/Volumes/scratch/kent/opt/llvm/bin/../lib/clang/3.2 -I
/scratch/kent/itktest/ITK-build/Modules/ThirdParty/KWSys/src -I
/scratch/kent/itktest/ITK/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I
/scratch/kent/itktest/ITK/Modules/ThirdParty/VNL/src/vxl/vcl -I
/scratch/kent/itktest/ITK/Modules/ThirdParty/VNL/src/vxl/core -I
/scratch/kent/itktest/ITK-build/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I
/scratch/kent/itktest/ITK-build/Modules/ThirdParty/VNL/src/vxl/vcl -I
/scratch/kent/itktest/ITK-build/Modules/ThirdParty/VNL/src/vxl/core -I
/scratch/kent/itktest/ITK/Modules/ThirdParty/VNLInstantiation/include -I
/scratch/kent/itktest/ITK-build/Modules/Core/Common -I
/scratch/kent/itktest/ITK/Modules/Core/Common/include -I
/scratch/kent/itktest/ITK/Modules/Filtering/ImageFilterBase/include -I
/scratch/kent/itktest/ITK/Modules/Core/ImageAdaptors/include -I
/scratch/kent/itktest/ITK-build/Modules/ThirdParty/Netlib -I
/scratch/kent/itktest/ITK/Modules/Numerics/Statistics/include -I
/scratch/kent/itktest/ITK/Modules/Core/Transform/include -I
/scratch/kent/itktest/ITK/Modules/Core/ImageFunction/include -I
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include -fmodule-cache-path
/var/folders/4k/3c1grphj36l481v75dkl1j5w0009y7/T/clang-module-cache -Wall
-Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch
-Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings
-Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual
-fconst-strings -fdebug-compilation-dir
/scratch/kent/itktest/ITK-build/Modules/Filtering/Path -ferror-limit 19
-fmessage-length 88 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.7.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o
CMakeFiles/ITKPathHeaderTest1.dir/test/ITKPathHeaderTest1.cxx.o -x c++
/scratch/kent/itktest/ITK-build/Modules/Filtering/Path/test/ITKPathHeaderTest1.cxx 
1.   
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include/itkExtractOrthogonalSwath2DImageFilter.h:149:46:
current parser token '('
2.   
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include/itkExtractOrthogonalSwath2DImageFilter.h:24:1:
parsing namespace 'itk'
3.   
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include/itkExtractOrthogonalSwath2DImageFilter.h:42:1:
parsing struct/union/class body 'ExtractOrthogonalSwath2DImageFilter'
4.   
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include/itkExtractOrthogonalSwath2DImageFilter.h:144:3:
parsing function body 'GenerateInputRequestedRegion'
5.   
/scratch/kent/itktest/ITK/Modules/Filtering/Path/include/itkExtractOrthogonalSwath2DImageFilter.h:144:3:
in compound statement ('{}')
clang-3: error: unable to execute command: Illegal instruction: 4
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 160140)
Target: x86_64-apple-darwin11.4.0

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