OpenCores
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] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O0 -gdwarf-2 -dA" } */
3
void e(int);
4
__attribute__ ((always_inline)) inline int
5
t(int function_parameter)
6
{
7
  e(function_parameter);
8
}
9
 
10
void test (int function_parameter2)
11
{
12
  t(function_parameter2);
13
}
14
 
15
/* Verify that we get both function_parameter and function_parameter2 declared
16
   in test.  Overall we should have 3 variables with location defined (also
17
   function_parameter in offline copy of t.  */
18
/* { dg-final { scan-assembler-times " DW_AT_location" 3 } } */

powered by: WebSVN 2.1.0

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