summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 11:16:29 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 11:16:29 +0000
commite6084c9068145065a9d861b3bd9d08c89008d544 (patch)
tree42f2960a3dab640715cece234cddfc9fc2c680e9 /gcc/c-lex.c
parent374dbcde96e75af13b466a5810d7d0a5462726b0 (diff)
downloadgcc-e6084c9068145065a9d861b3bd9d08c89008d544.tar.gz
(yylex): For float, build constant in long double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-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 8f8c64a6731..f5d3b40a9a1 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;