Menu

#905 internal error when using array in pdata

closed-out-of-date
nobody
5
2013-05-25
2005-03-26
Anonymous
No

I am encountering an internal compiler error when using
an array in paged data memory.

-begin cjd_tes1.c

pdata unsigned int gl_buffer[100];

void main() {
gl_buffer[1] = 1;
}

-end cjd_tes1.c

-begin compiler oputput

d:\progra~1\SDCC\bin\sdcc cjd_tes1.c
cjd_tes1.c:6:1: warning: no newline at e
cjd_tes1.c:5: error: FATAL Compiler Inte
8040' : need pointerCode
Contact Author with source code

-end compiler output

SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.4.0 (F
eb 23 2004) (MINGW32)

Chris Douglass
cdouglass@gmail.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    the problem appears to be resolved in the march 19 nightly build
    SDCC :
    mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
    2.4.8 #9
    77 (Mar 19 2005) (MINGW32)

    Chris Douglass
    cdouglass@gmail.com

     
  • Maarten Brock

    Maarten Brock - 2005-03-27
    • milestone: --> non_bugs
    • status: open --> closed-out-of-date
     

Log in to post a comment.