This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: preprocessor/7312: bootstrap failure due to invalid use oferrno
- From: Zack Weinberg <zack at codesourcery dot com>
- To: zack at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 9 May 2003 22:26:01 -0000
- Subject: Re: preprocessor/7312: bootstrap failure due to invalid use oferrno
- Reply-to: Zack Weinberg <zack at codesourcery dot com>
The following reply was made to PR preprocessor/7312; it has been noted by GNATS.
From: Zack Weinberg <zack@codesourcery.com>
To: Neil Booth <neil@daikokuya.co.uk>
Cc: Bruno Haible <bruno@clisp.org>, gcc-bugs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: preprocessor/7312: bootstrap failure due to invalid use of
errno
Date: Fri, 09 May 2003 15:24:56 -0700
Neil Booth <neil@daikokuya.co.uk> writes:
> Bruno Haible wrote:-
>
>> Zack Weinberg writes:
>> > At that point in the code,
>> > nothing has been done to give errno a meaningful value, so ->err_no
>> > should just be cleared to 0.
>>
>> Well, I thought (and still think) that 'errno' here means the error
>> status from cpp_simplify_path. See the comments at the head of the
>> function cpp_simplify_path.
>>
>> I also think that validate_pch() should not ignore this error status.
>
> I agree that Bruno's original patch is the right one.
Would you please check it in, then? I'm in the middle of a messy
unrelated project, and not in a position to test stuff.
zw