Re: question: suffix for fixed-point literal constant

2009-02-11 Thread Ian Lance Taylor
Janis Johnson janis...@us.ibm.com writes: My question, though, is about the case of the letters in the suffixes. N1169 says note that the suffix is case insensitive; should I take that literally and allow any mix of cases (as GCC currently does), or require that the same case be used within a

RE: question: suffix for fixed-point literal constant

2009-02-11 Thread Fu, Chao-Ying
Janis Johnson wrote: I'm rewriting function interpret_float_suffix in libcpp/expr.c to fix suffixes in decimal float literal constants for c/33466. While I'm at it I'm fixing suffixes for fixed-point literal constants. Currently for fixed-point GCC accepts any ordering of the letters in

RE: question: suffix for fixed-point literal constant

2009-02-11 Thread Janis Johnson
On Wed, 2009-02-11 at 10:42 -0800, Fu, Chao-Ying wrote: Janis Johnson wrote: I'm rewriting function interpret_float_suffix in libcpp/expr.c to fix suffixes in decimal float literal constants for c/33466. While I'm at it I'm fixing suffixes for fixed-point literal constants.

Re: question: suffix for fixed-point literal constant

2009-02-11 Thread Fu, Chao-Ying
Janis Johnson wrote: On Wed, 2009-02-11 at 10:42 -0800, Fu, Chao-Ying wrote: Janis Johnson wrote: I'm rewriting function interpret_float_suffix in libcpp/expr.c to fix suffixes in decimal float literal constants for c/33466. While I'm at it I'm fixing suffixes for fixed-point

Re: question: suffix for fixed-point literal constant

2009-02-11 Thread Joseph S. Myers
On Wed, 11 Feb 2009, Janis Johnson wrote: I'm rewriting function interpret_float_suffix in libcpp/expr.c to fix suffixes in decimal float literal constants for c/33466. While I'm at it I'm fixing suffixes for fixed-point literal constants. Currently for fixed-point GCC accepts any ordering

Re: question: suffix for fixed-point literal constant

2009-02-11 Thread Janis Johnson
On Wed, 2009-02-11 at 22:47 +, Joseph S. Myers wrote: On Wed, 11 Feb 2009, Janis Johnson wrote: I'm rewriting function interpret_float_suffix in libcpp/expr.c to fix suffixes in decimal float literal constants for c/33466. While I'm at it I'm fixing suffixes for fixed-point literal