[Bug other/26915] New: missed optimization / returning -1.0
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Wed Mar 29 10:42:00 GMT 2006
double minus1() { return -1.0; }
.LC0: .long 3212836864
minus1: flds .LC0
ret
for -Os gcc should use `fld1;fchs'.
--
Summary: missed optimization / returning -1.0
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC build triplet: i686-pld-linux
GCC host triplet: i686-pld-linux
GCC target triplet: i686-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26915
More information about the Gcc-bugs
mailing list