summaryrefslogtreecommitdiff
path: root/gcc/gimple-pretty-print.c
Commit message (Collapse)AuthorAgeFilesLines
* 2012-10-31 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-10-311-11/+3
| | | | | | | | MELT branch merged with trunk rev 193029 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@193030 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-02 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-10-021-25/+25
| | | | | | | | MELT branch merged with trunk rev 191993 using svnmerge.py git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@191994 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-05 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-09-051-3/+1
| | | | | | | | MELT branch merged with trunk rev 190965 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@190968 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-29 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-08-291-130/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MELT branch merged with trunk rev 190745 using svnmerge, notably C++ conversion. [gcc/] 2012-08-29 Basile Starynkevitch <basile@starynkevitch.net> {{merging with trunk, converted to C++}} * melt-runtime.h (MELT_FLEXIBLE_DIM): Set when C++. * melt-runtime.c (melt_tempdir_path): Don't use choose_tmpdir from libiberty. (meltgc_start_module_by_index): Use address-of & on VEC_index. (melt_really_initialize): When printing builtin settings, handle GCC 4.8 as with implicit ENABLE_BUILD_WITH_CXX. (meltgc_out_edge): Provide additional flag TDF_DETAILS for dump_edge_info. (melt_val2passflag): Handle PROP_referenced_vars only when defined. * melt-module.mk: Use GCCMELT_COMPILER instead of GCCMELT_CC. * melt-build-script.tpl: Transmit GCCMELT_COMPILER on every make using melt-module.mk and improve the error message. * melt-build-script.sh: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@190778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-01 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-06-011-1/+1
| | | | | | | | MELT branch merged with trunk rev 188095 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@188099 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-05-11 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-05-111-5/+6
| | | | | | | | | | | | | | | | | | | | | | | MELT branch merged with trunk rev 187397 using svnmerge gimple_seq are disappearing! [gcc/] 2012-05-11 Basile Starynkevitch <basile@starynkevitch.net> {{for merge with trunk svn 187397, since gimple_seq are disappearing in GCC 4.8}} * melt-runtime.h (melt_gt_ggc_mx_gimple_seq_d): New declaration (gt_ggc_mx_gimple_seq_d): Macro defined when GCC 4.8 only. * melt-runtime.c (melt_gt_ggc_mx_gimple_seq_d): New function, defined for GCC 4.8 only. * melt/warmelt-debug.melt (melt_debug_fun): Add cast in our warning diagnostic to avoid a warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@187401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-02-08 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-02-081-3/+5
| | | | | | | | MELT branch merged with trunk rev 183995 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183996 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-03 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2012-01-031-4/+0
| | | | | | | | MELT branch merged with trunk rev 182833 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@182834 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-05 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-12-051-0/+3
| | | | | | | | MELT branch merged with trunk rev 182001 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@182003 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-11-14 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-11-141-1/+6
| | | | | | | | MELT branch merged with trunk rev 181350 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@181351 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-11-08 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-11-081-4/+166
| | | | | | | | MELT branch merged with trunk rev 181163 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@181167 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-10-19 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-10-191-2/+2
| | | | | | | | MELT branch merged with trunk rev 180173 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@180177 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-10-10 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-10-101-2/+2
| | | | | | | | | | | | | MELT branch merged with trunk rev 179735 using svnmerge. gcc/ 2011-10-10 Basile Starynkevitch <basile@starynkevitch.net> * melt-runtime.h (meltppbuffer, meltppbufsiz): Declare as extern variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@179736 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-10-05 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-10-051-0/+10
| | | | | | | | MELT branch merged with trunk rev 179537 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@179539 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-09-02 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-09-021-0/+18
| | | | | | | | MELT branch merged with trunk rev 178437 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@178439 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-06-24 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-06-241-2/+13
| | | | | | | | MELT branch merged with trunk rev 175370 using svnmerge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@175371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-05-11 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-05-111-3/+30
| | | | | | | | MELT branch merged with trunk rev 173647 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@173652 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-22 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2011-02-221-1/+1
| | | | | | | | MELT branch merged with trunk rev 170399 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@170403 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-11-22 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2010-11-221-1/+2
| | | | | | | | MELT branch merged with trunk rev 167043 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167047 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-11-05 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2010-11-051-0/+8
| | | | | | | | | | | | | | MELT branch merged with trunk rev 166377 2010-11-05 Basile Starynkevitch <basile@starynkevitch.net> MELT branch merged with trunk rev 166377 * gcc/Makefile.in (MELT_RAW_CFLAGS): removed LIBELFINC git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@166380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-21 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2010-10-211-4/+1
| | | | | | | | MELT branch merged with trunk rev 165748 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@165750 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-09-19 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2010-09-191-6/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MELT branch merged with trunk rev 164348, with some improvements in gcc/melt-runtime.[ch] 2010-09-19 Basile Starynkevitch <basile@starynkevitch.net> [[merged with trunk rev.164348, so improved MELT runtime!]] * gcc/melt-runtime.h: improved comments. (melt_debug_garbcoll, melt_debuggc_eprintf): Moved from melt-runtime.c. (melt_obmag_string): New declaration. (struct meltobject_st, struct meltclosure_st, struct meltroutine_st, struct meltmixbigint_st, struct meltstring_st): using GTY variable_size and @@MELTGTY@@ comment. (melt_mark_special): added debug print. * gcc/melt-runtime.c: Improved comments. Include bversion.h, realmpfr.h, gimple-pretty-print.h. (ggc_force_collect) Declared external. (melt_forward_counter): Added. (melt_obmag_string): New function. (melt_alptr_1, melt_alptr_2, melt_break_alptr_1_at) (melt_break_alptr_2_at, melt_break_alptr_1,melt_break_alptr_1) (melt_allocate_young_gc_zone, melt_free_young_gc_zone): New. (delete_special, meltgc_make_special): Improved debug printf and use melt_break_alptr_1... (ggc_alloc_*) macros defined for backport to GCC 4.5 (melt_forwarded_copy): Don't clear the new destination zone in old GGC heap. (meltgc_add_out_raw_len): Use ggc_alloc_atomic. (meltgc_raw_new_mappointers, meltgc_raw_put_mappointers) (meltgc_raw_remove_mappointers): Corrected length argument to ggc_alloc_cleared_vec_entrypointermelt_st. (melt_really_initialize): Call melt_allocate_young_gc_zone. (melt_initialize): Set flag_plugin_added. (melt_val2passflag): TODO_verify_loops only in GCC 4.5 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@164424 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-11-30 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-11-301-3/+3
| | | | | | | | MELT branch merged with trunk rev 154750 (or near) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@154757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-27 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-10-271-0/+1
| | | | | | | | MELT branch merged with trunk rev 153581 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@153582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-14 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-09-141-70/+172
| | | | | | | | MELT branch merged with trunk rev 151701 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@151702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-03 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-09-031-1/+31
| | | | | | | | MELT branch merged with trunk rev 151367 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@151369 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-07-31 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-07-311-0/+16
| | | | | | | | | MELT branch merged with trunk rev 150307 added manually libstdc++-v3/include/std/chrono from trunk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@150308 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-07-27 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-07-271-0/+7
| | | | | | | | MELT branch merged with trunk rev 150103 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@150104 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-23 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-231-1/+1
| | | | | | | | | | | | * gcc/diagnostic.h (dump_gimple_seq): removed. Reverted to trunk. * gcc/gimple-pretty-print.c (dump_gimple_seq): reverted to static, as inside the trunk. * gcc/system.h: reverted to trunk. Don't include stuff when ENABLE_COMPILER_PROBE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148832 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-22 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-221-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 2009-06-22 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-221-1/+1
| | | | | | | | MELT branch merged with trunk r148777 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148778 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-18 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-181-1/+1
| | | | | | | | | | | | * gcc/diagnostic.c: removed useless comment. * gcc/pretty-print.c (pp_write_text_to_stream): put better spacing. (pp_destruct): likewise. * gcc/pretty-print.h: likewise. * gcc/gimple-pretty-print.c (gimple_dump_bb_buff): likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148661 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-17 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-171-9/+9
| | | | | | | | | | | | | | | | | | [pretty printing made more similar to trunk by renaming bufstream field as stream] * gcc/tree-pretty-print.c (maybe_init_pretty_print): renmad bufstream as stream. * gcc/diagnostic.c (diagnostic_initialize): likewise. * gcc/pretty-print.c (pp_write_text_to_stream, pp_construct) (pp_construct_routdata): likewise. * gcc/pretty-print.h: likewise. * gcc/gimple-pretty-print.c (maybe_init_pretty_print, dump_bb_header) (dump_bb_end, gimple_dump_bb_buff): likewise. * gcc/c-pretty-print.c (print_c_tree): likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148587 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-16 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-161-0/+4
| | | | | | | | MELT branch merged with trunk r148523 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148527 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-08 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-081-0/+6
| | | | | | | | MELT branch merged with trunk r148271 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148272 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-06-03 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-06-031-1/+1
| | | | | | | | MELT branch merged with trunk r148111 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148114 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-05-26 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-05-261-25/+0
| | | | | | | | MELT branch merged with trunk r147859 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@147861 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-04-07 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-04-071-91/+10
| | | | | | | | MELT branch merged with trunk r145646 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@145649 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-05 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2009-01-051-50/+82
| | | | | | | | MELT branch merged with trunk r143070 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@143072 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-09-06 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2008-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | * diagnostic.h (dump_gimple_seq): new exported function. * gimple-pretty-print.c (dump_gimple_seq): previously static function made public. * pretty-print.h (pp_construct_routdata, pp_destruct): declared new functions. * pretty-print.c (pp_construct_routdata, pp_destruct): added new functions. * basilys.h (basilysgc_ppstrbuf_gimple) (basilysgc_ppstrbuf_gimple_seq): declared new functions. * basilys.c (basilysgc_ppstrbuf_gimple) (basilysgc_ppstrbuf_gimple_seq): added new functions (ppgimpleflushdata_st) new structure. (ppgimple_flushrout) new static routine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140062 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-09-06 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2008-09-061-7/+9
| | | | | | | | | | | | | | | | | | | adding prettyprinting thru a routine * pretty-print.h (output_buffer): renamed stream field as bufstream. added buflushroutine & buflushdata fields. * pretty-print.c (pp_write_text_to_stream, pp_base_flush): handle both bufstream & buflushroutine. (pp_construct): sets bufstream. * diagnostic.c (diagnostic_initialize): likewise. * tree-pretty-print.c (maybe_init_pretty_print): likewise. * gimple-pretty-print.c (maybe_init_pretty_print, dump_bb_header) (dump_bb_header, dump_bb_end, gimple_dump_bb_buff): uses or sets bufstream, testing when bufstream is non-null. * c-pretty-print.c (print_c_tree): sets bufstream. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-09-02 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2008-09-021-1/+2
| | | | | | | | | | | | | compiler probe still buggy! * gcc/cfg.c (check_bb_profile): Added return if cfun is null. * gcc/gimple-pretty-print.c (gimple_dump_bb_buff): Don't dump phi nodes when none. * gcc/compiler_probe (bb_starting_displayer): More robust, and more debugprintf... (pass_compiler_probe) requirements are only PROP_cfg. * gcc/passes.c (init_optimization_passes): moved pass_compiler_probe. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@139913 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-29 Basile Starynkevitch <basile@starynkevitch.net>bstarynk2008-07-291-0/+1857
MELT branch merged with trunk r138226 [after tuple merge into trunk] some compiler probe stuff are missing * gcc/compiler-probe.h: more gimple, less tree * gcc/compiler-probe.c: incomplete merge. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@138247 138bc75d-0d04-0410-961f-82ee72b054a4