OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr21584-1.C] - Diff between revs 301 and 384

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 384
extern "C" {
extern "C" {
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
     throw () __attribute__ ((__nonnull__ (1, 2)));
     throw () __attribute__ ((__nonnull__ (1, 2)));
extern char *foo (char *__restrict __s) throw ();
extern char *foo (char *__restrict __s) throw ();
}
}
class cset {
class cset {
public:
public:
  cset();
  cset();
  int operator()(unsigned char) const;
  int operator()(unsigned char) const;
private:
private:
  char v[(127 * 2 + 1)+1];
  char v[(127 * 2 + 1)+1];
};
};
inline int cset::operator()(unsigned char c) const
inline int cset::operator()(unsigned char c) const
{
{
  return v[c];
  return v[c];
}
}
extern cset csspace;
extern cset csspace;
void baz()
void baz()
{
{
  char *vec;
  char *vec;
  char buf[512];
  char buf[512];
  char *p = buf;
  char *p = buf;
  while (csspace(*p))
  while (csspace(*p))
    p++;
    p++;
  if (*p != '#' && (p = foo(buf)) != 0) {
  if (*p != '#' && (p = foo(buf)) != 0) {
    vec = new char[10+ 1];
    vec = new char[10+ 1];
    strcpy(vec, p);
    strcpy(vec, p);
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

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