re PR target/90867 (Multiplication or typecast of integer and double always zero...
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Nov 2019 08:31:43 +0000 (09:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 20 Nov 2019 08:31:43 +0000 (09:31 +0100)
commit94cdd3b7ceff688d039a9f134013ac9069df2e8c
tree9b47cc4a3c64711978a4c4b17f818b1d50168b66
parent7313f6cf21109d6cea9f17e749ffbf8fc8d7febc
re PR target/90867 (Multiplication or typecast of integer and double always zero when...)

PR target/90867
* config/i386/i386-options.c (ix86_valid_target_attribute_tree): Don't
clear opts->x_ix86_isa_flags{,2} here...
(ix86_valid_target_attribute_inner_p): ... but here when seeing
arch=.  Also clear opts->x_ix86_isa_flags{,2}_explicit.

* gcc.target/i386/pr90867.c: New test.

From-SVN: r278482
gcc/ChangeLog
gcc/config/i386/i386-options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr90867.c [new file with mode: 0644]