mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixed gcc compiler warnings with release build
This commit is contained in:
		
							parent
							
								
									0192f1c66e
								
							
						
					
					
						commit
						f4f230d7cc
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -487,7 +487,7 @@ struct BtorDumper | ||||||
| 				int l1_width = cell->parameters.at(RTLIL::IdString("\\A_WIDTH")).as_int(); | 				int l1_width = cell->parameters.at(RTLIL::IdString("\\A_WIDTH")).as_int(); | ||||||
| 				int l2_width = 	cell->parameters.at(RTLIL::IdString("\\B_WIDTH")).as_int(); | 				int l2_width = 	cell->parameters.at(RTLIL::IdString("\\B_WIDTH")).as_int(); | ||||||
| 				 | 				 | ||||||
| 				assert(l1_signed == l2_signed); | 				log_assert(l1_signed == l2_signed); | ||||||
| 				l1_width = l1_width > output_width ? l1_width : output_width;					 | 				l1_width = l1_width > output_width ? l1_width : output_width;					 | ||||||
| 				l1_width = l1_width > l2_width ? l1_width : l2_width; | 				l1_width = l1_width > l2_width ? l1_width : l2_width; | ||||||
| 				l2_width = l2_width > l1_width ? l2_width : l1_width; | 				l2_width = l2_width > l1_width ? l2_width : l1_width; | ||||||
|  |  | ||||||
|  | @ -1602,7 +1602,7 @@ void AstNode::mem2reg_as_needed_pass1(std::map<AstNode*, std::set<std::string>> | ||||||
| 
 | 
 | ||||||
| 	if (proc_flags_p) { | 	if (proc_flags_p) { | ||||||
| 		for (auto it : *proc_flags_p) | 		for (auto it : *proc_flags_p) | ||||||
| 			assert((it.second & ~0xff000000) == 0); | 			log_assert((it.second & ~0xff000000) == 0); | ||||||
| 		delete proc_flags_p; | 		delete proc_flags_p; | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue