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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [strlenopt-4g.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* This test needs runtime that provides stpcpy function.  */
2
/* { dg-do run { target *-*-linux* } } */
3
/* { dg-options "-O2 -fdump-tree-strlen" } */
4
 
5
#define USE_GNU
6
#include "strlenopt-4.c"
7
 
8
/* { dg-final { scan-tree-dump-times "strlen \\(" 1 "strlen" } } */
9
/* { dg-final { scan-tree-dump-times "memcpy \\(" 4 "strlen" } } */
10
/* { dg-final { scan-tree-dump-times "strcpy \\(" 1 "strlen" } } */
11
/* { dg-final { scan-tree-dump-times "strcat \\(" 0 "strlen" } } */
12
/* { dg-final { scan-tree-dump-times "strchr \\(" 0 "strlen" } } */
13
/* { dg-final { scan-tree-dump-times "stpcpy \\(" 5 "strlen" } } */
14
/* { dg-final { cleanup-tree-dump "strlen" } } */

powered by: WebSVN 2.1.0

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