diff options
Diffstat (limited to 'gcc/ipa-pure-const.c')
-rw-r--r-- | gcc/ipa-pure-const.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index 4e62eb187a4..201dc5996c1 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -411,6 +411,9 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa) gimple stmt = gsi_stmt (*gsip); unsigned int i = 0; + if (is_gimple_debug (stmt)) + return; + if (dump_file) { fprintf (dump_file, " scanning: "); |