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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.misc-tests/] [gcov-13.c] - Blame information for rev 713

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

Line No. Rev Author Line
1 690 jeremybenn
/* Test gcov weak ellision.  */
2
 
3
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
4
/* { dg-require-weak "" } */
5
/* { dg-do run { target native } } */
6
/* { dg-additional-sources "gcovpart-13b.c" } */
7
/* { dg-skip-if "weak ellision not supported" { { hppa*-*-hpux* } && { ! lp64 } } { "*" } { "" } } */
8
 
9
int __attribute__ ((weak)) weak ()
10
{
11
  return 1;  /* count(-) { xfail *-*-* } */
12
}
13
 
14
int main ()
15
{
16
  return weak (); /* count(1) */
17
}
18
 
19
/* { dg-final { run-gcov { -a gcov-13.c } { xfail *-*-* } } } */
20
/* { dg-final { run-gcov { -a gcovpart-13b.c } } } */

powered by: WebSVN 2.1.0

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