From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 491 invoked by alias); 4 Mar 2014 10:15:44 -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 437 invoked by uid 48); 4 Mar 2014 10:15:40 -0000 From: "ktkachov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/58595] internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE Date: Tue, 04 Mar 2014 10:15: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: 4.8.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ktkachov 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.8.3 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: 2014-03/txt/msg00231.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595 --- Comment #10 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #9) > (In reply to Jakub Jelinek from comment #8) > > Created attachment 32254 [details] > > gcc49-pr58595-2.patch > > > > So what about this variant? > > I'll give this a bootstrap and test run, thanks This patch passes bootstrap but fails regtest: $SOURCE/gcc/testsuite/gcc.dg/tls/opt-12.c:24:28: internal compiler error: in arm_legitimize_address, at config/arm/arm.c:7348 0x616d27 arm_legitimize_address $SOURCE/gcc/config/arm/arm.c:7348 0x245d17 memory_address_addr_space(machine_mode, rtx_def*, unsigned char) $SOURCE/gcc/explow.c:474 0x2576e9 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) $SOURCE/gcc/expr.c:9678 0x2658bd expand_expr $SOURCE/gcc/expr.h:455 0x2658bd expand_assignment(tree_node*, tree_node*, bool) $SOURCE/gcc/expr.c:5054 0x1bff1f expand_gimple_stmt_1 $SOURCE/gcc/cfgexpand.c:3214 0x1bff1f expand_gimple_stmt $SOURCE/gcc/cfgexpand.c:3310 0x1c13cb expand_gimple_basic_block $SOURCE/gcc/cfgexpand.c:5150 0x1c2873 gimple_expand_cfg $SOURCE/gcc/cfgexpand.c:5729 0x1c2873 execute $SOURCE/gcc/cfgexpand.c:5949 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. FAIL: gcc.dg/tls/opt-12.c (internal compiler error) In particular, this assertion fails in arm_legitimize_address: gcc_assert (GET_CODE (x) == SYMBOL_REF);