[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-12-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 --- Comment #7 from Hongtao.liu --- Fixed in GCC12.

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-12-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 --- Comment #6 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:d1011a41efd121ede2f427c1dffd6ac62f92962e commit r12-5800-gd1011a41efd121ede2f427c1dffd6ac62f92962e Author: liuhongt Date: Tue Nov 3

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-11-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 --- Comment #5 from Hongtao.liu --- (In reply to Hongtao.liu from comment #4) > It can be fixed by > > 2 files changed, 4 insertions(+), 2 deletions(-) > gcc/config/i386/i386.c | 2 +- > gcc/config/i386/i386.h | 4 +++- > > modified gcc/config/

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-11-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 --- Comment #4 from Hongtao.liu --- It can be fixed by 2 files changed, 4 insertions(+), 2 deletions(-) gcc/config/i386/i386.c | 2 +- gcc/config/i386/i386.h | 4 +++- modified gcc/config/i386/i386.c @@ -19194,7 +19194,7 @@ ix86_preferred_reloa

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2021-10-13 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 --- Comment #3 from Gabriel Ravier --- I've also encountered what looks like a duplicate of this bug, although I'm not sure but it seems likely: int foo(float f) { union { float f; int i; } z = { .f = f }; return z.i - 1; } Whi

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2020-06-19 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #2 f

[Bug target/95740] Failure to avoid using the stack when interpreting a float as an integer when it is modified afterwards

2020-06-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95740 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0