[LLVMdev] POST MORTEM: llvm-test changes

Reid Spencer reid at x10sys.com
Sun Sep 5 14:02:26 PDT 2004


On Sun, 2004-09-05 at 13:48, Jeff Cohen wrote:
> On Sun, 05 Sep 2004 10:49:44 -0700
> Reid Spencer <reid at x10sys.com> wrote:
> 
> > Jeff,
> > 
> > Actually, that was my fault. I forgot to remove the non-existent
> > directories from the configure.ac file. That's done and committed
> > now, so the advice is still the same: update configure script :)
> > 
> > Reid.
> 
> OK, no problems building. 

Great!

>  I got some minor issues with the simple
> regression tests.  First:
> 
>   Regression.Bytecode.slow.ll                   : UNTESTED, expected PASS    
>     Could not load test.
> 
>     qmtest.exception:
>       qm.test.database.NoSuchTestError: There is no test with the test ID "".
> 
>     qmtest.traceback:
>       
>         File "/lib/qm/qm/test/execution_engine.py", line 181, in _RunTests
>          File "/usr/home/llvm/obj/test/QMTest/llvmdb.py", line 91, in GetTest
>           raise qm.test.database.NoSuchTestError(self)
>     

Known problem. Test needs to be added to the database.  :(

John?

>   
> Next:
> 
>   Feature.cc.packed                             : FAIL    , expected PASS    
>     Failed to convert /usr/home/llvm/obj/test/tmp/feature-cc-packed.ll to C code.
> 
>     qmtest.target:
>       local
> 

Incomplete feature. The Packed lowering pass hasn't been implemented
yet.

> And finally:
> 
>   Feature.cc.weirdnames              /usr/home/llvm/obj/../test/Regression/C++Frontend/2003-08-28-ForwardType.cpp:3: warning: inline function `void* operator new(unsigned int, void*)' used but n
> ever defined
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-02-18-64bitConstant.c: In function `main':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-02-18-64bitConstant.c:3: warning: return type of 'main' is not `int'
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-04-08-LocalArray.c: In function `test':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-04-08-LocalArray.c:11: warning: `return' with a value, in function returning void
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-07-14-MiscTests.c: In function `memset_impl':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-07-14-MiscTests.c:13: warning: cast from pointer to integer of different size
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-07-14-MiscTests.c:17: warning: cast to pointer from integer of different size
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-07-14-MiscTests3.c:159: warning: conflicting types for built-in function 'strcpy'
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-07-14-MiscTests3.c:163: warning: conflicting types for built-in function 'strcat'
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-08-02-UnionTest.c: In function `main':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-08-02-UnionTest.c:14: warning: return type of 'main' is not `int'
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-11-07-Redefinition.c:28: warning: parameter names (without types) in function declaration
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-11-07-Redefinition.c: In function `main':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-11-07-Redefinition.c:52: warning: integer constant is too large for "long" type
> /usr/home/llvm/obj/../test/Regression/CFrontend/2002-11-07-Redefinition.c:49: warning: return type of 'main' is not `int'
> Assertion failed: (0 && "Couldn't expand constructor in this context!"), function llvm_expand_constant_expr, file ../../src/gcc/llvm-expand.c, line 5070.
> /usr/home/llvm/obj/../test/Regression/CFrontend/2003-01-30-UnionInit.c:8: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://llvm.cs.uiuc.edu> for instructions.

Could you follow those instructions please? For some reason this is a
bug on your platform. 

> /usr/home/llvm/obj/../test/Regression/CFrontend/2003-02-12-NonlocalGoto.c: In function `main':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2003-02-12-NonlocalGoto.c:7: error: nested functions are not supported!
> WARNING: Function declared to have type 'int' but it actually has type 'sbyte'!
> Assertion failed: (0 && "Couldn't expand constructor in this context!"), function llvm_expand_constant_expr, file ../../src/gcc/llvm-expand.c, line 5070.
> /usr/home/llvm/obj/../test/Regression/CFrontend/2003-08-30-AggregateInitializer.c:13: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://llvm.cs.uiuc.edu> for instructions.
> Assertion failed: ((FieldSizeTree != NULL_TREE) && "Struct/Union member of unknown length!"), function llvm_expand_constructor_elements, file ../../src/gcc/llvm-expand.c, line 3791.
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-01-01-UnknownInitSize.c:11: internal compiler error: Abort trap
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://llvm.cs.uiuc.edu> for instructions.
> UNKNOWN INTEGRAL TYPE SIZE: 40
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-03-07-BitfieldCrash.c:7: internal compiler error: in llvm_type_get_integer, at llvm-types.c:571
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://llvm.cs.uiuc.edu> for instructions.
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-03-16-AsmRegisterCrash.c: In function `foo':
> 
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-03-16-AsmRegisterCrash.c:2: warning: llvm doesn't support asm specifier on 'X'
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-05-21-IncompleteEnum.c:1: warning: "enum foo" declared inside parameter list
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-05-21-IncompleteEnum.c:1: warning: its scope is only this definition or declaration, which is probably not what you want
> WARNING: Function declared to have type '%enum.foo3.*' but it actually has type '%enum.foo4.*'!
> /usr/home/llvm/obj/../test/Regression/CFrontend/2004-06-08-OpaqueStructArg.c:2: warning: parameter has incomplete type
> ntend.2003-08-21-EmptyClass  : PASS    
> 
> Yeah, it passes in the end but there are multiple "internal compiler
> errors" in the messages above.

None of those are good. You shouldn't get ICE's from the llvm-gcc
compiler. Not sure what's up with any of that, it doesn't happen on
other platforms. Could you file bugs for these and make sure they are
marked specific to your platform? (FreeBSD?). Thanks. I'm not the person
to diagnose these, Chris will have to do it when he gets back.


> 
> Now starting the llvm-test module...

Good luck !

Reid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040905/525b189a/attachment.sig>


More information about the llvm-dev mailing list