From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12924 invoked by alias); 24 Dec 2014 08:36:18 -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 12895 invoked by uid 89); 24 Dec 2014 08:36:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: szxga01-in.huawei.com Received: from szxga01-in.huawei.com (HELO szxga01-in.huawei.com) (119.145.14.64) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 24 Dec 2014 08:36:16 +0000 Received: from 172.24.2.119 (EHLO szxeml410-hub.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CGN50879; Wed, 24 Dec 2014 16:36:04 +0800 (CST) Received: from [127.0.0.1] (10.111.75.31) by szxeml410-hub.china.huawei.com (10.82.67.137) with Microsoft SMTP Server id 14.3.158.1; Wed, 24 Dec 2014 16:36:01 +0800 Message-ID: <549A7AEC.9040005@huawei.com> Date: Wed, 24 Dec 2014 09:41:00 -0000 From: zhangjian User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: CC: , =?ISO-8859-1?Q?Dirk_M=FCller?= , Richard Biener Subject: [4.8] Request to backport patch to the 4.8 branch Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-CFilter-Loop: Reflected X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg01845.txt.bz2 Hi, guys I encounter a gcc failure when I build mysql on opensuse[1] 5.6.17/storage/perfschema/pfs_account.cc:320:1: error: could not split insn [ 1245s] } [ 1245s] ^ [ 1245s] (insn 482 1770 1461 (parallel [ [ 1245s] (set (reg:SI 1 x1 [orig:167 D.16835 ] [167]) [ 1245s] (mem/v:SI (reg/f:DI 0 x0 [orig:166 D.16844 ] [166]) [-1 S4 A32])) [ 1245s] (set (mem/v:SI (reg/f:DI 0 x0 [orig:166 D.16844 ] [166]) [-1 S4 A32]) [ 1245s] (unspec_volatile:SI [ [ 1245s] (ior:SI (mem/v:SI (reg/f:DI 0 x0 [orig:166 D.16844 ] [166]) [-1 S4 A32]) [ 1245s] (const_int 0 [0])) [ 1245s] (const_int 5 [0x5]) [ 1245s] ] UNSPECV_ATOMIC_OP)) [ 1245s] (clobber (reg:CC 66 cc)) [ 1245s] (clobber (reg:SI 4 x4)) [ 1245s] (clobber (reg:SI 3 x3)) [ 1245s] ]) /home/abuild/rpmbuild/BUILD/mysql-5.6.17/include/my_atomic.h:217 1814 {atomic_fetch_orsi} [ 1245s] (expr_list:REG_UNUSED (reg:CC 66 cc) [ 1245s] (expr_list:REG_UNUSED (reg:SI 4 x4) [ 1245s] (expr_list:REG_UNUSED (reg:SI 3 x3) [ 1245s] (nil))))) [ 1245s] /home/abuild/rpmbuild/BUILD/mysql-5.6.17/storage/perfschema/pfs_account.cc:320:1: internal compiler error: in final_scan_insn, at final.c:2897 Ihis bug could be fixed by Michael's patch(r217076): 2014-11-04 Michael Collison * config/aarch64/iterators.md (lconst_atomic): New mode attribute to support constraints for CONST_INT in atomic operations. * config/aarch64/atomics.md (atomic_): Use lconst_atomic constraint. (atomic_nand): Likewise. (atomic_fetch_): Likewise. (atomic_fetch_nand): Likewise. (atomic__fetch): Likewise. (atomic_nand_fetch): Likewise. Michael's patch could be applied on the top of gcc 4.8 branch except the gcc/ChangeLog. Is it possible backport this patch to gcc 4.8 branch? I am new to here, I am not sure if I need send the patch with modified ChangeLog. Sorry if I break the rules. regards bamvor [1] https://bugzilla.opensuse.org/show_bug.cgi?id=896667