#535 FATAL Compiler Internal Error

closed-fixed
z80 port (188)
5
2003-07-21
2003-06-23
Anonymous
No

1.- Sample code
#define uchar unsigned char
typedef struct {
uchar uDelay;
uchar (*tarea)(void);
} TAREA_PRI;

extern uchar uInterrup;

void RT_PriorityPoll(TAREA_PRI pPoll[])
{
uchar i = 0;
for(i = 0; pPoll[i].uDelay != 0; i++) {
if(pPoll[i + 1].uDelay == 0)
uInterrup = 0;
}
}

2.- Command used
SDCC -c -mz80 -D__Z180 -DDEBUG=1
-I"C:\datos\lengs\Micros\include" ..\..\SRC\RT_Secundary.C

3.- SDCC Version 2.3.5 (May 15 2003)

4.- Error Message
..\..\SRC\RT_Priority.C:28: error: FATAL Compiler
Internal Error in file 'gen.c' line number '1656' :
aopPut got offset > aop->size
Contact Author with source code

The error is generated in the line
if(pPoll[i + 1].uDelay == 0)

5.- My email address
jmaldarondo@euskalnet.net

Discussion

  • Erik Petrich

    Erik Petrich - 2003-07-21

    Logged In: YES
    user_id=635249

    Fixed in src/z80/gen.c 1.111

     
  • Erik Petrich

    Erik Petrich - 2003-07-21
    • assigned_to: nobody --> epetrich
    • status: open --> closed-fixed
     

Log in to post a comment.