From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27552 invoked by alias); 16 Feb 2010 19:17:33 -0000 Received: (qmail 27544 invoked by uid 22791); 16 Feb 2010 19:17:33 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from g5t0007.atlanta.hp.com (HELO g5t0007.atlanta.hp.com) (15.192.0.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Feb 2010 19:17:30 +0000 Received: from smtp2.cup.hp.com (hpda.cup.hp.com [16.89.216.28]) by g5t0007.atlanta.hp.com (Postfix) with ESMTP id 2CAB3142F1; Tue, 16 Feb 2010 19:17:26 +0000 (UTC) Received: from lucas.cup.hp.com (lucas.cup.hp.com [15.244.97.116]) by smtp2.cup.hp.com (Postfix) with ESMTP id 4CF4F395DF8; Tue, 16 Feb 2010 18:33:41 +0000 (UTC) Received: (from sje@localhost) by lucas.cup.hp.com (8.11.1 (PHNE_35485)/8.11.1) id o1GJHO600654; Tue, 16 Feb 2010 11:17:24 -0800 (PST) Date: Tue, 16 Feb 2010 19:17:00 -0000 Message-Id: <201002161917.o1GJHO600654@lucas.cup.hp.com> From: Steve Ellcey To: Richard Guenther Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix PR42944 In-Reply-To: Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-02/txt/msg00631.txt.bz2 > We're a bit overeager in assuming that malloc/calloc do not clobber > memory. Because glibc appearantly chooses to set errno. > > Fixed as follows, bootstrapped and tested on x86_64-unknown-linux-gnu. > > The testcase will show whether there are any systems that have > a plain errno declaration. And then what? The test case is failing for me on my HP-UX systems. Steve Ellcey sje@cup.hp.com