search for: numparam

Displaying 12 results from an estimated 12 matches for "numparam".

Did you mean: numparams
2010 Oct 06
3
[LLVMdev] dragonegg vs -ffast-math?
...s. I can confirm this is in fact fixed in current dragonegg svn. On a different question, what are the prospects getting aermod to compile under dragonegg? I am still seeing compile failures of the form... de-gfortran45 -ffast-math -funroll-loops -msse3 -O3 aermod.f90 -o aermod Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"), function init, file /sw/src/fink.build/llvm-clang-2.8-1/llvm-2.8/lib/VMCore/Instructions.cpp, line 242. *** WARNING *** there are acti...
2015 Jan 19
2
[LLVMdev] [INCOMPLETE] [GC] Support wrapping vararg functions in statepoint
...oid Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { Assert1(NumCallArgs >= 0, "gc.statepoint number of arguments to underlying call " "must be positive", &CI); - Assert1(NumCallArgs == (int)TargetFuncType->getNumParams(), - "gc.statepoint mismatch in number of call args", &CI); + const int NumParams = (int)TargetFuncType->getNumParams(); + if (TargetFuncType->isVarArg()) + Assert1(NumCallArgs >= NumParams, + "gc.statepoint mismatch in number of varar...
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...rrupt service routine interrupt(vector_number) attribute is rejected: __attribute__ ((interrupt(USCI_A0_VECTOR))) void ISR(void) { } error: 'interrupt' attribute parameter 48 is out of bounds This is due to the check in tools/clang/lib/Sema/SemaDeclAttr.cpp:5104 unsigned Num = NumParams.getLimitedValue(255); if ((Num & 1) || Num > 30) { S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) << AL.getName() << (int)NumParams.getSExtValue() << NumParamsExpr->getSourceRange(); return; } Also, the _...
2011 Feb 22
2
[LLVMdev] Clone a function and change signature
...re i16 %tmp11, i16* %y, align 2, !dbg !1027 ret void return: ; preds = %entry ret void } opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"' failed. When I looked at the excption, it occurs when creating the CallInst. The type of the function being called at that point...
2010 Aug 10
2
[LLVMdev] Patch to fix BrainF runtime assertion failure
Hi all, I downloaded LLVM to play with today and found that the BrainF example compiler fails with an assertion error like so: examples$ ./BrainF -jit /tmp/test.bf BrainF: Instructions.cpp:242: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"' failed. Aborted I tracked this down to bad arguments passed to the memset intrinsic. >From the svn logs it looks like the memse...
2010 Oct 06
0
[LLVMdev] dragonegg vs -ffast-math?
Hi Jack, > I am finding that llvm 2.8 rc3 with dragonegg svn built against current > gcc-4_5-branch doesn't appear to allow gfortran to use -ffast-math. Attempting > to compile code using the dragonegg plugin under gcc 4.5.2 with that option produces the error... > > f951: Unknown command line argument '--enable-finite-only-fp-math'. Try: 'f951 -help' >
2010 Oct 06
2
[LLVMdev] dragonegg vs -ffast-math?
I am finding that llvm 2.8 rc3 with dragonegg svn built against current gcc-4_5-branch doesn't appear to allow gfortran to use -ffast-math. Attempting to compile code using the dragonegg plugin under gcc 4.5.2 with that option produces the error... f951: Unknown command line argument '--enable-finite-only-fp-math'. Try: 'f951 -help' The standard gcc 4.5.2 gfortran compiler
2008 Nov 02
1
[LLVMdev] llvm-2.4 prerelease gfortran results
...llvm-gcc4.2-2.4.source/gcc/testsuite/gfortran.dg/assumed_charlen_function_3.f90:14.25: function more_OK (ch, fcn) ! { dg-warning "is obsolescent in fortran 95 1 Warning: CHARACTER(*) function 'fcn' at (1) is obsolescent in fortran 95 Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"), function init, file /sw/src/fink.build/llvm-gcc42-2.4-1/llvm-2.4/lib/VMCore/Instructions.cpp, line 289. /sw/src/fink.build/llvm-gcc42-...
2011 Feb 22
0
[LLVMdev] Clone a function and change signature
...ret void > > return: ; preds = %entry > ret void > } > > opt: > /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: > void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned > int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() > && NumParams > FTy->getNumParams())) && "Calling a function with bad > signature!"' failed. > > > When I looked at the excption, it occurs when creating the CallInst. > > The type of the f...
2011 May 10
0
Series temporales
...mejor modelo automaticamente ajustado a los datos fit <- auto.arima(st, ic ="aicc", stepwise= TRUE) #Obtenemos una variable con los coeficientes del modelo y sus p-valores pv <- as.data.frame(cwp(fit)) #Guardamos diagnosis de parametros en un df numparam <- length(colnames(pv)) #Obtenemos el numero de parametros presente en el modelo coeficientes <- data.frame( CF = character(0) ) #Inicializamos df que contendra los coeficientes del modelo signific <- TRUE #Hacemos el modelo valido por defecto for (j in 1:n...
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
...re i16 %tmp11, i16* %y, align 2, !dbg !1027 ret void return: ; preds = %entry ret void } opt: /home/vadve/aggarwa4/llvm27/llvm-2.7/lib/VMCore/Instructions.cpp:307: void llvm::CallInst::init(llvm::Value*, llvm::Value* const*, unsigned int): Assertion `(NumParams == FTy->getNumParams() || (FTy->isVarArg() && NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"' failed. When I looked at the excption, it occurs when creating the CallInst. The type of the function being called at that point...
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
...ed integer expressions ... llvm[4]: Compiling DeclSerialization.cpp for Release build DeclSerialization.cpp: In static member function 'static clang::FunctionDecl* clang::FunctionDecl::CreateImpl (llvm::Deserializer&, clang::ASTContext&)': DeclSerialization.cpp:521: warning: 'numParams' may be used uninitialized in this function .. llvm[2]: Linking Release Shared Library LTO.dylib *** Warning: Linking the shared library /code/llvm/Release/lib/ libLTO.la against the non-libtool *** objects /code/llvm/Release/lib/LLVMCppBackend.o /code/llvm/ Release/lib/LLVMMSIL.o /code/l...