[Patch,AVR]: Fix thinko in LEGITIMIZE_RELOAD_ADDRESS

2011-10-21 Thread Georg-Johann Lay
This fixes avr_legitimize_reload_address: Since breaking out the code from LEGITIMIZE_RELOAD_ADDRESS, protiype of above is avr_legitimize_reload_address (rtx x, ... but must be avr_legitimize_reload_address (rtx *px, ... because at one place &x is used as input to push_reload which is now px

Re: [Patch,AVR]: Fix thinko in LEGITIMIZE_RELOAD_ADDRESS

2011-10-21 Thread Denis Chertykov
2011/10/21 Georg-Johann Lay : > This fixes avr_legitimize_reload_address: > > Since breaking out the code from LEGITIMIZE_RELOAD_ADDRESS, protiype of above > is >   avr_legitimize_reload_address (rtx x, ... > but must be >   avr_legitimize_reload_address (rtx *px, ... > because at one place &x is