From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29001 invoked by alias); 24 Oct 2010 19:47:51 -0000 Received: (qmail 28973 invoked by uid 22791); 24 Oct 2010 19:47:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Oct 2010 19:47:43 +0000 From: "kon at iki dot fi" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/46155] Bug with generation of float.h header file on AIX X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kon at iki dot fi X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 24 Oct 2010 19:47:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg02040.txt.bz2 Message-ID: <20101024194700.n_X65elK-7R_zs2ll8gfGFb8f6UuW8JtwJgb5JqGG04@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46155 --- Comment #11 from Kalle Olavi Niemitalo 2010-10-24 19:47:27 UTC --- (In reply to comment #7) > In your opinion, are IBM wrong to define fprnd_t in /usr/include/float.h? IBM's definition of fprnd_t in is within #ifdef _ALL_SOURCE. I presume _ALL_SOURCE is not defined when IBM's compiler is used in ISO C conforming mode. AFAIK, adding non-standard definitions to standard header files in non-conforming modes is a common practice. The that GCC installed on AIX is identical to gcc/ginclude/float.h in the GCC 4.2.4 sources. I can understand if GCC developers don't want to introduce OS-specific sections in it.