http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56064
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2013-02-08 13:23:46 UTC --- Author: gjl Date: Fri Feb 8 13:23:34 2013 New Revision: 195885 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195885 Log: gcc/ PR tree-optimization/56064 * fixed-value.c (fixed_from_double_int): Sign/zero extend payload bits according to mode. * fixed-value.h (fixed_from_double_int) (const_fixed_from_double_int): Adjust comments. gcc/testsuite/ PR tree-optimization/56064 * gcc.dg/fixed-point/view-convert-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/fixed-point/view-convert-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/fixed-value.c trunk/gcc/fixed-value.h trunk/gcc/testsuite/ChangeLog