URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
/* Used to crash in VRP. */
|
/* Used to crash in VRP. */
|
/* Testcase by Martin Michlmayr */
|
/* Testcase by Martin Michlmayr */
|
|
|
class FXObject;
|
class FXObject;
|
class FXStream
|
class FXStream
|
{
|
{
|
public:FXStream (const FXObject *cont = __null);
|
public:FXStream (const FXObject *cont = __null);
|
FXStream & operator<< (const unsigned char &v);
|
FXStream & operator<< (const unsigned char &v);
|
};
|
};
|
|
|
bool fxsaveGIF (FXStream &store)
|
bool fxsaveGIF (FXStream &store)
|
{
|
{
|
int bitsperpixel;
|
int bitsperpixel;
|
unsigned char c1;
|
unsigned char c1;
|
c1 = 0x80;
|
c1 = 0x80;
|
c1 |= (bitsperpixel - 1) << 4;
|
c1 |= (bitsperpixel - 1) << 4;
|
store << c1;
|
store << c1;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.