SFN: don't drop markers for skipping var-tracking
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 19 Dec 2017 17:50:54 +0000 (17:50 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Tue, 19 Dec 2017 17:50:54 +0000 (17:50 +0000)
commit4c9aa2cf8e59317ae73151c53fe84470b30c7ae9
tree4db39b7b2f7ca1c0a167a048b4f1db82856d6091
parentafa7c9039c69e4bd5da6caab4df35ea32fd51db5
SFN: don't drop markers for skipping var-tracking

Although debug markers are more useful when bind stmts are placed
among them, there is value in keeping them even when VTA limits are
exceeded.

for  gcc/ChangeLog

PR debug/83422
* var-tracking.c (vt_debug_insns_local): Do not drop markers.
(variable_tracking_main_1): Keep markers even when VTA fails.

for  gcc/testsuite/ChangeLog

PR debug/83422
* gcc.dg/pr83422.c: New.

From-SVN: r255834
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr83422.c [new file with mode: 0644]
gcc/var-tracking.c