We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c06afd commit b2625a1Copy full SHA for b2625a1
src/compiler/ast-node-check.bas
@@ -177,8 +177,10 @@ function astLoadPTRCHK _
177
end if
178
179
'' assign to a temp, can't reuse the same vreg or registers could
180
- '' be spilled as IR can't handle inter-blocks
181
- t = astNewASSIGN( astNewVAR( n->sym ), l, AST_OPOPT_ISINI )
+ '' be spilled as IR can't handle inter-blocks.
+ '' And don't generate pointer warnings for this internal assignment; as
182
+ '' in the case where datatypes differ by mangle modifier only.
183
+ t = astNewASSIGN( astNewVAR( n->sym ), l, AST_OPOPT_ISINI or AST_OPOPT_DONTCHKPTR )
184
astLoad( t )
185
astDelNode( t )
186
0 commit comments