This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: preprocessor/7312: bootstrap failure due to invalid use oferrno


The following reply was made to PR preprocessor/7312; it has been noted by GNATS.

From: Bruno Haible <bruno@clisp.org>
To: Zack Weinberg <zack@codesourcery.com>
Cc: 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, 9 May 2003 18:04:09 +0200 (CEST)

 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.
 
 Bruno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]