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

2011-06-09 Thread Denis Chertykov
2011/6/9 Georg-Johann Lay : > This patch fixes a thinko in avr_function_arg_advance. > > Without the patch, following code will report false positive for > passing args in fixed regs like: > > error: Register r0 is needed to pass a parameter but is fixed > error: Register r1 is needed to pass a par

[Patch, AVR]: Fix thinko in avr_function_arg_advance

2011-06-09 Thread Georg-Johann Lay
This patch fixes a thinko in avr_function_arg_advance. Without the patch, following code will report false positive for passing args in fixed regs like: error: Register r0 is needed to pass a parameter but is fixed error: Register r1 is needed to pass a parameter but is fixed This is the code: