re PR target/81921 (Fails to always-inline intrinsics with -flto)
authorRichard Biener <rguenther@suse.de>
Thu, 24 Aug 2017 13:44:35 +0000 (13:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 24 Aug 2017 13:44:35 +0000 (13:44 +0000)
commit9b25e12d2d940a61ec97fdc3e5c1fe6060e159f8
tree6b24e2669374d96abfb136318095097a99da7990
parent5d52d2c949fe6277fd1f31be8d6f48e1dae06652
re PR target/81921 (Fails to always-inline intrinsics with -flto)

2017-08-23  Richard Biener  <rguenther@suse.de>

        PR target/81921
        * targhooks.c (default_target_can_inline_p): Properly
        use target_option_default_node when no DECL_FUNCTION_SPECIFIC_TARGET
        is present and always compare.
        * config/i386/i386.c (ix86_valid_target_attribute_tree): Do not
imply -mfpmath=sse from TARGET_SSE_P.
        (ix86_can_inline_p): Properly use target_option_default_node when
        no DECL_FUNCTION_SPECIFIC_TARGET is present and always compare.

* gcc.target/i386/pr81921.c: New testcase.

From-SVN: r251333
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/targhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81921.c [new file with mode: 0644]