From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44356 invoked by alias); 10 Jun 2017 07:57:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 44346 invoked by uid 89); 10 Jun 2017 07:57:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=bothered X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 10 Jun 2017 07:57:36 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1dJbH6-0006bh-Qo from Tom_deVries@mentor.com ; Sat, 10 Jun 2017 00:57:36 -0700 Received: from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 10 Jun 2017 08:57:31 +0100 To: GCC Patches From: Tom de Vries Subject: [RFC] Dejagnu patch to handle multi-line directives CC: Jakub Jelinek , Rainer Orth , Mike Stump Message-ID: Date: Sat, 10 Jun 2017 07:57:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-SW-Source: 2017-06/txt/msg00700.txt.bz2 Hi, one thing that has bothered me on a regular basis is the inability to spread long dejagnu directives over multiple lines. I've written a demonstrator patch (for the dejagnu sources) and tested it by splitting this 108 chars line: ... /* { dg-additional-options "-DSTACK_SIZE=[dg-effective-target-value stack_size]" { target { stack_size } } } */ ... into: ... /* { dg-additional-options } { dg-dc "-DSTACK_SIZE=[dg-effective-target-value stack_size]" } { dg-dc { target { stack_size } } } */ ... Good idea to fix this? Good idea to fix this like this? If so, any other comments, before I suggest this at dejagnu project? Thanks, - Tom