diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 11:46:25 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 11:46:25 +0000 |
commit | 883554eb10ec811c13458b4153fe24da738f8e23 (patch) | |
tree | bd59306e865ec5d8977d9b28fa471840fefb7dca /gcc/lto-opts.c | |
parent | b0e7825e8224e344c8b099e3c635d9854ae04ff0 (diff) | |
download | gcc-883554eb10ec811c13458b4153fe24da738f8e23.tar.gz |
gcc/
2012-10-08 Tobias Burnus <burnus@net-b.de>
* lto-cgraph.c (input_node_opt_summary): Remove unused code.
* lto-opts.c (append_to_collect_gcc_options): Fix condition.
* lto-symtab.c (lto_cgraph_replace_node): Don't xstrdup string
which is passed to fprintf.
gcc/lto/
2012-10-08 Tobias Burnus <burnus@net-b.de>
* lto-lang.c (lto_register_builtin_type): Avoid useless
decl creation.
* lto-object.c (lto_obj_file_open, lto_obj_file_open): Free memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-opts.c')
-rw-r--r-- | gcc/lto-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-opts.c b/gcc/lto-opts.c index 668a5ce9163..a235f41da8d 100644 --- a/gcc/lto-opts.c +++ b/gcc/lto-opts.c @@ -44,7 +44,7 @@ append_to_collect_gcc_options (struct obstack *ob, bool *first_p, const char *opt) { const char *p, *q = opt; - if (!first_p) + if (!*first_p) obstack_grow (ob, " ", 1); obstack_grow (ob, "'", 1); while ((p = strchr (q, '\''))) |