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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr23943.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 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 { target i?86-*-* x86_64-*-* } } */
4
/* { dg-options "-O2 -fPIC" } */
5
 
6
typedef long unsigned int size_t;
7
 
8
extern size_t strlen (__const char *__s)
9
    __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
10
 
11
static char savecallsin[256] = "";
12
 
13
int read_agent_config(void)
14
{
15
  savecallsin[0] = '\0';
16
 
17
  if (savecallsin[strlen(savecallsin) - 1] != '/')
18
    __builtin___strncat_chk (savecallsin, "/", sizeof(savecallsin) - strlen(savecallsin) - 1, __builtin_object_size (savecallsin, 2 > 1)) ;
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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