This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch fixes a bug for conversions from negative fixed-point numbers to integers. A test is updated to include this case. Thanks! Regards, Chao-ying ChangeLog 2007-03-21 Chao-ying Fu <fu@mips.com> * config/fixed-bit.c (FIXED_ALL, FIXED_UINT): From fixed-point to integers, we need to check for negative fixed-point numbers to round toward zero. testsuite/ChangeLog 2007-03-21 Chao-ying Fu <fu@mips.com> * gcc.dg/fixed-ponit/convert.c: Add tests for conversions from negative fixed-point numbers to integers.
Attachment:
gcc.diff
Description: gcc.diff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |