Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NIOS II IDE BUG

Altera_Forum
Honored Contributor II
1,030 Views

I thought I'd post this in case other people are having a similar problem. It appears that there is a problem with the C Development Tools that ship with the Eclipse IDE. If code of the following structure appears in a source file and the environment tries to parse the file (just saving or opening it is enough) then the java virtual machine starts to consume 99% of CPU resources. 

 

typedef struct 

} FirstStruct; 

 

struct SecondStruct 

FirstStruct *FirstStruct; 

}; 

 

void TestFunc(void) 

FirstStruct *Dummy; 

 

Although this is an artificial example, it occured with some real life code that I had ported to NIOS II. Renaming the line "FirstStruct *FirstStruct;" to "FirstStruct *pFirstStruct;" solves the problem. 

 

Can anyone else confirm that this is a problem? 

 

Alistair
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
369 Views

I fully reproduced this issue, and Altera is now looking into the problem.  

 

Thanks!
0 Kudos
Reply