Closed
Description
WIth gcc 6.3, cbmc 5.6 fails one test, regression/cpp/enum8/test.desc, when processing this definition in /usr/include/c++/6.3.1/x86_64-redhat-linux/bits/c++config.h:
namespace std
{
typedef __SIZE_TYPE__ size_t;
typedef __PTRDIFF_TYPE__ ptrdiff_t;
#if __cplusplus >= 201103L
typedef decltype(nullptr) nullptr_t;
#endif
}
The issue arises from the nullptr_t definition, which cbmc's parser does not seem to understand. Running the test in c++98 mode works around the issue. However, on systems with gcc 6.3, runtime failures follow from the same issue; see https://bugzilla.redhat.com/show_bug.cgi?id=1414925 for one example.
Metadata
Metadata
Assignees
Labels
No labels