You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in the title, the test test_CanHaveNestedTryBlocksInASingleFunction_ThrowOutside (file TestException.c) fails if compiled with -O2 or -O3.
This is due to the volatile qualifier missing when declaring int i = 0; (line 284).
The test succeeds if i is declared as volatile.
This is documented in docs/CException.md, Limitations point 2.
The text was updated successfully, but these errors were encountered:
As mentioned in the title, the test
test_CanHaveNestedTryBlocksInASingleFunction_ThrowOutside
(fileTestException.c
) fails if compiled with -O2 or -O3.This is due to the volatile qualifier missing when declaring
int i = 0;
(line 284).The test succeeds if
i
is declared as volatile.This is documented in
docs/CException.md
, Limitations point 2.The text was updated successfully, but these errors were encountered: