RFC: Leave preprocessed files on ICE
Thomas Koenig
tkoenig@netcologne.de
Tue Jan 7 15:04:22 GMT 2025
Am 07.01.25 um 15:48 schrieb Jakub Jelinek:
> On Tue, Jan 07, 2025 at 03:45:02PM +0100, Thomas Koenig via Gcc wrote:
>> Would it be reasonable to dump a preprocessed file (if any) on an ICE,
>> and point the user to it? The error message could then be something
>> like "Please submit the preprocessed file at /home/foo/bar/baz.i".
> You mean what the -freport-bug option does?
I had actually looked at that before I sent my e-mail. The most recent
docs say
# Collect and dump debug information into a temporary file if an
# internal compiler error (ICE) occurs.
which sounds like something different; I would not have thought
that "debug information" refers to preprocessed source.
Best regards
Thomas
More information about the Gcc
mailing list