[PATCH] Error on invalid options in -### mode

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Dec 4 07:45:56 PST 2013


> ================
> Comment at: include/clang/Driver/Options.td:1439
> @@ -1439,1 +1438,3 @@
> +     Group<clang_ignored_f_Group>,
> +     HelpText<"Place debug types in their own section (ELF Only)">;
>  defm eliminate_unused_debug_types : BooleanFFlag<"eliminate-unused-debug-types">, Group<clang_ignored_f_Group>;
> ----------------
> Is this related to the issue at hand?

No, looks like some strange merge problem. I removed it, thanks.

> ================
> Comment at: test/Driver/gfortran.f90:106
> @@ -105,3 +105,2 @@
>  ! RUN:     -fstack-arrays \
> -! RUN:     -fsyntax-only \
>  ! RUN:     -funderscoring \
> ----------------
> Is this related to the issue at hand?

Yes. These options cause the driver to produce an error. In fact,
noticing that this was failing when run without -### but passing with
-### was what motivated me to write this patch.

Cheers,
Rafael



More information about the cfe-commits mailing list