Package: src:gnat-4.9 Followup-For: Bug #742590 When compiling a-direct.adb on partch.debian.org, the failure appears with -O[12] but not with -O0. Gdb shows that it happens in the gnat1 subprocess and produces a backtrace.
$ gdb ../../xgcc (gdb) set args -B../.. -c -O1 -gnatpg a-direct.adb -o a-direct.o (gdb) set follow-fork-mode child (gdb) run [ New process ] Program received signal SIGSEGV, Segmentation fault. 0x1065cb10 in emit_move_insn(rtx_def*, rtx_def*) () (gdb) bt #0 0x1065cb10 in emit_move_insn(rtx_def*, rtx_def*) () #1 0x1065de2c in convert_move(rtx_def*, rtx_def*, int) () #2 0x1065e2a0 in convert_modes(machine_mode, machine_mode, rtx_def*, int) () #3 0x10667f00 in expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) () #4 0x10659114 in expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) () #5 0x1065a590 in expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) () #6 0x10664448 in store_expr(tree_node*, rtx_def*, int, bool) () #7 0x106690e4 in expand_assignment(tree_node*, tree_node*, bool) () #8 0x10579f58 in expand_gimple_stmt(gimple_statement_base*) () #9 0x1057b57c in expand_gimple_basic_block(basic_block_def*, bool) () #10 0x1057d74c in (anonymous namespace)::pass_expand::execute() () #11 0x107e7bc4 in execute_one_pass(opt_pass*) () #12 0x107e7e44 in execute_pass_list(opt_pass*) () #13 0x105a4e08 in expand_function(cgraph_node*) () #14 0x105a6c44 in compile() () #15 0x105a7244 in finalize_compilation_unit() () #16 0x101e11a4 in gnat_write_global_declarations() () #17 0x108a0254 in compile_file() () #18 0x108a25d8 in toplev_main(int, char**) () #19 0x0fa4f274 in generic_start_main (main=0x101b6550 <main>, argc=14, argv=0xffffe5f4, auxvec=0xffffe690, init=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>, fini=<optimized out>) at ../csu/libc-start.c:287 #20 0x0fa4f434 in __libc_start_main (argc=<optimized out>, argv=<optimized out>, ev=<optimized out>, auxvec=<optimized out>, rtld_fini=<optimized out>, stinfo=<optimized out>, stack_on_entry=<optimized out>) at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:93 #21 0x00000000 in ?? () -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org