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.target/] [i386/] [pr23943.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* This used to ICE in side_effects_p, due to a problem in cse.c.
2
   Origin: marcus at jet dot franken dot de.  */
3
/* { dg-do compile } */
4
/* { dg-require-effective-target fpic } */
5
/* { dg-options "-O2 -fPIC" } */
6
 
7
typedef long unsigned int size_t;
8
 
9
extern size_t strlen (__const char *__s)
10
    __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
11
 
12
static char savecallsin[256] = "";
13
 
14
int read_agent_config(void)
15
{
16
  savecallsin[0] = '\0';
17
 
18
  if (savecallsin[strlen(savecallsin) - 1] != '/')
19
    __builtin___strncat_chk (savecallsin, "/", sizeof(savecallsin) - strlen(savecallsin) - 1, __builtin_object_size (savecallsin, 2 > 1)) ;
20
  return 0;
21
}

powered by: WebSVN 2.1.0

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