[Bug target/58595] internal compiler error: in gen_movsi when compiling on arm some files of lttng-tools with -fPIE

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 4 10:15:00 GMT 2014


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 <http://gcc.gnu.org/bugs.html> 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);



More information about the Gcc-bugs mailing list