From patchwork Thu Mar 9 10:51:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 736933 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vf6ds0SgSz9s73 for ; Thu, 9 Mar 2017 21:51:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="CepWnTgl"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=s83tvXOYQcTWuEnFi Dl1vr7O2a/ldnhoiMNYrMxjNBbKKFpf0oPiReKfNvUuzc0q4JG1g09WsI6N+He1h QLKh4yPDUgdVGtXtnrDNun9EPikxbQTb2n5Ien1ywd4i9iQO4JSJQNJNO19LjHVx jvZHkzJgSZFurI+SOjq/Yxrg90= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=Ium26vMYZXznsDLFHWV28oW E8ic=; b=CepWnTgl5/1xQ+ki43/XVqiLYRc660INCe5Bl3oBLQRI/vnVZut0UFe cnmFdgatqvvHUhBQvs/7UmDTUFIHkNmhpXW0GkW1WD5GF9VVS+gIsJoWMpGBo7nN v3eCPZOHCobi+p38hXfW+HSLr16XkLx9K9bIsSMItvpZ7XzxQMVI= Received: (qmail 51251 invoked by alias); 9 Mar 2017 10:51:33 -0000 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 Received: (qmail 51215 invoked by uid 89); 9 Mar 2017 10:51:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.1 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=1970, grief, 3117, Hx-languages-length:5278 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Mar 2017 10:51:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 71C861476; Thu, 9 Mar 2017 02:51:29 -0800 (PST) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9C3AB3F3E1; Thu, 9 Mar 2017 02:51:28 -0800 (PST) Subject: Re: [wwwdocs] gcc-8/porting_to.html To: Gerald Pfeifer , JonY <10walls@gmail.com> References: <3c3cd900-7d38-a66d-d306-12c968d26f0b@gmail.com> <35f8542e-df08-62ac-da0e-824a974b96e6@foss.arm.com> <7aaf616d-2e0a-cf68-3e4b-0c48b6e16d00@foss.arm.com> <97780aa1-62c2-9471-a9f7-fce968f94fe3@gmail.com> Cc: NightStrike , GCC Patches From: Thomas Preudhomme Message-ID: <20845b34-f951-f2d1-0365-b8c8e788be5b@foss.arm.com> Date: Thu, 9 Mar 2017 10:51:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: X-IsSubscribed: yes Thanks Gerald, JonY: what about the attached patch to document the change of behavior of GCC on Windows depending on the configure option used? Best regards, Thomas On 04/03/17 14:25, Gerald Pfeifer wrote: > On Thu, 2 Mar 2017, Thomas Preudhomme wrote: >>> This should be mentioned in the "porting to" page when it eventually >>> goes in, as it may be surprising behavior. >> Will do once the file is created for gcc-8. Thanks for the suggestion > > Here we go. :-) Applied. > > Gerald > > Index: porting_to.html > =================================================================== > RCS file: porting_to.html > diff -N porting_to.html > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ porting_to.html 4 Mar 2017 14:20:46 -0000 > @@ -0,0 +1,37 @@ > + > + > + > +Porting to GCC 8 > + > + > + > +

Porting to GCC 8

> + > +

> +The GCC 8 release series differs from previous GCC releases in > +a number of ways. Some of these are a result > +of bug fixing, and some old behaviors have been intentionally changed > +to support new standards, or relaxed in standards-conforming ways to > +facilitate compilation or run-time performance. > +

> + > +

> +Some of these changes are user visible and can cause grief when > +porting to GCC 8. This document is an effort to identify common issues > +and provide solutions. Let us know if you have suggestions for improvements! > +

> + > + > +

Preprocessor issues

> + > + > +

C language issues

> + > + > +

C++ language issues

