OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [dwarf2/] [inline1.c] - Rev 399

Go to most recent revision | 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 } } */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.