This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53321] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 26 May 2012 10:09:35 +0000
- Subject: [Bug bootstrap/53321] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
- Auto-submitted: auto-generated
- References: <bug-53321-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53321
--- Comment #10 from Uros Bizjak <ubizjak at gmail dot com> 2012-05-26 10:09:35 UTC ---
Reduced testcase:
--cut here--
typedef long unsigned int size_t;
extern "C"
{
extern void *memcpy (void *__dest, __const void *__src, size_t __n);
}
extern char *src, *sources;
extern int n_sources;
static void
find_source (const char *file_name)
{
memcpy (src, sources, n_sources * sizeof (*sources));
}
extern const char *gcov_read_string (void);
static void read_graph_file (void)
{
find_source (gcov_read_string ());
}
static void process_file (void)
{
read_graph_file ();
}
int main ()
{
process_file ();
}
--cut here--
~/gcc-build/gcc/cc1plus -O2 -fprofile-generate -quiet t.C
t.C:32: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.