From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74849 invoked by alias); 6 Aug 2018 11:33:13 -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 74821 invoked by uid 89); 6 Aug 2018 11:33:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*tkoenig, Hx-languages-length:1003, H*f:CAKdteOYFK_J, H*Ad:D*de.ibm.com X-HELO: mail-ua0-f175.google.com Received: from mail-ua0-f175.google.com (HELO mail-ua0-f175.google.com) (209.85.217.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Aug 2018 11:33:11 +0000 Received: by mail-ua0-f175.google.com with SMTP id m13-v6so11706318uaq.7 for ; Mon, 06 Aug 2018 04:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pqJwQhLZVWmveUex3XCBoyyrG9vZjikweF1knkud+Yw=; b=axZ+MCDlmRxeb7gaMF3Ct1ZyYy4U9ZKwxM/3SnSmm766m+JbRh4KDu1MzdPr3FlnMX xsFpRqgbfLP27f+bjfbCmHp0X6zJUvYjnG6XCzqp5pg/50qDpOzPNafKpxfZ4/AjUGig gl63Ann+zWSCM53Tq2/BqDtM8CFEe6Hbv49PI= MIME-Version: 1.0 References: <20180726133142.DE075D801C7@oc3748833570.ibm.com> <01cd923e-18c7-f745-a75d-49536d56cdbf@netcologne.de> <5B6021C0.5060507@arm.com> <20180802113135.5qmwnfpxwv4dic6z@student.ethz.ch> <20180802170441.aidlg6grthuavogc@student.ethz.ch> In-Reply-To: From: Christophe Lyon Date: Mon, 06 Aug 2018 11:33:00 -0000 Message-ID: Subject: Re: Async I/O patch with compilation fix To: tk@tkoenig.net Cc: koenigni@student.ethz.ch, Andre Simoes Dias Vieira , gcc Patches , fortran@gcc.gnu.org, Thomas Koenig , Ulrich Weigand , David Edelsohn , clyon@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00394.txt.bz2 On Sat, 4 Aug 2018 at 00:42, Thomas K=C3=B6nig wrote: > > Hi Cristophe, > > this is seriously weird - there is not even an I/O statement in that test= case. > > One question: Is this real hardware or an emulator? I'm using QEMU > Also, Could you try a few things? > > Run the test case manually. Do you still fail? Yes. > Is there an error if the executable is run under valgrind? I don't know how to do that with qemu, nor if valgrind supports armeb? > If you have two compilers, one with the patch and one without: Is there a= difference in the generated files for > > -dump-tree-original, -fdump-tree-optimized and -S? I posted a few comments in the associated PR: - the .s files are the same with /without the patch, so I suppose the problem comes from the runtime libraries - I've attached both execution traces and output from objdump on the statically linked executable, so as to hopefully include all the code executed > Regards, Thomas