URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* PR c++/14755 */
|
/* PR c++/14755 */
|
extern void abort (void);
|
extern void abort (void);
|
extern void exit (int);
|
extern void exit (int);
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
#if __INT_MAX__ >= 2147483647
|
#if __INT_MAX__ >= 2147483647
|
struct { int count: 31; } s = { 0 };
|
struct { int count: 31; } s = { 0 };
|
while (s.count--)
|
while (s.count--)
|
abort ();
|
abort ();
|
#elif __INT_MAX__ >= 32767
|
#elif __INT_MAX__ >= 32767
|
struct { int count: 15; } s = { 0 };
|
struct { int count: 15; } s = { 0 };
|
while (s.count--)
|
while (s.count--)
|
abort ();
|
abort ();
|
#else
|
#else
|
/* Don't bother because __INT_MAX__ is too small. */
|
/* Don't bother because __INT_MAX__ is too small. */
|
#endif
|
#endif
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.