This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Hexadecimal Floating point constant handling


Ameya Malondkar <ameya.malondkar@tcs.com> writes:

> GCC accepts constructs such as :  float p = 0x.p5;

...

> As per the grammar to my understanding, the above construct is invalid. 
> Just wanted to know whether the support for the above construct is a GCC
> Extension or my understanding of the grammar is incorrect?

I agree.  Per the grammar, this should not be recognized.

It does not real harm, but would you like to file a bug report?  See
http://gcc.gnu.org/bugs.html .  Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]