avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] RE: Patch Fix PR35013, PR27192


From: Andy H
Subject: Re: [avr-gcc-list] RE: Patch Fix PR35013, PR27192
Date: Thu, 17 Apr 2008 20:42:49 -0400
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

I tested it with PROGMEM and it returns byte address (same as now)

Tested it with Labels ( ptr = &&foo) and it return word address (which I intended).

I did not test goto *ptr, as I have not loaded patch for jump/long jump (so its does nothing). I'm sure my patch for that expects words so it will not be problem.

I have  checked  switch/jump tables. That is un-changed using WORDs,

To Summarize:

Address of function WORDs
Address of function +- offset WORDS with WORD offset
Address of normal RAM variable BYTEs
Address of PROGMEM variable BYTEs
Address of Label WORDS
Address used in switch table WORDs
Pointer used in goto *ptr  WORDs (TBC)

Looks good so far!

Comments?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]