From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43681 invoked by alias); 11 Sep 2018 17:23:22 -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 43661 invoked by uid 89); 11 Sep 2018 17:23:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-yb1-f181.google.com Received: from mail-yb1-f181.google.com (HELO mail-yb1-f181.google.com) (209.85.219.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Sep 2018 17:23:20 +0000 Received: by mail-yb1-f181.google.com with SMTP id t10-v6so9640106ybb.1; Tue, 11 Sep 2018 10:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qtTFGwVsQYPSRCmjc8jKXwPFqgmCIT1lIPSTOBSx/YI=; b=Z0w3QQUxI5C0HeRLybDjtn9c0wKiq81lFBJ11Iz5kiX5mlfelhRRTiJvJPK1MIiKNz P1KKxTRW9jbFt99wN2AyZLqbN/Xtg3nVIKWQ6DdAEqMxA7X0bLc4DeyLQsA98wJerTId eZDjBW1qUtOJaFXEZNVHMmAo5mwsipbIHq0MO9I36a7f5UHtJDVVGkmeCTOuSLk91Vwp vD+nO3Y3PJnzw4vdRX10huz+UdsVIlqtGwCeV5leoYf6QSgagwjleENjBLzPOefLLxpO snDVw3kt3pR8nyrhzrr0W15Fd27MSGIP37uuPeFjM+NqHXE9W5ZIY4e7Hp5M5i8eMIML FB4A== MIME-Version: 1.0 Received: by 2002:a81:7a4b:0:0:0:0:0 with HTTP; Tue, 11 Sep 2018 10:23:18 -0700 (PDT) From: Paul Richard Thomas Date: Tue, 11 Sep 2018 17:23:00 -0000 Message-ID: Subject: [Bug fortran/87277] [8/9 regression] Segfault on using array component of class scalar pointer as an actual argument To: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00090.txt.bz2 Fixed as 'obvious' on trunk and 8-branch in revisions 264210 and 264213 respectively. Paul 2018-09-11 Paul Thomas PR fortran/87277 * expr.c (is_subref_array): Add the check of dimensionality for class, dummy, pointer arrays. 2018-09-11 Paul Thomas PR fortran/87277 * gfortran.dg/select_type_43.f90: New test.