URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1 -fdump-tree-optimized" } */
|
/* { dg-options "-O1 -fdump-tree-optimized" } */
|
|
|
struct _fat_ptr
|
struct _fat_ptr
|
{
|
{
|
unsigned char *curr;
|
unsigned char *curr;
|
unsigned char *base;
|
unsigned char *base;
|
unsigned char *last_plus_one;
|
unsigned char *last_plus_one;
|
};
|
};
|
int Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr);
|
int Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr);
|
int
|
int
|
Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr)
|
Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr)
|
{
|
{
|
struct _fat_ptr *_T0;
|
struct _fat_ptr *_T0;
|
struct _fat_ptr *_T1;
|
struct _fat_ptr *_T1;
|
struct _fat_ptr _T2;
|
struct _fat_ptr _T2;
|
int _T3;
|
int _T3;
|
struct _fat_ptr _ans;
|
struct _fat_ptr _ans;
|
int _change;
|
int _change;
|
|
|
{
|
{
|
_T0 = sptr;
|
_T0 = sptr;
|
_T1 = sptr;
|
_T1 = sptr;
|
_T2 = *sptr;
|
_T2 = *sptr;
|
_T3 = -1;
|
_T3 = -1;
|
_ans = _T2;
|
_ans = _T2;
|
_change = -1;
|
_change = -1;
|
_ans.curr += 4294967295U;
|
_ans.curr += 4294967295U;
|
*sptr = _ans;
|
*sptr = _ans;
|
return (0);
|
return (0);
|
}
|
}
|
}
|
}
|
|
|
/* The local aggregates . */
|
/* The local aggregates . */
|
/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized"} } */
|
/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized"} } */
|
/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized"} } */
|
/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized"} } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.