[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||geza.herman at gmail dot com --- Comment

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-11-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #14

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||gnu.ojxq8 at dralias dot com --- Comment

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added CC||sjh at schilling dot dk --- Comment #12

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2024-03-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2020-02-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #10 from joseph at codesourcery dot com --- This has nothing to do with 84717. The present bug is simply invalid; GCC is acting as specified in the C standard for excess precision. 84717 is arguably a legitimate issue about lack o

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2020-02-06 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Comm

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #7 from Vincent Lefèvre --- (In reply to jos...@codesourcery.com from comment #5) > Lack of direct float and double arithmetic requires FLT_EVAL_METHOD == 2 No, FLT_EVAL_METHOD could also be negative, in which case GCC would be allow

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread anders at wahrzeichnen dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #6 from anders at wahrzeichnen dot de --- (In reply to jos...@codesourcery.com from comment #3) > This is as specified in the C standard. I guess you are referring to the C18 section 6.3.1.8 (2) "The values of floating operands an

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #5 from joseph at codesourcery dot com --- Most architectures use FLT_EVAL_METHOD == 0. It's specific to x87 (and older m68k) that FLT_EVAL_METHOD == 2 because x87 doesn't support direct arithmetic on float or double. Lack of dire

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread anders at wahrzeichnen dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #4 from anders at wahrzeichnen dot de --- I don't know about other archs, but on amd64, GCC emits comiss insns (SSE2 single-precision scalar compare) for f0, f1, and f2 and comisd insns (SSE2 double-precision scalar compare) for f3. S

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #3 from joseph at codesourcery dot com --- The value of FLT_EVAL_METHOD applies to constants as well as to operations. That is, when FLT_EVAL_METHOD == 2, 0.1f has the precision of long double but the semantic type of float, and 0.

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread anders at wahrzeichnen dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 --- Comment #2 from anders at wahrzeichnen dot de --- No, -ffloat-store does not help. And this has little if anything to do with 323, imho. The asm generated for f3 is instructive: There, GCC wants to load a double constant 0x3fba i

[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

2019-12-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875 Andrew Pinski changed: What|Removed |Added Target||i?86-linux-gnu Depends on|