PR middle-end/21781
commitf2ecae0888724b127e4110d52908a2f4938590cb
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2006 16:34:05 +0000 (16 16:34 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Mar 2006 16:34:05 +0000 (16 16:34 +0000)
treea2a57c56bccf00dd8cdef7eec61b9feab32f21c8
parentdc44b957fb24d4e3581e40788fec69b5f4f4b9bc
PR middle-end/21781
* real.c (real_from_string): If the mantissa is zero, don't bother
parsing the exponent as the result should always be zero.

* gcc.dg/real-const-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112136 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/real-const-1.c [new file with mode: 0644]