diff options
author | Olivier Hainque <hainque@adacore.com> | 2016-01-12 17:53:14 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2016-01-12 17:53:14 +0000 |
commit | ba85c5fd8f17127d0c3cc4f784312994cebc54a3 (patch) | |
tree | 6918ce3872809d14493260237973c7c890a1a98d /ChangeLog | |
parent | c446cf07e903f12bd0926078b5afd3d9183b744d (diff) | |
download | gcc-ba85c5fd8f17127d0c3cc4f784312994cebc54a3.zip gcc-ba85c5fd8f17127d0c3cc4f784312994cebc54a3.tar.gz gcc-ba85c5fd8f17127d0c3cc4f784312994cebc54a3.tar.bz2 |
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.
From-SVN: r232287
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions