discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libobjc2 still failing tests


From: David Chisnall
Subject: Re: libobjc2 still failing tests
Date: Fri, 25 Jan 2019 17:07:00 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 25/01/2019 16:46, Andreas Fink wrote:
  17/162 Test  #17: AssociatedObject ..................................   
Passed    0.00 sec
         Start  18: AssociatedObject_optimised
  18/162 Test  #18: AssociatedObject_optimised 
........................***Exception: Other  0.00 sec
         Start  19: AssociatedObject_legacy
  19/162 Test  #19: AssociatedObject_legacy ...........................   
Passed    0.00 sec
         Start  20: AssociatedObject_legacy_optimised
  20/162 Test  #20: AssociatedObject_legacy_optimised 
.................***Exception: Other  0.00 sec

this still fails with clang-8

This one seems to be a clang bug. Inserting a printf in the -dealloc method, it *is* being called and is storing the true value in the global, but clang is optimising this away. This bug doesn't appear in the FreeBSD packaged version of LLVM 8, so it's probably recent breakage. I'll try to put together a reduced test case.

Removing static from the declaration of deallocCalled fixes the test.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]