r232287 - in /trunk/gcc: ChangeLog gcc.c
hainque@gcc.gnu.org
hainque@gcc.gnu.org
Tue Jan 12 17:53:00 GMT 2016
Author: hainque
Date: Tue Jan 12 17:53:14 2016
New Revision: 232287
URL: https://gcc.gnu.org/viewcvs?rev=232287&root=gcc&view=rev
Log:
Prevent "undef var" errors on gcc --help or --version with self-specs
* gcc.c (spec_undefvar_allowed): New global.
(process_command): Set to true when running for --version or --help,
alone or together.
(getenv_spec_function): When the variable is not defined, use the
variable name as the variable value if we're allowed not to issue
a fatal error.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
More information about the Gcc-cvs
mailing list