[Bug middle-end/29864] Folding conversion unsigned long long to float

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29864 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.4.0 Status|NEW

[Bug middle-end/29864] Folding conversion unsigned long long to float

2008-02-04 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-02-04 15:52 --- A testcase would probably be sth along the lines of extern void abort (void); void __attribute__((noinline)) foo (unsigned long long x) { float uf = x; float sf = (signed long long)x; if (uf == sf) abort (