Red Hat Bugzilla – Bug 177450
gcj -fprofile-arcs -ftest-coverage fails
Last modified: 2012-06-20 11:52:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
coverage.c gets a SIGSEGV at runtime because it uses types from build_common_tree_nodes (e.g. unsigned_type_node) from tree.h whereas the java types are defined in java-tree.h.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.gcj -fprofile-arcs -ftest-coverage hello.java
Actual Results: SIGSEGV
Expected Results: produce executable which works with gcov
This is fixed in rawhide gcc-4.1.0-13 and above (and in RHEL4 U4
gcc4-4.1.0-15.EL4 and FC5 gcc-4.1.0-15.fc5).
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.