diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-19 09:22:15 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-19 09:22:15 +0000 |
commit | 1df9b23b3b3db8974b555cba9ca291887ec46bcd (patch) | |
tree | f746fb78cac5f6fc1058d8d6dcc104e1ec92db26 /gcc/lto-streamer-in.c | |
parent | da7a2b38a55851f9b330df5a1fed381e53f8f68e (diff) | |
download | gcc-1df9b23b3b3db8974b555cba9ca291887ec46bcd.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208677 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index da248b94692..3238ab8109c 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -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 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); |