aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 06:16:29 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 06:16:29 -0500
commit86d6a10a6eb5581c30c03168e1310b47e7184dcf (patch)
tree42f2960a3dab640715cece234cddfc9fc2c680e9 /gcc
parent56070e550394bedc6ac20152d4e09b9c66bd8d63 (diff)
downloadgcc-86d6a10a6eb5581c30c03168e1310b47e7184dcf.zip
gcc-86d6a10a6eb5581c30c03168e1310b47e7184dcf.tar.gz
gcc-86d6a10a6eb5581c30c03168e1310b47e7184dcf.tar.bz2
(yylex): For float, build constant in long double.
From-SVN: r8980
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 8f8c64a..f5d3b40 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1271,7 +1271,7 @@ yylex ()
if (floatflag != NOT_FLOAT)
{
- tree type = double_type_node;
+ tree type = long_double_type_node;
int garbage_chars = 0, exceeds_double = 0;
int imag = 0;
REAL_VALUE_TYPE value;