------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-08-21
16:32 -------
A complete trace, after skipping the preceding 348 calls to get_alias_set,
shows the failure as...
(gdb)
lhd_print_error_function (context=0x100c6fd60, file=0x14181e040
"/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c",
diagnostic=0x7fff5fbfe7f0) at ../../gcc-4.6-20100821/gcc/langhooks.c:369
369 {
(gdb)
370 if (diagnostic_last_function_changed (context, diagnostic))
(gdb)
372 const char *old_prefix = context->printer->prefix;
(gdb)
375 ? file_name_as_prefix (file) : NULL;
(gdb)
372 const char *old_prefix = context->printer->prefix;
(gdb)
375 ? file_name_as_prefix (file) : NULL;
(gdb)
file_name_as_prefix (f=0x14181e040
"/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c")
at ../../gcc-4.6-20100821/gcc/diagnostic.c:75
75 {
(gdb)
76 return build_message_string ("%s: ", f);
(gdb)
build_message_string (msg=0x100926c78 "%s: ") at
../../gcc-4.6-20100821/gcc/diagnostic.c:61
61 {
(gdb)
65 va_start (ap, msg);
(gdb)
61 {
(gdb)
66 vasprintf (&str, msg, ap);
(gdb)
65 va_start (ap, msg);
(gdb)
66 vasprintf (&str, msg, ap);
(gdb)
0x00000001008f1056 in dyld_stub_vasprintf () at basic-block.h:64
64 DEF_VEC_P(edge);
(gdb)
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c:
In function test3:
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100821/gcc/testsuite/gcc.c-torture/execute/builtins/memcpy-chk.c:249:1:
internal compiler error: in get_alias_set, at alias.c:701
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45368