------- Comment #1 from dominiq at lps dot ens dot fr 2010-06-08 10:37 ------- pr44460 is probably a duplicate. The test fails with -g -O1 and the backtrace is
#0 fancy_abort (file=0x100ad07d0 "../../work/gcc/emit-rtl.c", line=1674, function=0x100b42a40 "set_mem_attributes_minus_bitpos") at ../../work/gcc/diagnostic.c:793 #1 0x000000010054125b in set_mem_attributes_minus_bitpos (ref=0x142875780, t=0x141f24280, objectp=1, bitpos=0) at ../../work/gcc/emit-rtl.c:1673 #2 0x00000001009ba6b9 in make_decl_rtl (decl=0x141f24280) at ../../work/gcc/varasm.c:1599 #3 0x00000001009bdaab in make_decl_rtl_for_debug (decl=0x141f24280) at ../../work/gcc/varasm.c:1638 #4 0x000000010048becf in expand_debug_expr (exp=0x141f24280) at ../../work/gcc/cfgexpand.c:2349 #5 0x000000010048bad2 in expand_debug_expr (exp=0x141f04a50) at ../../work/gcc/cfgexpand.c:2902 #6 0x000000010048ef25 in gimple_expand_cfg () at ../../work/gcc/cfgexpand.c:3093 #7 0x000000010071e954 in execute_one_pass (pass=0x100d17820) at ../../work/gcc/passes.c:1587 #8 0x000000010071ec2d in execute_pass_list (pass=0x100d17820) at ../../work/gcc/passes.c:1642 #9 0x000000010084d3ec in tree_rest_of_compilation (fndecl=0x14285fd00) at ../../work/gcc/tree-optimize.c:420 #10 0x0000000100a0c700 in cgraph_expand_function (node=0x141f0cc18) at ../../work/gcc/cgraphunit.c:1632 #11 0x0000000100a0f5e9 in cgraph_optimize () at ../../work/gcc/cgraphunit.c:1711 #12 0x0000000100a0fc7a in cgraph_finalize_compilation_unit () at ../../work/gcc/cgraphunit.c:1171 #13 0x00000001000c5afa in cp_write_global_declarations () at ../../work/gcc/cp/decl2.c:3927 #14 0x00000001007e7511 in toplev_main (argc=4, argv=0x7fff5fbfd9d8) at ../../work/gcc/toplev.c:1024 #15 0x0000000100000cc4 in start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44453