Summary: | [5/6/7 Regression] 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs | ||
---|---|---|---|
Product: | gcc | Reporter: | Elden Crom <eldenc> |
Component: | java | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | gcc-bugs, java-prs |
Priority: | P5 | Keywords: | ice-on-valid-code |
Version: | 4.4.1 | ||
Target Milestone: | 5.5 | ||
Host: | i486-linux-gnu | Target: | i486-linux-gnu |
Build: | i486-linux-gnu | Known to work: | 4.2.4 |
Known to fail: | 4.3.4, 4.4.1, 4.5.0 | Last reconfirmed: | 2010-02-13 10:32:05 |
Attachments: | compiling this helloworld with 'gcj -fprofile-arcs -g --main=test test.java' seg faults |
Description
Elden Crom
2010-02-12 18:09:31 UTC
Created attachment 19851 [details]
compiling this helloworld with 'gcj -fprofile-arcs -g --main=test test.java' seg faults
Also fails for me with 4.3 and trunk. Program received signal SIGSEGV, Segmentation fault. 0x08158cf6 in coverage_checksum_string (chksum=0, string=0x0) at /home/richard/src/trunk/gcc/coverage.c:484 484 for (i = 0; string[i]; i++) Looks like the current function does not have a location. 536 { 537 expanded_location xloc 538 = expand_location (DECL_SOURCE_LOCATION (current_function_decl)); 539 unsigned chksum = xloc.line; 540 541 chksum = coverage_checksum_string (chksum, xloc.file); 542 chksum = coverage_checksum_string 543 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); 544 545 return chksum; (gdb) p xloc $3 = {file = 0x0, line = 0, column = 0, sysp = 0 '\000'} (gdb) call debug_generic_expr (current_function_decl) _Jv_global_static_constructor GCC 4.3.5 is being released, adjusting target milestone. 4.3 branch is being closed, moving to 4.4.7 target. 4.4 branch is being closed, moving to 4.5.4 target. GCC 4.6.4 has been released and the branch has been closed. The 4.7 branch is being closed, moving target milestone to 4.8.4. GCC 4.8.4 has been released. The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3. GCC 4.9.3 has been released. GCC 4.9 branch is being closed Won't be fixed as it has been a bug for the last 6 years and now GCJ has been removed. |