re PR target/90552 (attribute((optimize(3))) not overriding -Os)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 23 May 2019 19:46:56 +0000 (21:46 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 23 May 2019 19:46:56 +0000 (21:46 +0200)
commit103d91c7cb36eaba7728a3550f77dd1f50fdfc29
tree9029b97855400656598cfc72a222f9ca9c0e7f46
parent9111760356ce908060b66b11d00ac0ee870e9276
re PR target/90552 (attribute((optimize(3))) not overriding -Os)

PR target/90552
* config/i386/i386.c (gen_rtx_cost):
Use ix86_tune_cost instead of ix86_cost.

testsuite/ChangeLog:

PR target/90552
* gcc.target/i386/pr90552.c: New test.

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