This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37603] New: [4.4 Regression] FAIL: gcc.c-torture/compile/pr36141.c at -O1 and above
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2008 19:59:09 -0000
- Subject: [Bug middle-end/37603] New: [4.4 Regression] FAIL: gcc.c-torture/compile/pr36141.c at -O1 and above
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
-
O1 -w -c -o pr36141.o
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr
36141.c (timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr36141.c: In function
'ff
i_prep_closure_loc':
/test/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr36141.c:17: internal
com
piler error: in output_constant_pool_2, at varasm.c:3732
Breakpoint 1, output_constant_pool_2 (mode=BLKmode, x=0x800003fffdfba020,
align=1) at ../../gcc/gcc/varasm.c:3732
3732 gcc_unreachable ();
(gdb) p debug_rtx (x)
(symbol_ref/v:DI ("@ffi_closure_unix") [flags 0x41] <function_decl
800003fffdfa0c00 ffi_closure_unix>)
$1 = void
(gdb) bt
#0 output_constant_pool_2 (mode=BLKmode, x=0x800003fffdfba020, align=1)
at ../../gcc/gcc/varasm.c:3732
#1 0x4000000000cf0944 in output_constant_pool_1 (desc=0x800003fffdfc6700,
align=1) at ../../gcc/gcc/varasm.c:3788
#2 0x4000000000cf10cc in output_constant_pool_contents (pool=Cannot access
memory at address 0x0
)
at ../../gcc/gcc/varasm.c:3908
#3 0x4000000000cf115c in output_constant_pool (fnname=Cannot access memory at
address 0x0
)
at ../../gcc/gcc/varasm.c:3931
#4 0x4000000000ce4070 in assemble_start_function (decl=0x800003fffdfa0d00,
fnname=0x800003fffdfa8ca0 "@ffi_prep_closure_loc")
at ../../gcc/gcc/varasm.c:1662
#5 0x40000000004f378c in rest_of_handle_final ()
at ../../gcc/gcc/final.c:4150
#6 0x40000000007508a8 in execute_one_pass (pass=0x80000001000475e0)
at ../../gcc/gcc/passes.c:1279
#7 0x4000000000750e24 in execute_pass_list (pass=0x80000001000475e0)
at ../../gcc/gcc/passes.c:1327
#8 0x4000000000750e68 in execute_pass_list (pass=0x8000000100047d50)
at ../../gcc/gcc/passes.c:1328
#9 0x4000000000750e68 in execute_pass_list (pass=0x8000000100047d00)
at ../../gcc/gcc/passes.c:1328
#10 0x40000000009d12cc in tree_rest_of_compilation (fndecl=0x800003fffdfa0d00)
at ../../gcc/gcc/tree-optimize.c:418
#11 0x4000000000d39cc8 in cgraph_expand_function (node=0x800003fffdfa0e00)
at ../../gcc/gcc/cgraphunit.c:1038
#12 0x4000000000d3a004 in cgraph_expand_all_functions ()
at ../../gcc/gcc/cgraphunit.c:1097
#13 0x4000000000d3ab78 in cgraph_optimize ()
at ../../gcc/gcc/cgraphunit.c:1302
#14 0x40000000001d93ac in c_write_global_declarations ()
at ../../gcc/gcc/c-decl.c:8071
#15 0x40000000008fef64 in compile_file () at ../../gcc/gcc/toplev.c:979
#16 0x4000000000902d94 in do_compile () at ../../gcc/gcc/toplev.c:2190
#17 0x4000000000902eb0 in toplev_main (argc=17, argv=0x800003fffdff05f0)
at ../../gcc/gcc/toplev.c:2222
#18 0x40000000002d2f18 in main (argc=Cannot access memory at address 0x0
) at ../../gcc/gcc/main.c:35
Didn't fail at revision 140325.
--
Summary: [4.4 Regression] FAIL: gcc.c-torture/compile/pr36141.c
at -O1 and above
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37603