Commit 8ca3515f by Dorit Naishlos Committed by Dorit Nuzman

tree-vectorizer.c (vect_set_dump_settings): Check that dump_file exists.

        * tree-vectorizer.c (vect_set_dump_settings): Check that dump_file
        exists.

From-SVN: r94768
parent 0c6c135b
2005-02-09 Dorit Naishlos <dorit@il.ibm.com>
* tree-vectorizer.c (vect_set_dump_settings): Check that dump_file
exists.
2005-02-09 Richard Guenther <rguenth@gcc.gnu.org>
PR middle-end/19854
......
......@@ -1224,12 +1224,14 @@ vect_set_dump_settings (void)
}
/* User didn't specify verbosity level: */
if (dump_flags & TDF_DETAILS)
if (dump_file && (dump_flags & TDF_DETAILS))
vect_verbosity_level = REPORT_DETAILS;
else if (dump_flags & TDF_STATS)
else if (dump_file && (dump_flags & TDF_STATS))
vect_verbosity_level = REPORT_UNVECTORIZED_LOOPS;
else
vect_verbosity_level = REPORT_NONE;
gcc_assert (dump_file || vect_verbosity_level == REPORT_NONE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment