Re: [Patch] Ad PR 56064: Extend fixed_from_double_int input

2013-02-08 Thread Richard Biener
On Thu, Feb 7, 2013 at 5:07 PM, Georg-Johann Lay wrote: > This patch solves a problem with VIEW_CONVERT_EXPR folding for fixed_cst and > that use fixed-value.c:fixed_from_double_int. > > The patch sign/zero extends the double_int input according to the requested > fixed-point mode. > > The patch b

[Patch] Ad PR 56064: Extend fixed_from_double_int input

2013-02-07 Thread Georg-Johann Lay
This patch solves a problem with VIEW_CONVERT_EXPR folding for fixed_cst and that use fixed-value.c:fixed_from_double_int. The patch sign/zero extends the double_int input according to the requested fixed-point mode. The patch bootstraps on x86-linux-gnu and passes testsuite on avr-unknown one.