URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
/* This used to ICE with type-checking enabled. */
|
/* This used to ICE with type-checking enabled. */
|
|
|
typedef unsigned char uint8_t;
|
typedef unsigned char uint8_t;
|
typedef unsigned int uint_least32_t;
|
typedef unsigned int uint_least32_t;
|
extern int foo (long int __off);
|
extern int foo (long int __off);
|
void write (uint_least32_t chunk_len)
|
void write (uint_least32_t chunk_len)
|
{
|
{
|
uint8_t tmp[4];
|
uint8_t tmp[4];
|
foo (-(long)chunk_len - sizeof(tmp));
|
foo (-(long)chunk_len - sizeof(tmp));
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.