with the latest code for PIC micros..
after accessing vars in bank1 in a function, the
revert to bank0 (bcf...) is coded after the return
Logged In: YES
This has been fixed a long time ago (and been superceeded by
other bugs concerning bank selection).
Works for me in SDCC 2.5.1 #1065.