Dominik Vogt schrieb:
> The attached patch fixes a glicht in the error message generated
> for invalid values of enum options.
IMHO, the patch is incomplete.
> diff --git a/gcc/opts-common.c b/gcc/opts-common.c
> index 8e51974..3bcbaf1 100644
> --- a/gcc/opts-common.c
> +++ b/gcc/opts-common.c
>
On 07/27/2015 01:45 PM, Dominik Vogt wrote:
/gcc/ChangeLog
* opts-common.c (read_cmdline_option): List DriverOnly enum values as
valid only in the error message of the driver, not in the messages of
the language compilers.
Applied. Thanks!
-Andreas-
On 07/27/2015 05:45 AM, Dominik Vogt wrote:
The attached patch fixes a glicht in the error message generated
for invalid values of enum options. When a "DriverOnly" option
was passed directoy top the compiler, it would still list that as
valid in the error message, e.g. on s390:
$ cc1 <...>