http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52479
Bug #: 52479 Summary: SH Target: SH4A DFmode fsca tests failing Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: olege...@gcc.gnu.org CC: kkoj...@gcc.gnu.org Target: sh4a-*-* As of rev 184877 the following SH4A target tests are failing: gcc.target/sh/sh4a-cos.c scan-assembler fsca gcc.target/sh/sh4a-sin.c scan-assembler fsca gcc.target/sh/sh4a-sincos.c scan-assembler-times fsca 1 These tests check whether the fsca instruction is used for DFmode standard sin and cos functions when -ffast-math is specified. While using fsca for SFmode and -ffast-math makes sense, for DFmode I think the results might be too imprecise. I would like to propose to remove the DFmode fsca code altogether. Using built-in specs. COLLECT_GCC=sh-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/sh-elf/4.8.0/lto-wrapper Target: sh-elf Configured with: ../gcc-trunk/configure --target=sh-elf --prefix=/usr/local --enable-languages=c,c++ --enable-multilib --disable-libssp --disable-nls --disable-werror --enable-lto --with-newlib --with-gnu-as --with-gnu-ld --with-system-zlib Thread model: single gcc version 4.8.0 20120304 (experimental) (GCC)