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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr43643.c] - Blame information for rev 713

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

Line No. Rev Author Line
1 689 jeremybenn
/* Contributed by Jürgen Keil <jrgn.keil@googlemail.com> */
2
 
3
/* { dg-do run } */
4
/* { dg-require-profiling "-pg" } */
5
/* { dg-options "-O2 -pg" } */
6
/* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */
7
 
8
extern char *strdup (const char *);
9
 
10
void
11
func(char *a, char *b, char *c)
12
{
13
  strdup(a);
14
  strdup(b);
15
  strdup(c);
16
}
17
 
18
int
19
main(void)
20
{
21
  func("a", "b", "c");
22
  return 0;
23
}
24
 
25
/* { dg-final { cleanup-profile-file } } */

powered by: WebSVN 2.1.0

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