URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [dwarf2/] [inline1.c] - Rev 689
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O0 -gdwarf-2 -dA" } */ void e(int); __attribute__ ((always_inline)) inline int t(int function_parameter) { e(function_parameter); } void test (int function_parameter2) { t(function_parameter2); } /* Verify that we get both function_parameter and function_parameter2 declared in test. Overall we should have 3 variables with location defined (also function_parameter in offline copy of t. */ /* { dg-final { scan-assembler-times " DW_AT_location" 3 } } */