summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-22 15:20:04 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-22 15:20:04 +0000
commit1d7dabcf751bc68cb630d0c52d7008fc95f3f02d (patch)
tree3de7eb08094805d14eb2779bfcf6e4cca4a51604 /gcc/cfg.c
parente9a597fe457cc2062847d037eff33da8eed5dbc7 (diff)
downloadgcc-1d7dabcf751bc68cb630d0c52d7008fc95f3f02d.tar.gz
2009-06-22 Basile Starynkevitch <basile@starynkevitch.net>
* basilys.c (struct ppbasilysflushdata_st): removed. (meltppbuffer, meltppbufsiz, meltppfile, meltppfilename): added static variables. (open_meltpp_file, close_meltpp_file): added new functions. (basilysgc_ppstrbuf_gimple) renamed as (basilysgc_ppout_gimple) using above meltpp stuff. (basilysgc_ppstrbuf_gimpleseq) renamed as (basilysgc_ppout_gimpleseq) using above meltpp stuff. (basilysgc_ppstrbuf_tree) renamed as (basilysgc_ppout_tree) using above meltpp stuff. (basilysgc_ppstrbuf_basicblock) renamed as (basilysgc_ppout_basicblock) using above meltpp stuff. (basilysgc_ppstrbuf_mpz) renamed as (basilysgc_ppout_mpz) using above meltpp stuff. (basilysgc_ppstrbuf_mixbigint) renamed as (basilysgc_ppout_mixbigint) using above meltpp stuff. * basilys.h (basilysgc_ppstrbuf_gimple) (basilysgc_ppstrbuf_gimple_seq, basilysgc_ppstrbuf_tree) (basilysgc_ppstrbuf_basicblock, basilysgc_ppstrbuf_mpz) (basilysgc_ppstrbuf_mixbigint): renamed and provided as macros. (basilysgc_ppout_gimple) (basilysgc_ppout_gimple_seq, basilysgc_ppout_tree) (basilysgc_ppout_basicblock, basilysgc_ppout_mpz) (basilysgc_ppout_mixbigint): added. * pretty-print.c: reverted to trunk. * pretty-print.h: reverted to trunk. * gimple-pretty-print.c: reverted to trunk. * configure: regenerated. * configure.ac: testing for open_memstream. * cfg.c: reverted to trunk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148805 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index e1ed2e3ea04..9c41930a36f 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -450,7 +450,7 @@ check_bb_profile (basic_block bb, FILE * file)
gcov_type lsum;
edge_iterator ei;
- if (!cfun || profile_status == PROFILE_ABSENT)
+ if (profile_status == PROFILE_ABSENT)
return;
if (bb != EXIT_BLOCK_PTR)