> + > + > + > + > + > + > cvs diff: Diffing . cvs diff: Diffing bin cvs diff: Diffing cgi-bin cvs diff: Diffing htdocs cvs diff: Diffing htdocs/benchmarks cvs diff: Diffing htdocs/bugs cvs diff: Diffing htdocs/bzkanban cvs diff: Diffing htdocs/egcs-1.0 cvs diff: Diffing htdocs/egcs-1.1 cvs diff: Diffing htdocs/fortran cvs diff: Diffing htdocs/gcc-2.95 cvs diff: Diffing htdocs/gcc-3.0 cvs diff: Diffing htdocs/gcc-3.1 cvs diff: Diffing htdocs/gcc-3.2 cvs diff: Diffing htdocs/gcc-3.3 cvs diff: Diffing htdocs/gcc-3.4 cvs diff: Diffing htdocs/gcc-4.0 cvs diff: Diffing htdocs/gcc-4.1 cvs diff: Diffing htdocs/gcc-4.2 cvs diff: Diffing htdocs/gcc-4.3 cvs diff: Diffing htdocs/gcc-4.4 cvs diff: Diffing htdocs/gcc-4.5 cvs diff: Diffing htdocs/gcc-4.6 cvs diff: Diffing htdocs/gcc-4.7 cvs diff: Diffing htdocs/gcc-4.8 cvs diff: Diffing htdocs/gcc-4.9 cvs diff: Diffing htdocs/gcc-5 cvs diff: Diffing htdocs/gcc-6 cvs diff: Diffing htdocs/gcc-7 cvs diff: Diffing htdocs/gcc-8 Index: htdocs/gcc-8/porting_to.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/porting_to.html,v retrieving revision 1.1 diff -u -r1.1 porting_to.html --- htdocs/gcc-8/porting_to.html 4 Mar 2017 14:21:41 -0000 1.1 +++ htdocs/gcc-8/porting_to.html 9 Mar 2017 10:49:34 -0000 @@ -31,6 +31,17 @@

C++ language issues

+

MinGW issues

+ +

GCC on Microsoft Windows can now be configured via +--enable-mingw-wildcard or --disable-mingw-wildcard +to force a specific behavior for GCC itself with regards to supporting or +not the wildcard character. Prior versions of GCC would follow the +configuration of MinGW runtime. This behavior can still be obtained by not +using the above options or by using +--enable-mingw-wildcard=platform.

+ + cvs diff: Diffing htdocs/git cvs diff: Diffing htdocs/img cvs diff: Diffing htdocs/install cvs diff: Diffing htdocs/java cvs diff: Diffing htdocs/libstdc++ cvs diff: Diffing htdocs/news cvs diff: Diffing htdocs/onlinedocs cvs diff: Diffing htdocs/onlinedocs/4.6.0 cvs diff: Diffing htdocs/onlinedocs/4.6.1 cvs diff: Diffing htdocs/onlinedocs/4.6.2 cvs diff: Diffing htdocs/onlinedocs/4.6.3 cvs diff: Diffing htdocs/onlinedocs/4.6.4 cvs diff: Diffing htdocs/onlinedocs/4.7.0 cvs diff: Diffing htdocs/onlinedocs/4.7.1 cvs diff: Diffing htdocs/onlinedocs/4.7.2 cvs diff: Diffing htdocs/onlinedocs/4.7.3 cvs diff: Diffing htdocs/onlinedocs/4.7.4 cvs diff: Diffing htdocs/onlinedocs/4.8.0 cvs diff: Diffing htdocs/onlinedocs/4.8.1 cvs diff: Diffing htdocs/onlinedocs/4.8.2 cvs diff: Diffing htdocs/onlinedocs/4.8.3 cvs diff: Diffing htdocs/onlinedocs/4.8.4 cvs diff: Diffing htdocs/onlinedocs/4.8.5 cvs diff: Diffing htdocs/onlinedocs/4.9.0 cvs diff: Diffing htdocs/onlinedocs/4.9.1 cvs diff: Diffing htdocs/onlinedocs/4.9.2 cvs diff: Diffing htdocs/onlinedocs/4.9.3 cvs diff: Diffing htdocs/onlinedocs/4.9.4 cvs diff: Diffing htdocs/onlinedocs/5.1.0 cvs diff: Diffing htdocs/onlinedocs/5.2.0 cvs diff: Diffing htdocs/onlinedocs/5.3.0 cvs diff: Diffing htdocs/onlinedocs/5.4.0 cvs diff: Diffing htdocs/onlinedocs/6.1.0 cvs diff: Diffing htdocs/onlinedocs/6.2.0 cvs diff: Diffing htdocs/onlinedocs/6.3.0 cvs diff: Diffing htdocs/projects cvs diff: Diffing htdocs/projects/bp cvs diff: Diffing htdocs/projects/cxx-reflection cvs diff: Diffing htdocs/projects/gomp cvs diff: Diffing htdocs/projects/lto cvs diff: Diffing htdocs/projects/strees cvs diff: Diffing htdocs/projects/tree-ssa cvs diff: Diffing htdocs/testing