tcc-doc.texi: - Document attribute bound_no_checking tcctok.h: - Add bound_no_checking attribute tcc.h: - Add no_bcheck function attribute tccgen.c: - Use function attribute no_bcheck in merge_funcattr/parse_attribute/gen_function bcheck.c: - Fix no_checking in __bound_new_region/__bound_free/__bound_check tests/tests2/114_bound_signal.c: - Fix code with new attribute bound_no_checking tests/tests2/103_implicit_memmove.c: - Fix memmove prototype
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Test that the memmove TCC is emitting for the struct copy
 | 
						|
   and hence implicitely declares can be declared properly also
 | 
						|
   later.  */
 | 
						|
struct S { int a,b,c,d, e[1024];};
 | 
						|
int foo (struct S *a, struct S *b)
 | 
						|
{
 | 
						|
  *a = *b;
 | 
						|
  return 0;
 | 
						|
}
 | 
						|
 | 
						|
void *memmove(void*,const void*,__SIZE_TYPE__);
 | 
						|
void foo2 (struct S *a, struct S *b)
 | 
						|
{
 | 
						|
  memmove(a, b, sizeof *a);
 | 
						|
}
 | 
						|
 | 
						|
int main()
 | 
						|
{
 | 
						|
  return 0;
 | 
						|
}
 |