From c9733b0b64e9013df90d1602fe175e79f808f95b Mon Sep 17 00:00:00 2001 From: pfg Date: Fri, 14 Jun 2013 03:28:29 +0000 Subject: [PATCH] MFC r250550, r250566; Update the gcc43 ChangeLog. Add support for "d" floating-point suffix, as defined by draft N1312 of TR 24732. git-svn-id: svn://svn.freebsd.org/base/stable/8@251728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- contrib/gcc/ChangeLog.gcc43 | 4 ++++ contrib/gcc/c-lex.c | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/contrib/gcc/ChangeLog.gcc43 b/contrib/gcc/ChangeLog.gcc43 index 22ed9e85e..b3047c4a2 100644 --- a/contrib/gcc/ChangeLog.gcc43 +++ b/contrib/gcc/ChangeLog.gcc43 @@ -182,6 +182,10 @@ * doc/invoke.texi: Document -mssse3/-mno-ssse3 switches. +2006-10-22 H.J. Lu + + * config/i386/tmmintrin.h: Remove the duplicated content. + 2006-10-21 Richard Guenther (r117932) PR tree-optimization/3511 diff --git a/contrib/gcc/c-lex.c b/contrib/gcc/c-lex.c index 108bc5cff..9ec348cd0 100644 --- a/contrib/gcc/c-lex.c +++ b/contrib/gcc/c-lex.c @@ -640,6 +640,13 @@ interpret_float (const cpp_token *token, unsigned int flags) char *copy; size_t copylen; + /* Default (no suffix) is double. */ + if (flags & CPP_N_DEFAULT) + { + flags ^= CPP_N_DEFAULT; + flags |= CPP_N_MEDIUM; + } + /* Decode type based on width and properties. */ if (flags & CPP_N_DFLOAT) if ((flags & CPP_N_WIDTH) == CPP_N_LARGE) -- 2.45.2