summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-01 14:42:08 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-01 14:42:08 +0000
commitad905e4346ef4cc0c8dc16b975f553afc9600979 (patch)
treee4c2fc3f788862f33cac0163d37e50a9332d8930 /gcc/opts.c
parent58dcbc3654f21e95c555af9266019639feea48e1 (diff)
downloadgcc-ad905e4346ef4cc0c8dc16b975f553afc9600979.tar.gz
Check HOST_BIT_BUCKET when settting dump base/dir.
2011-02-01 H.J. Lu <hongjiu.lu@intel.com> PR driver/47547 * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output is HOST_BIT_BUCKET. * opts.c (finish_options): Don't add x_aux_base_name if it is HOST_BIT_BUCKET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169479 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index b958a091e85..9a3fb133a31 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -633,7 +633,8 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set,
if (opts->x_dump_dir_name)
opts->x_dump_base_name = concat (opts->x_dump_dir_name,
opts->x_dump_base_name, NULL);
- else if (opts->x_aux_base_name)
+ else if (opts->x_aux_base_name
+ && strcmp (opts->x_aux_base_name, HOST_BIT_BUCKET) != 0)
{
const char *aux_base;