From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15585 invoked by alias); 17 Dec 2014 18:01:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15485 invoked by uid 48); 17 Dec 2014 18:01:52 -0000 From: "jiwang at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64011] Fail to compile pr48335-2.c on big-endian aarch64 Date: Wed, 17 Dec 2014 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jiwang at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jiwang at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg02026.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64011 Jiong Wang changed: What |Removed |Added ---------------------------------------------------------------------------- Target|aarch64-linux-gnu |aarch64-linux-gnu, | |arm-linux-gnu Status|NEW |ASSIGNED Version|4.9.3 |5.0 --- Comment #1 from Jiong Wang --- the same problem exist on ARM when BFI instruction available, and because t= here are more strict constraint, it's actually ICE on ARM. ./cc1 -march=3Darmv7-a -O2 big-bug.c -nostdinc -mbig-endian big-bug.c: In function =E2=80=98f5=E2=80=99: big-bug.c:16:1: error: unrecognizable insn: } ^ (insn 8 7 9 2 (set (zero_extract:SI (subreg:SI (reg/v:SF 112 [ s+4 ]) 0) (const_int 16 [0x10]) (const_int -8 [0xfffffffffffffff8])) (reg/v:SI 113 [ x ])) big-bug.c:13 -1 (nil)) big-bug.c:16:1: internal compiler error: in extract_insn, at recog.c:2327 0xc704af _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/gcc/rtl-error.c:110 0xc704f0 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) ../../gcc/gcc/rtl-error.c:118 0xc252b9 extract_insn(rtx_insn*) ../../gcc/gcc/recog.c:2327 0x978084 instantiate_virtual_regs_in_insn ../../gcc/gcc/function.c:1582 0x979461 instantiate_virtual_regs ../../gcc/gcc/function.c:1950 0x979534 execute >>From gcc-bugs-return-471020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 17 18:15:08 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1876 invoked by alias); 17 Dec 2014 18:15:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 1704 invoked by uid 48); 17 Dec 2014 18:14:59 -0000 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64330] [5 Regression] IPA-ICF merges const exported vars that could be addressable in other TUs Date: Wed, 17 Dec 2014 18:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg02027.txt.bz2 Content-length: 965 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64330 --- Comment #8 from Martin Li=C5=A1ka --- Thank you for the missing externally visible attribute. I've been testing following patch: diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index b193200..0685019 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -1131,8 +1131,12 @@ sem_variable::parse (varpool_node *node, bitmap_obst= ack *stack) tree decl =3D node->decl; bool readonly =3D TYPE_P (decl) ? TYPE_READONLY (decl) : TREE_READONLY (= decl); - bool can_handle =3D readonly && (DECL_VIRTUAL_P (decl) - || !TREE_ADDRESSABLE (decl)); + if (!readonly) + return NULL; + + bool can_handle =3D DECL_VIRTUAL_P (decl) + || flag_merge_constants >=3D 2 + || (!TREE_ADDRESSABLE (decl) && !node->externally_visib= le); if (!can_handle) return NULL; As soon as tests finish, I will send it to ML. Martin >>From gcc-bugs-return-471021-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 17 18:21:38 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12271 invoked by alias); 17 Dec 2014 18:21:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11999 invoked by uid 48); 17 Dec 2014 18:21:31 -0000 From: "cmang at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/61263] gccgo: fatal error: schedule: holding locks [GoSmith] Date: Wed, 17 Dec 2014 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cmang at google dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: cmang at google dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg02028.txt.bz2 Content-length: 769 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61263 Chris Manghane changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |cmang at google dot com Resolution|--- |FIXED Assignee|ian at airs dot com |cmang at google dot com --- Comment #1 from Chris Manghane --- Ran this one hundred thousand times with GOGC=0 and unmodified GOGC, could not reproduce at all. Marking as resolved; this might have been fixed with other various fixes to add type precision to heap.