From patchwork Fri Feb 3 08:44:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Pfeifer X-Patchwork-Id: 723481 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 3vF9RV13nSz9s7D for ; Fri, 3 Feb 2017 19:45:09 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="IbhdE20A"; 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:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; q=dns; s=default; b=JKga/uqpZULc9Twr ZXPNNdlX33DllupPmqwgBUJo221C+Xn1SyWzeoq6YtZejLksPjd68Uv3xqi13BLT dnOhSIhxQSXGn3ZlwOzWd0Org4WM2uzueZvI+W7PG43/IIEeD789WHAAoUGUuy3X 6TUZizvVxvT0zmApdLCGJuCQbKc= 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:date :from:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=default; bh=zmPUFm1I0HgRfJdYKqbIfX +3Rf4=; b=IbhdE20AOkAStQzAxMjRJ9uwMD8dLtsG9peuv4EIYHgVOqSTf00HFR R3wSD8szV8/zOVcNHrgVcPn1ERnNgEgRsrMJFNpsdlJjaXkib3saADUVQamTCYST AVNgCQskC5j9eaADrcUwAfh5mYYcxeCMKQrDbxNtfWRFiTLEXain8= Received: (qmail 79244 invoked by alias); 3 Feb 2017 08:44:58 -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 79227 invoked by uid 89); 3 Feb 2017 08:44:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=editorial, read-only, amp X-HELO: ainaz.pair.com Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Feb 2017 08:44:47 +0000 Received: from anthias (vie-188-118-248-047.dsl.sil.at [188.118.248.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id BCC7F3F5D6; Fri, 3 Feb 2017 03:44:44 -0500 (EST) Date: Fri, 3 Feb 2017 09:44:42 +0100 (CET) From: Gerald Pfeifer To: Georg-Johann Lay cc: gcc-patches@gcc.gnu.org, Denis Chertykov , Senthil Kumar Selvaraj Subject: Re: [patch,wwwdocs] Add v7 AVR release notes. In-Reply-To: <3f09b368-e948-711f-b44a-200dbadc3a8b@gjlay.de> Message-ID: References: <3f09b368-e948-711f-b44a-200dbadc3a8b@gjlay.de> MIME-Version: 1.0 X-IsSubscribed: yes On Fri, 7 Oct 2016, Georg-Johann Lay wrote: > Mentioning some AVR target specific improvements. Below some small editorial changes that I just applied on top of this. Gerald Index: gcc-7/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.56 diff -u -r1.56 changes.html --- gcc-7/changes.html 2 Feb 2017 19:10:59 -0000 1.56 +++ gcc-7/changes.html 3 Feb 2017 08:42:26 -0000 @@ -804,10 +804,10 @@ is now properly supported. Respective read-only variables are located in flash memory in section .progmem.data. No special code is needed to access such variables; the compiler automatically - adds an offset of 0x4000 to all addresses which is needed + adds an offset of 0x4000 to all addresses, which is needed to access variables in flash memory. As opposed to ordinary cores where it is sufficient to specify the progmem attribute - with definitions, on the reduced Tiny cores the attribute has also to + with definitions, on the reduced Tiny cores the attribute also has to be specified with (external) declarations:
 extern const int array[] __attribute__((__progmem__));
@@ -824,15 +824,15 @@
   return &array[idx];
 }
  • A new command-line option -Wmisspelled-isr has been added. - It can be used to turn off — or turn into errors — + It turns off — or turns into errors — warnings that are reported for interrupt service routines (ISRs) which don't follow AVR-LibC's naming convention of prefixing ISR names with __vector.
  • -
  • __builtin_avr_nops(n_nops) is a new +
  • __builtin_avr_nops(n) is a new built-in function - that inserts n_nops NOP instructions into - the instruction stream. n_nops must be a value known at + that inserts n NOP instructions into + the instruction stream. n must be a value known at compile time.