OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gcc.dg/funcorder.c: Remove XFAIL for hppa*64*-*-*.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
gimple-pretty-print.c
diff --git
a/gcc/gimple-pretty-print.c
b/gcc/gimple-pretty-print.c
index
057f35b
..
cda0d16
100644
(file)
--- a/
gcc/gimple-pretty-print.c
+++ b/
gcc/gimple-pretty-print.c
@@
-1898,7
+1898,8
@@
dump_bb_header (pretty_printer *buffer, basic_block bb, int indent, int flags)
}
}
pp_write_text_to_stream (buffer);
- check_bb_profile (bb, buffer->buffer->stream);
+ if (cfun)
+ check_bb_profile (bb, buffer->buffer->stream);
}