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
Just to fix this one is easy, but there may (very likely) be similar errors elsewhere not found. I think either we need something like NullStmt to completely avoid nullptr for Stmt*, or check it before each dereference (which is much more verbose).
The text was updated successfully, but these errors were encountered:
Using
nullptr
as a parameter here will cause the dereference ofnullptr
later, which is an undefined behavior.taichi/taichi/ir/frontend_ir.cpp
Lines 681 to 685 in 0888810
This is one of the dereferences, which is the root cause of #3323.
taichi/taichi/transforms/make_thread_local.cpp
Line 80 in 5a18210
Just to fix this one is easy, but there may (very likely) be similar errors elsewhere not found. I think either we need something like
NullStmt
to completely avoidnullptr
forStmt*
, or check it before each dereference (which is much more verbose).The text was updated successfully, but these errors were encountered: