From patchwork Tue Jan 11 23:20:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 78468 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 6DC8CB7043 for ; Wed, 12 Jan 2011 10:20:54 +1100 (EST) Received: (qmail 26057 invoked by alias); 11 Jan 2011 23:20:52 -0000 Received: (qmail 26048 invoked by uid 22791); 11 Jan 2011 23:20:50 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 11 Jan 2011 23:20:46 +0000 Received: (qmail 31691 invoked from network); 11 Jan 2011 23:20:43 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Jan 2011 23:20:43 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PcnW5-0000tI-Jf for gcc-patches@gcc.gnu.org; Tue, 11 Jan 2011 23:20:41 +0000 Date: Tue, 11 Jan 2011 23:20:41 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: 4.6 C1X release notes Message-ID: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org I've applied this patch to add release notes for various C1X features added (or fixed to follow C1X semantics) in 4.6. Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v retrieving revision 1.86 diff -u -r1.86 changes.html --- changes.html 11 Jan 2011 21:16:31 -0000 1.86 +++ changes.html 11 Jan 2011 23:19:02 -0000 @@ -204,6 +204,23 @@

C

    +
  • There is now experimental support for some features from the + upcoming C1X revision of the ISO C standard. This support may be + selected with -std=c1x, or -std=gnu1x + for C1X with GNU extensions. Note that this support is + experimental and may change incompatibly in future releases for + consistency with changes to the C1X standard draft. The following + features are newly supported as described in the N1539 draft of + C1X; some other features were already supported with no compiler + changes being needed, or have some support but not in full accord + with N1539. +
      +
    • Static assertions (_Static_assert keyword)
    • +
    • Typedef redefinition
    • +
    • New macros in <float.h>
    • +
    • Anonymous structures and unions
    • +
    +
  • The new -fplan9-extensions option directs the compiler to support some extensions for anonymous struct fields which are implemented by the Plan 9 compiler. A pointer to a