Bootstrap assertion failure in pp_base_output_formatted_text
Richard Earnshaw
rearnsha@gcc.gnu.org
Fri Jul 1 14:28:00 GMT 2005
With this new code all arm targets seem to abort during build when we
print out a warning. Here's a quick back-trace:
#0 fancy_abort (
file=0x83b3360
"/home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c",
line=563, function=0x83b3338 "pp_base_output_formatted_text")
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:589
#1 0x082671ce in pp_base_output_formatted_text (pp=0x843e428)
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:567
#2 0x08132a02 in diagnostic_report_diagnostic (context=0x83cf860,
diagnostic=0xbfffe120)
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:353
#3 0x08132cb1 in pedwarn (
gmsgid=0x83344a0 "ISO C90 does not support %<static%> or type
qualifiers in parameter array declarators")
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:473
...
At the time of the abort the line length in the buffer is non-zero.
The write that last changed the buffer was here, when (presumably) ':\n'
was written.
#0 pp_base_append_text (pp=0x843e428, start=0x841a174 ":\n",
end=0x8419e40 "è\017")
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:152
#1 0x082676ed in pp_base_string (pp=0x843e428, str=0x843e428
"@\236A\b")
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:144
#2 0x082671a9 in pp_base_output_formatted_text (pp=0x843e428)
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:568
#3 0x0826720d in pp_base_format_verbatim (pp=0x843e428,
text=0xbfffe750)
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:586
#4 0x082675e0 in pp_verbatim (pp=0x843e428, msg=0x8419e40 "è\017")
at /home/rearnsha/gnusrc/egcs-cross/gcc/pretty-print.c:770
#5 0x08132900 in diagnostic_report_current_module (context=0x83cf860)
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:294
#6 0x0813287c in diagnostic_report_current_function (context=0x83cf860)
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:265
#7 0x08132940 in default_diagnostic_starter (context=0x83cf860,
diagnostic=0xbfffe820)
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:303
#8 0x081329fa in diagnostic_report_diagnostic (context=0x83cf860,
diagnostic=0xbfffe820)
at /home/rearnsha/gnusrc/egcs-cross/gcc/diagnostic.c:352
#9 0x08132cb1 in pedwarn (
gmsgid=0x83344a0 "ISO C90 does not support %<static%> or type
qualifiers in
...
More information about the Gcc-patches
mailing list