This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/69225] gcc uses double precision instead of single float with -m32 -std=c99 -msoft-float
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jan 2016 23:03:20 +0000
- Subject: [Bug target/69225] gcc uses double precision instead of single float with -m32 -std=c99 -msoft-float
- Auto-submitted: auto-generated
- References: <bug-69225-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69225
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Mon, 11 Jan 2016, kyukhin at gcc dot gnu.org wrote:
> BTW, for -std=gnu99 we have EXCESS_PRECISION_FAST engaged.
> This differs from -std=c99
>
> If this correct behavior? I see no mentions of this difference w/ c99 in
> documentation. It only states that gnu99 is "C99 with GNU extensions"
Yes, it's intended and documented. See the documentation for
-fexcess-precision: "By default, @option{-fexcess-precision=fast} is in
effect ... @option{-fexcess-precision=standard} ... is enabled by default
for C if a strict conformance option such as @option{-std=c99} is used".