re PR rtl-optimization/89965 (wrong code with -O -mtune=nano-x2 -fcaller-saves -fexpe...
authorJakub Jelinek <jakub@redhat.com>
Thu, 11 Apr 2019 09:02:47 +0000 (11:02 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 11 Apr 2019 09:02:47 +0000 (11:02 +0200)
commit1b4d15e8557be0a396e166f98c7f26397f3e1618
treee232414b5c9bf6098c5d73497af8c8ef96d6959c
parentecb3e9a46e306b4c3328627dddd3d2079dfe7d18
re PR rtl-optimization/89965 (wrong code with -O -mtune=nano-x2 -fcaller-saves -fexpensive-optimizations -fno-tree-dce -fno-tree-ter)

PR rtl-optimization/89965
* dce.c (sp_based_mem_offset): New function.
(find_call_stack_args): Use sp_based_mem_offset.

From-SVN: r270278
gcc/ChangeLog
gcc/dce.c