re PR debug/90131 (wrong debug info at -O3)
authorRichard Biener <rguenther@suse.de>
Thu, 18 Apr 2019 12:02:40 +0000 (12:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 18 Apr 2019 12:02:40 +0000 (12:02 +0000)
commite62817edaecb4c8cb5a4f3c608f0ea52276449a1
treeaabc91f71ed2896588b63fa4af0e933736e90235
parent9574af76fa7dc94934c2a8918eb05cac01570e48
re PR debug/90131 (wrong debug info at -O3)

2019-04-18  Richard Biener  <rguenther@suse.de>

PR debug/90131
* tree-cfgcleanup.c (move_debug_stmts_from_forwarder): Split
out from ...
(remove_forwarder_block): ... here.
(remove_forwarder_block_with_phi): Also move debug stmts here.

* gcc.dg/guality/pr90131.c: New testcase.

From-SVN: r270441
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr90131.c [new file with mode: 0644]
gcc/tree-cfgcleanup.c