From 7041a5223c45a1907520285a0d12d814c1168d3a Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 21 Nov 2010 11:37:42 +0100 Subject: [PATCH] Bail out on too hard compiler options -fdump-* --- ccache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index 4932e6131..900146d6d 100644 --- a/ccache.c +++ b/ccache.c @@ -1238,7 +1238,9 @@ cc_process_args(struct args *orig_args, struct args **preprocessor_args, } /* These are always too hard. */ - if (compopt_too_hard(argv[i]) || str_startswith(argv[i], "@")) { + if (compopt_too_hard(argv[i]) + || str_startswith(argv[i], "@") + || str_startswith(argv[i], "-fdump-")) { cc_log("Compiler option %s is unsupported", argv[i]); stats_update(STATS_UNSUPPORTED); result = false; -- 2.47.2