[Bug rtl-optimization/50030] New: Regression: sin optimized in sinf at -O2
vincenzo.innocente at cern dot ch
gcc-bugzilla@gcc.gnu.org
Tue Aug 9 17:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50030
Summary: Regression: sin optimized in sinf at -O2
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vincenzo.innocente@cern.ch
Target: x86_64-unknown-linux-gnu
I do not think that this should happen at -O2
float sind(float x) {
return ::sin(x);
}
<sind(float)>:
40: e9 00 00 00 00 jmpq 45 <sind(float)+0x5>
41: R_X86_64_PC32 sinf-0x4
45: 66 66 2e 0f 1f 84 00 nopw %cs:0x0(%rax,%rax,1)
4c: 00 00 00 00
as it DOES NOT happen for ::exp for instance
(fine at -Ofast of course!)
gcc version 4.7.0 20110806 (experimental) (GCC)
More information about the Gcc-bugs
mailing list