diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-07 16:48:09 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-07 16:48:09 +0000 |
commit | 33bf7e6b5bb3598615baa883f40b3bf6d7746a22 (patch) | |
tree | 552080ee825477f4c8d74931da2432712d8fec11 /gcc/toplev.c | |
parent | 200f9cda3fa9d89e20625b3d5144b1d86db13f0d (diff) | |
download | gcc-33bf7e6b5bb3598615baa883f40b3bf6d7746a22.tar.gz |
2008-09-07 Basile Starynkevitch <basile@starynkevitch.net>
* doc/melt.texi: updated documentation; removal of
-fbasilys-command, and required mode for -fbasilys.
* basilys.c (do_initial_command): care about the result of command
function application. replaced flag_basilys by
basilys_mode_string.
(load_basilys_modules_and_do_command, basilys_initialize)
(dispatch_gate_basilys, dispatch_execute_basilys): replaced
flag_basilys & basilys_command_string by basilys_mode_string.
( ppgimple_flushrout)
(basilysgc_ppstrbuf_gimple,basilysgc_ppstrbuf_gimple):
syntactically better casts or inits.
* toplev.c (toplev_main): replaced flag_basilys by
basilys_mode_string.
* common.opt: ditto, and removed -fbasilys-command.
* melt/ana-base.bysl: command is returning non-nil to permit
compilation.
* melt/warmelt-first.bysl: all commands returning nil.
* melt/warmelt-outobj.bysl: ditto. added help command.
* melt/ana-base.bysl: adding simpana command.
* Makefile.in: all MELT compilation done with -fbasilys=comp... &
removed -fbasilys-command.
* warmelt-first-0.c: regenerated.
* warmelt-macro-0.c: regenerated.
* warmelt-normal-0.c: regenerated.
* warmelt-genobj-0.c: regenerated.
* warmelt-outobj-0.c: regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140090 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 21875c75ba4..51afa3d48d5 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2251,7 +2251,7 @@ toplev_main (unsigned int argc, const char **argv) #if ENABLE_BASILYSMELT /* initialize basilys if needed */ - if (flag_basilys) + if (basilys_mode_string && basilys_mode_string[0]) basilys_initialize(); #endif @@ -2267,7 +2267,7 @@ toplev_main (unsigned int argc, const char **argv) #if ENABLE_BASILYSMELT /* finalize basilys if needed */ - if (flag_basilys) + if (basilys_mode_string && basilys_mode_string[0]) basilys_finalize(); #endif |