mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Fix FunC UB (#656)
* Fix UB in func * Improve optimizing int consts and unused variables in FunC * Bump funC version to 0.4.3 * Fix analyzing repeat loop --------- Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
		
							parent
							
								
									f51eb2d747
								
							
						
					
					
						commit
						8eb167b76a
					
				
					 8 changed files with 31 additions and 8 deletions
				
			
		|  | @ -179,7 +179,7 @@ void VarDescr::set_const_nan() { | |||
| 
 | ||||
| void VarDescr::operator|=(const VarDescr& y) { | ||||
|   val &= y.val; | ||||
|   if (is_int_const() && cmp(int_const, y.int_const) != 0) { | ||||
|   if (is_int_const() && y.is_int_const() && cmp(int_const, y.int_const) != 0) { | ||||
|     val &= ~_Const; | ||||
|   } | ||||
|   if (!(val & _Const)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue