Re: [patch] refine getenv_spec_function fallback value for undefined variable

2018-07-31 Thread Olivier Hainque
(Back online after some weeks away + catching up on the email backlog) > On 28 Jun 2018, at 05:01, Jeff Law wrote: >>* gcc.c (getenv_spec_function): Prepend '/' to value for allowed >>undefined variables. >> > OK Thanks for this review and the couple of others in the close timef

Re: [patch] refine getenv_spec_function fallback value for undefined variable

2018-06-27 Thread Jeff Law
On 06/22/2018 10:23 AM, Olivier Hainque wrote: > Hello, > > getenv_spec_function features code to return a fake > value for an undefined variable when we know that we > shouldn't complain about the variable being undefined > and that the variable value doesn't matter. > > This code is there to pr

[patch] refine getenv_spec_function fallback value for undefined variable

2018-06-22 Thread Olivier Hainque
Hello, getenv_spec_function features code to return a fake value for an undefined variable when we know that we shouldn't complain about the variable being undefined and that the variable value doesn't matter. This code is there to prevent errors about undefined variables referenced in specs when