Menu

#820 SDCC says : Contact Author with source code

closed-fixed
5
2013-05-25
2004-09-29
Anonymous
No

Hello,

I use 2 dimensional arrays in my algo,

It works when it is located in data space but when I
want to put it in pdata or xdata, it fails and reports :

test.c:6: error: FATAL Compiler Internal Error in file
'gen.c' line number '7792' : need pointerCode
Contact Author with source code

Here is my code :

pdata unsigned char s[6][6];

void main() {

s[3][5] = 0x10;

}

PS:

sdcc -v :
SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.3.8 (Sep 17 2004) (UNIX)

Discussion

  • Nobody/Anonymous

    simple testcase

     
  • Maarten Brock

    Maarten Brock - 2004-09-29

    Logged In: YES
    user_id=888171

    Dear anonymous,

    Allthough you compiled SDCC 2.3.8 only last week it still is
    nowhere near up-to-date. Please try again with 2.4.4 from
    the snapshot page. (http://sdcc.sourceforge.net/snap.php)

    Greets,
    Maarten

     
  • Maarten Brock

    Maarten Brock - 2004-10-05
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed
     
  • Maarten Brock

    Maarten Brock - 2004-10-05

    Logged In: YES
    user_id=888171

    Works perfectly on 2.4.5 with xdata. And with pdata there
    are more known problems than just this one.

     
  • Maarten Brock

    Maarten Brock - 2004-10-05
    • assigned_to: maartenbrock --> nobody
    • status: closed --> open
     
  • Maarten Brock

    Maarten Brock - 2004-10-05

    Logged In: YES
    user_id=888171

    Oops

     
  • Maarten Brock

    Maarten Brock - 2004-10-19
    • assigned_to: nobody --> maartenbrock
    • milestone: --> fixed
    • status: open --> closed-fixed
     
  • Maarten Brock

    Maarten Brock - 2004-10-19

    Logged In: YES
    user_id=888171

    Fixed in SDCC 2.4.6

     

Log in to post a comment.