]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-pure-const.c (check_stmt): Fix debug info formatting.
authorJan Hubicka <jh@suse.cz>
Tue, 6 Nov 2012 16:05:18 +0000 (17:05 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 6 Nov 2012 16:05:18 +0000 (16:05 +0000)
From-SVN: r193245

gcc/ChangeLog
gcc/ipa-pure-const.c

index 9dbc1fc2ce253c006c8e34944d8fc9eb7e5a0040..2979b384ba50d39c82cf917e2c9437faeb5d0de7 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-06  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-pure-const.c (check_stmt): Fix debug info formatting.
+
 2012-11-06  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.c (TARGET_INSTANTIATE_DECLS): New define.
index 58f9e5a11da1895c969325e1f4398072f1a614de..5cf974b7b37d575d7b0cffa34999262b0c843e5e 100644 (file)
@@ -671,15 +671,18 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
       if (cfun->can_throw_non_call_exceptions)
        {
          if (dump_file)
-           fprintf (dump_file, "    can throw; looping");
+           fprintf (dump_file, "    can throw; looping\n");
          local->looping = true;
        }
       if (stmt_can_throw_external (stmt))
        {
          if (dump_file)
-           fprintf (dump_file, "    can throw externally");
+           fprintf (dump_file, "    can throw externally\n");
          local->can_throw = true;
        }
+      else
+       if (dump_file)
+         fprintf (dump_file, "    can throw\n");
     }
   switch (gimple_code (stmt))
     {
@@ -691,7 +694,7 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
        /* Target of long jump. */
        {
           if (dump_file)
-            fprintf (dump_file, "    nonlocal label is not const/pure");
+            fprintf (dump_file, "    nonlocal label is not const/pure\n");
          local->pure_const_state = IPA_NEITHER;
        }
       break;
@@ -699,14 +702,14 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
       if (gimple_asm_clobbers_memory_p (stmt))
        {
          if (dump_file)
-           fprintf (dump_file, "    memory asm clobber is not const/pure");
+           fprintf (dump_file, "    memory asm clobber is not const/pure\n");
          /* Abandon all hope, ye who enter here. */
          local->pure_const_state = IPA_NEITHER;
        }
       if (gimple_asm_volatile_p (stmt))
        {
          if (dump_file)
-           fprintf (dump_file, "    volatile is not const/pure");
+           fprintf (dump_file, "    volatile is not const/pure\n");
          /* Abandon all hope, ye who enter here. */
          local->pure_const_state = IPA_NEITHER;
           local->looping = true;