re PR debug/88723 (PR debug/88635 patch breaks testsuite_shared.cc compilation)
authorJakub Jelinek <jakub@redhat.com>
Mon, 7 Jan 2019 09:51:46 +0000 (10:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 7 Jan 2019 09:51:46 +0000 (10:51 +0100)
commit1e92df7eed596c8604e7653ee828d881b5d965a4
tree4297ec7f51d59e568ccf6caf45cc5e259af7e3b6
parent0119d5a23abf2f45f5ec336589d4adad9dfc5c7f
re PR debug/88723 (PR debug/88635 patch breaks testsuite_shared.cc compilation)

PR debug/88723
* dwarf2out.c (const_ok_for_output_1): Remove redundant call to
const_not_ok_for_debug_p target hook.
(mem_loc_descriptor) <case UNSPEC>: Only call const_ok_for_output_1
on UNSPEC and subexpressions thereof if all subexpressions of the
UNSPEC are CONSTANT_P.

From-SVN: r267638
gcc/ChangeLog
gcc/dwarf2out.c