Re: type promotion

2014-02-09 Thread Richard Sandiford
Sorry for the late answer. Umesh Kalappa writes: > Was porting gcc 4.8.1 to the private target which has 8 bit regs and > can be used as pair for 16bit like AB ,CD but not BC or AD. > > I was stuck in the type promotion like > > int i; > unsigned char c; > > int test () > { > i =c; > } > > de

Re: type promotion for fixed point types

2009-02-27 Thread Joseph S. Myers
On Fri, 27 Feb 2009, Sean D'Epagnier wrote: > Hi, > > I just added support for printf and scanf of fixed point types to avr > libc. I wanted to handle: > > Currently "accum" and "fract" work, but not "short accum" or "short fract" > > This is not a problem for integers currently since they g