summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-06 16:05:18 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-06 16:05:18 +0000
commit10f4615f3fc365d0444390f69078dfb784fe9802 (patch)
tree2431c29c0dbe7cd5fa1c6b808601da42adabf2f8
parente1f46a6ec85e817960d4bbd3cc606a36a40842f0 (diff)
downloadgcc-10f4615f3fc365d0444390f69078dfb784fe9802.tar.gz
* ipa-pure-const.c (check_stmt): Fix debug info formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193245 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ipa-pure-const.c13
2 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9dbc1fc2ce2..2979b384ba5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c
index 58f9e5a11da..5cf974b7b37 100644
--- a/gcc/ipa-pure-const.c
+++ b/gcc/ipa-pure-const.c
@@ -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;