-
Notifications
You must be signed in to change notification settings - Fork 274
tests fail on parsing noexcept
and decltype
in c++17 mode
#6090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
martin-cs
pushed a commit
to martin-cs/cbmc
that referenced
this issue
May 24, 2021
…iably This should address issue: diffblue#6090
7 tasks
I don't have a GCC 11 handy so is there any chance you could see if this: fixes the problem. |
martin-cs
pushed a commit
to martin-cs/cbmc
that referenced
this issue
May 24, 2021
This should address issue: diffblue#6090
Hi @martin-cs! Sorry for bumping but I've tried the correct solution proposed in #6144. I've run into some problems that I have described in a commentary in the aforementioned PR. |
Thanks @lzaoral I will chase them down there. I think @tautschnig 's patch was better than #6144 . |
7 tasks
See #6402 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CBMC version: 5.29
Operating system: Fedora 34
Exact command line resulting in the issue:
ctest -L CORE
What behaviour did you expect: all tests pass
What happened instead:
Failed test: regression/cpp/virtual1/
Failed test: regression/cpp/Method_qualifier1
The problem is with parsing the
noexcept
anddecltype
expressions.The reason of this problem is GCC 11 uses c++17 by default. If I specify
goto-cc -std=c++14/11/03
, then the mentioned tests pass.The text was updated successfully, but these errors were encountered: