mirror of
				https://github.com/espressif/binutils-gdb.git
				synced 2025-11-04 06:37:06 +08:00 
			
		
		
		
	* ld-gc/gc.c: Make sure used_func is not inlined.
This commit is contained in:
		@ -1,3 +1,7 @@
 | 
			
		||||
2008-01-23  Andreas Schwab  <schwab@suse.de>
 | 
			
		||||
 | 
			
		||||
	* ld-gc/gc.c: Make sure used_func is not inlined.
 | 
			
		||||
 | 
			
		||||
2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
 | 
			
		||||
 | 
			
		||||
	* ld-gc/gc.exp: Use [which $CC] != 0.
 | 
			
		||||
 | 
			
		||||
@ -8,6 +8,7 @@ unused_func (int v)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
__attribute__((noinline))
 | 
			
		||||
used_func (int v)
 | 
			
		||||
{
 | 
			
		||||
  return 2 * used_var;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user