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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [pch/] [struct-1.c] - Diff between revs 298 and 338

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

Rev 298 Rev 338
#include "struct-1.h"
#include "struct-1.h"
 
 
struct ChainSearchRecord {
struct ChainSearchRecord {
 int identity;
 int identity;
};
};
typedef struct ChainSearchRecord ChainSearchRecord;
typedef struct ChainSearchRecord ChainSearchRecord;
void foo (ChainSearchPtr s)
void foo (ChainSearchPtr s)
{
{
#if(__SIZEOF_INT__ >= 4)        
#if(__SIZEOF_INT__ >= 4)        
  s->identity = 0x6a73616d;
  s->identity = 0x6a73616d;
#else
#else
   s->identity = 0x616d;
   s->identity = 0x616d;
#endif
#endif
}
}
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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