From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26197 invoked by alias); 16 Dec 2013 16:21:29 -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 26162 invoked by uid 48); 16 Dec 2013 16:21:25 -0000 From: "octoploid at yandex dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/59527] [4.9 Regression] ICE: in fixup_reorder_chain, at cfgrtl.c:3739 during PGO Firefox build Date: Mon, 16 Dec 2013 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: octoploid at yandex dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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: 2013-12/txt/msg01397.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59527 --- Comment #1 from Markus Trippelsdorf --- Created attachment 31447 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D31447&action=3Dedit unreduced testcase % g++ -w -r -nostdlib -fprofile-use -fprofile-correction -march=3Damdfam10 -fno-exceptions -std=3Dgnu++0x -O3 test.ii In file included from /var/tmp/moz-build-dir/js/src/Unified_cpp_9.cpp:101:0: /var/tmp/mozilla-central/js/src/vm/Stack.cpp: In member function =E2=80=98js::ScriptFrameIter& js::ScriptFrameIter::operator++()=E2=80=99: /var/tmp/mozilla-central/js/src/vm/Stack.cpp:717:1: internal compiler error= : in fixup_reorder_chain, at cfgrtl.c:3739 >>From gcc-bugs-return-437743-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 16 16:26:39 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30502 invoked by alias); 16 Dec 2013 16:26:39 -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 30466 invoked by uid 48); 16 Dec 2013 16:26:36 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/59471] [4.9 Regression] ICE using vector extensions (non-top-level BIT_FIELD_REF, IMAGPART_EXPR or REALPART_EXPR) Date: Mon, 16 Dec 2013 16:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2013-12/txt/msg01398.txt.bz2 Content-length: 604 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59471 --- Comment #3 from Martin Jambor --- It should be easy to make SRA safely cope with BIT_FIELD_REFs, REALPART_EXPRs and IMAGPART_EXPRs under a VIEW_CONVERT_EXPR (as opposed to those under a COMPONENT_REF, ARRAY_REF, MEM_REF or similar). I'd prefer it over detecting the other cases if it is enough to relax the verification in this way. I just wonder why do we have VIEW_CONVERT_EXPRs of BIT_FIELD_REFs at all, can't we fold them just to one B_F_R with the expected final type? Or does it have some different semantics?