Try to evaluate __builtin_choose_expr arguments as constants if possible#204
Conversation
|
Isn't this already being done here? Lines 4709 to 4715 in e21285a |
If I run the newly introduced test case on upstream Goblint, it results in Whether or not this is the correct place to fix it, I am not sure, my primary concern was getting it to work with Linux kernel sources. I am not familiar enough with Goblint code base to make such judgements. |
|
I think I see what the issue is: the constant expressions in the test contain short-circuiting logical operators, which This seems like a broader oversight than |
|
Changed to |
__builtin_choose_expr arguments as constants if possible
This feature is necessary for Linux kernel module analysis.