From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10738 invoked by alias); 9 May 2003 16:06:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 10615 invoked by uid 71); 9 May 2003 16:06:02 -0000 Date: Fri, 09 May 2003 16:06:00 -0000 Message-ID: <20030509160602.10611.qmail@sources.redhat.com> To: zack@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Bruno Haible Subject: Re: preprocessor/7312: bootstrap failure due to invalid use of errno Reply-To: Bruno Haible X-SW-Source: 2003-05/txt/msg00770.txt.bz2 List-Id: The following reply was made to PR preprocessor/7312; it has been noted by GNATS. From: Bruno Haible To: Zack Weinberg 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