https://sourceware.org/bugzilla/show_bug.cgi?id=27246

--- Comment #10 from Khem Raj <raj.khem at gmail dot com> ---
further reduced test is

#define overalloc_at(f, l)                                              \
do {                                                                    \
        fatal_exit("ERROR: attempting to allocate too large block at %s:%d", f,
l);\
} while (0)

#define overalloc()     overalloc_at(__FILE__, __LINE__)

void foo()
{
  overalloc();
}

% gcc-11.0.1  /tmp/a.c -c -gdwarf-5
% /tmp/obj/gold/ld-new a.o
/tmp/obj/gold/ld-new: internal error in format_file_lineno, at
/home/kraj/work/binutils-gdb/gold/dwarf_reader.cc:2278

ICE not seen when -gdwarf-4 is used

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to