Commit 8c9cfbe6 by Richard Biener Committed by Richard Biener

re PR lto/59543 (lto1: fatal error: Cgraph edge statement index out of range)

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
parent 3efe2e2c
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> 2014-03-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/60559 PR tree-optimization/60559
......
...@@ -988,7 +988,7 @@ input_function (tree fn_decl, struct data_in *data_in, ...@@ -988,7 +988,7 @@ input_function (tree fn_decl, struct data_in *data_in,
We can't remove them earlier because this would cause uid We can't remove them earlier because this would cause uid
mismatches in fixups, but we can do it at this point, as mismatches in fixups, but we can do it at this point, as
long as debug stmts don't require fixups. */ 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; gimple_stmt_iterator gsi = bsi;
gsi_next (&bsi); gsi_next (&bsi);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment