From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5340 invoked by alias); 25 Jun 2007 17:12:13 -0000 Received: (qmail 5314 invoked by uid 48); 25 Jun 2007 17:12:04 -0000 Date: Mon, 25 Jun 2007 17:12:00 -0000 Message-ID: <20070625171204.5313.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/32494] gcc-4.3.x _32-bit_ becoming irrelevant to kernel In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2007-06/txt/msg02373.txt.bz2 ------- Comment #11 from pinskia at gcc dot gnu dot org 2007-06-25 17:12 ------- The standard is clear that long long is fully supported by freestanding programs which means that the implementation needs to support it. GCC supports it by providing libgcc.a support library. 4/6: The two forms of conforming implementation are hosted and freestanding. A conforming hosted implementation shall accept any strictly conforming program. A conforming freestanding implementation shall accept any strictly conforming program that does not use complex types and in which the use of the features specified in the library clause (clause 7) is confined to the contents of the standard headers , , , , , , and . A conforming implementation may have extensions (including additional library functions), provided they do not alter the behavior of any strictly conforming program 5.1.2.1/1: In a freestanding environment (in which C program execution may take place without any benefit of an operating system), the name and type of the function called at program startup are implementation-defined. Any library facilities available to a freestanding program, other than the minimal set required by clause 4, are implementation-defined. So GCC is doing the correct thing and I just read the standard. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32494