From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17058 invoked by alias); 29 Nov 2013 22:06:59 -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 17040 invoked by uid 48); 29 Nov 2013 22:06:56 -0000 From: "dimhen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/59350] New: [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212 Date: Fri, 29 Nov 2013 22:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: dimhen at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: 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-11/txt/msg03084.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59350 Bug ID: 59350 Summary: [4.9 regression] ICE: in vt_expand_var_loc_chain, at var-tracking.c:8212 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Fedora 19 x86_64 r205459 PASS r205527 FAIL $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/dimhen/src/gcc_current/configure --prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-checking=yes,df,fold,rtl,tree --enable-languages=c,c++,lto --enable-plugin --with-tune=native --with-arch=native --enable-version-specific-runtime-libs Thread model: posix gcc version 4.9.0 20131129 (experimental) [trunk revision 205527] (GCC) $ cat x.ii struct A { int LLVMTy; } a; class B; class C { B *Node; int ResNo; public: A m_fn1() const; void m_fn2() { m_fn1(); } }; class D { void *Ptr; int IROrder; }; class F { public: void m_fn1(int, D, A, C); }; void fn1(); class B { int NumValues; public: void m_fn1(int) { NumValues ? static_cast(0) : fn1(); } }; $ g++ -fpreprocessed -O1 -g -c x.ii -o x.o x.ii: In function 'void fn2(C)': x.ii:31:1: internal compiler error: in vt_expand_var_loc_chain, at var-tracking.c:8212 } ^ 0xf2e719 vt_expand_var_loc_chain /home/dimhen/src/gcc_current/gcc/var-tracking.c:8212 0xf2e719 vt_expand_loc_callback /home/dimhen/src/gcc_current/gcc/var-tracking.c:8408 0x93d7b7 cselib_expand_value_rtx_1 /home/dimhen/src/gcc_current/gcc/cselib.c:1684 0x93e6de cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) /home/dimhen/src/gcc_current/gcc/cselib.c:1531 0xf2d9fc vt_expand_loc_callback /home/dimhen/src/gcc_current/gcc/var-tracking.c:8344 0x93d8a9 cselib_expand_value_rtx_1 /home/dimhen/src/gcc_current/gcc/cselib.c:1649 0x93e6de cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) /home/dimhen/src/gcc_current/gcc/cselib.c:1531 0xf2de17 vt_expand_var_loc_chain /home/dimhen/src/gcc_current/gcc/var-tracking.c:8246 0xf2de17 vt_expand_loc_callback /home/dimhen/src/gcc_current/gcc/var-tracking.c:8408 0x93d7b7 cselib_expand_value_rtx_1 /home/dimhen/src/gcc_current/gcc/cselib.c:1684 0x93e6de cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) /home/dimhen/src/gcc_current/gcc/cselib.c:1531 0xf2de17 vt_expand_var_loc_chain /home/dimhen/src/gcc_current/gcc/var-tracking.c:8246 0xf2de17 vt_expand_loc_callback /home/dimhen/src/gcc_current/gcc/var-tracking.c:8408 0x93e6de cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) /home/dimhen/src/gcc_current/gcc/cselib.c:1531 0xf2de17 vt_expand_var_loc_chain /home/dimhen/src/gcc_current/gcc/var-tracking.c:8246 0xf2de17 vt_expand_loc_callback /home/dimhen/src/gcc_current/gcc/var-tracking.c:8408 0x93d7b7 cselib_expand_value_rtx_1 /home/dimhen/src/gcc_current/gcc/cselib.c:1684 0x93e6de cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def* (*)(rtx_def*, bitmap_head_def*, int, void*), void*) /home/dimhen/src/gcc_current/gcc/cselib.c:1531 0xf22658 vt_expand_var_loc_chain /home/dimhen/src/gcc_current/gcc/var-tracking.c:8246 0xf22658 vt_expand_1pvar /home/dimhen/src/gcc_current/gcc/var-tracking.c:8521 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.