http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53321
Uros Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #20 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-04 13:57:53 UTC --- . --- Comment #21 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-06 18:29:50 UTC --- The fix caused PR 53865. The even smaller testcase: [hjl@gnu-mic-2 pr53321]$ cat x.i extern char *src; extern const char *sources; extern unsigned int n_sources; static void find_source (const char *file_name) { __builtin_memcpy (src, sources, n_sources); } int main () { find_source (sources); } [hjl@gnu-mic-2 pr53321]$ /export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -O2 -fprofile-generate -S x.i x.i:14:1: internal compiler error: vector VEC(inline_edge_summary_t,base) index domain error, in inline_edge_summary at ipa-inline.h:200 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [hjl@gnu-mic-2 pr53321]$