2014-03-19 Richard Biener <rguenther@suse.de>
PR lto/59543
* lto-streamer-in.c (input_function): In WPA stage do not drop
debug stmts.
From-SVN: r208677
+2014-03-19 Richard Biener <rguenther@suse.de>
+
+ PR lto/59543
+ * lto-streamer-in.c (input_function): In WPA stage do not drop
+ debug stmts.
+
2014-03-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/60559
We can't remove them earlier because this would cause uid
mismatches in fixups, but we can do it at this point, as
long as debug stmts don't require fixups. */
- if (!MAY_HAVE_DEBUG_STMTS && is_gimple_debug (stmt))
+ if (!MAY_HAVE_DEBUG_STMTS && !flag_wpa && is_gimple_debug (stmt))
{
gimple_stmt_iterator gsi = bsi;
gsi_next (&bsi);