DescriptionThis merges in r183086 and r183143 from from branches/google/gcc-4_6 into branches/google/gcc-4_6-mobile.
The original patch descriptions:
r183143:
2012-01-12 Rong Xu <xur@google.com>
Backport r183142 from google/main
* gcc/profile.c (compute_value_histograms): ignore the
histrogram when the counters not found in gcda file.
r183086:
2012-01-10 Rong Xu <xur@google.com>
Backport r183081 from google/main
* gcc/profile.c (compute_value_histograms): handle the
case when INDIR_CALL counters not available in gcda files.
This fixes an ICE in the compiler when building with -fprofile-use. The ICE was caused by a segfault when trying to read counters for a certain function in Chrome.
The patch fixes the ICE by checking the counter pointer and skipping over it if it is NULL.
Patch Set 1 #
MessagesTotal messages: 4
|