This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Trouble with floating point constants in printf and different versions of gcc
- From: Ian Lance Taylor <iant at google dot com>
- To: Momchil Ivanov <momchil at xaxo dot eu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 15 Oct 2011 19:35:40 -0700
- Subject: Re: Trouble with floating point constants in printf and different versions of gcc
- References: <86pqhycucg.wl%momchil@xaxo.eu>
Momchil Ivanov <momchil@xaxo.eu> writes:
> gcc 4.5 and 4.6 produce different output when compiled with -std=c99 than gcc 4.2 and 4.4.
In gcc 4.5 and up -std=c99 implies -fexcess-precision=standard, q.v.
Ian