[LLVMbugs] [Bug 13838] assert() is ignored

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 18 02:59:57 PDT 2012


Erik Cederstrand <erik at cederstrand.dk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Erik Cederstrand <erik at cederstrand.dk> 2012-09-18 04:59:57 CDT ---
I'm closing this. A configure script was unconditionally defining NDEBUG which
in return disabled asserts. Removing this let the analyzer see that assert() is
marked __dead2 which in turn is marked as __noreturn.

Sorry for the noise.

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