URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// GROUPS passed operators
|
// GROUPS passed operators
|
// opr-new file
|
// opr-new file
|
// From: flisakow@cae.wisc.edu
|
// From: flisakow@cae.wisc.edu
|
// Date: Thu, 1 Sep 94 18:21:09 CDT
|
// Date: Thu, 1 Sep 94 18:21:09 CDT
|
// Subject: g++ bug?
|
// Subject: g++ bug?
|
// Message-ID: <9409012321.AA05346@hprisc-19.cae.wisc.edu>
|
// Message-ID: <9409012321.AA05346@hprisc-19.cae.wisc.edu>
|
|
|
#include
|
#include
|
|
|
|
|
struct fcell {
|
struct fcell {
|
FILE *fd;
|
FILE *fd;
|
struct fcell *next;
|
struct fcell *next;
|
};
|
};
|
|
|
|
|
class FStack {
|
class FStack {
|
public:
|
public:
|
struct fcell *top;
|
struct fcell *top;
|
FStack() { top = NULL ; }
|
FStack() { top = NULL ; }
|
inline void push(FILE * fd1, int line_num, char *fname = NULL) {
|
inline void push(FILE * fd1, int line_num, char *fname = NULL) {
|
struct fcell *tmp = new struct fcell;
|
struct fcell *tmp = new struct fcell;
|
tmp->fd = fd1;
|
tmp->fd = fd1;
|
tmp->next = top;
|
tmp->next = top;
|
top = tmp ;
|
top = tmp ;
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.