From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33543 invoked by alias); 27 Nov 2015 09:53:11 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 33531 invoked by uid 89); 27 Nov 2015 09:53:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f47.google.com Received: from mail-wm0-f47.google.com (HELO mail-wm0-f47.google.com) (74.125.82.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 Nov 2015 09:53:09 +0000 Received: by wmuu63 with SMTP id u63so48846382wmu.0 for ; Fri, 27 Nov 2015 01:53:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=QmSPxdjFdqBYLNhTtwMsC3aHo9C0BKXdqLuC2ao3SQw=; b=dzPoAmT+wSuK76ARKU5GXhy0GVUk3iJwxVa0SA6vTFMED0DX+1kVbNlxtMMSrNTcUa rBHlOVYy2/Z1th5w7MINc7SFFSE2R1g6ZZL/odR2cNiRNp78budT7UKw9d18+FyDiQ4Q IGFKeHOoERaD8Lso4oZnUxPhR2z5eLIggaEyrEzaa9+eVu3ZhNKY5l1kbqW2cJuu6xQ3 6xf6TsMQ0Kv75ESlXe5xZVtZImEYPj4JD3Ts9pgPUylfZZZJYHLFy02QkKxv+0yf8vlA S9+MEEauHkHdeb1g8iL9F/hnIKEJWgMqpZkDBRj5LQGQ3yXDwPSGwbYzh0+bzCe02V5r A68Q== X-Gm-Message-State: ALoCoQnAKE71MIgSQOY/MVWVBuxCrnh4iiQ/+KAULIAMw7zQujtgaEYxw0nbGNLqVKvnfEBxvi8n X-Received: by 10.28.21.196 with SMTP id 187mr9664619wmv.82.1448617986580; Fri, 27 Nov 2015 01:53:06 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id h189sm6684958wme.1.2015.11.27.01.53.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Nov 2015 01:53:06 -0800 (PST) Date: Fri, 27 Nov 2015 09:53:00 -0000 X-Google-Original-Date: Fri, 27 Nov 2015 09:53:05 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tAR9r53t043311 for ; Fri, 27 Nov 2015 09:53:05 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tAR9r5T7043310 for fortran@gcc.gnu.org; Fri, 27 Nov 2015 09:53:05 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201511270953.tAR9r5T7043310@mech-as222.men.bris.ac.uk> To: fortran@gcc.gnu.org Subject: false -Wmaybe-uninitialized? Reply-To: mexas@bris.ac.uk X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00172.txt.bz2 $ cat z.f90 character(:), allocatable :: z z = "mumu" end $ gfortran -Wall z.f90 z.f90:2:0: z = "mumu" ^ Warning: '.z' may be used uninitialized in this function [-Wmaybe-uninitialized] $ Is this warning appropriate here? Is this statement not initialisation? Anton