re PR rtl-optimization/10764 (ICE when using log(), -fast-math and optimization)
authorRoger Sayle <roger@eyesopen.com>
Wed, 14 May 2003 21:13:49 +0000 (21:13 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 14 May 2003 21:13:49 +0000 (21:13 +0000)
commite43736ad2e9788b5b02a39f38413c5fe693cb6cb
tree8032588c7df6b0368bf90602bec9b9e0d9964d37
parentf42f5a1b1ec954dd53ea998ff4188c1de8001b0d
re PR rtl-optimization/10764 (ICE when using log(), -fast-math and optimization)

PR optimization/10764
* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3):  Likewise,
add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
(logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
the corresponding *fyl2x_?fxf3 instructions.

* gcc.dg/builtins-15.c: New test case.

From-SVN: r66811
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/builtins-15.c [new file with mode: 0644]