On 10/10/2011 07:28 PM, Gabriel Dos Reis wrote:
A GCC user not interested in numerics probably won't care. However, I
do not think that extends to people who do care about numerics and
have literals in their program. If GCC displays an error message with
literals truncated, it is not at clear to the user that GCC is
behaving correctly: for one thing, the error might be mysterious and
hard to understand, now the compiler is indicating that apparently it
does not even parse and understand correctly his or her numbers. How
if you have several numbers like that that differs only on the 10th
digit? If the user is using an IDE that pattern match the output on
the source code, it would be even more confusing (as it is now.)
Would you like to see the max_digits10 - inspired patch for 4.7.0?
Again, no strong opinion, just let me know. Personally, I find that too
quite a bit better than the current behavior.
Paolo.