From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29950 invoked by alias); 25 Jul 2017 19:45:54 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 29655 invoked by uid 89); 25 Jul 2017 19:45:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=sellcey@cavium.com, UD:store.c, sellceycaviumcom, ellcey X-HELO: camailhost.cavium.com Received: from camailhost.cavium.com (HELO camailhost.cavium.com) (12.108.191.230) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Jul 2017 19:45:19 +0000 Received: from sellcey-dt.caveonetworks.com ([10.18.104.136]) by camailhost.cavium.com (8.14.7/8.14.7) with ESMTP id v6PJjDkb004444 for ; Tue, 25 Jul 2017 12:45:13 -0700 Received: from sellcey-dt.caveonetworks.com (localhost [127.0.0.1]) by sellcey-dt.caveonetworks.com (8.15.2/8.15.2/Debian-3) with ESMTP id v6PJjDM3022636 for ; Tue, 25 Jul 2017 12:45:13 -0700 Received: (from sellcey@localhost) by sellcey-dt.caveonetworks.com (8.15.2/8.15.2/Submit) id v6PJjDv1022635; Tue, 25 Jul 2017 12:45:13 -0700 Date: Tue, 25 Jul 2017 19:45:00 -0000 From: Steve Ellcey Message-Id: <201707251945.v6PJjDv1022635@sellcey-dt.caveonetworks.com> To: gdb@sourceware.org Subject: Re: aarch64 gdb failures in testsuite Reply-To: sellcey@cavium.com X-SW-Source: 2017-07/txt/msg00038.txt.bz2 Following up to my own mail at ttps://sourceware.org/ml/gdb/2017-07/msg00037.html It looks like the problem is with the GCC compiler. If I use GCC 4.8.4 to run the gdb.base/store.c test case it works, if I use GCC 5.4.0 it does not. I actually get around 50 or more gdb failures when I use GCC 5.4.0 rather than GCC 4.8.0. I believe that this may be due to aarch64 changing over from reload to lra during this timeframe. I have also found that the test case works if I remove the register keywords from the test. Apparently the register keyword is ignored when optimizing but not at -O0. Steve Ellcey sellcey@cavium.com