On Tue, Jan 07, 2025 at 07:19:34PM +0100, Thomas Koenig via Gcc wrote: > Am 07.01.25 um 18:04 schrieb Andreas Schwab: > > On Jan 07 2025, Thomas Koenig via Gcc wrote: > > > > > Side remark (which I will also address): https://gcc.gnu.org/bugs/ does > > > not mention -freport-bug. > > > > But the ICE message does. > > > > Hm, OK. > > Question: Would it make sense to enable -freport-bug by default on > non-release builds? I would see no real harm in doing so, because > additional files are only generated when an ICE occurs.
Some distros enable it by default in their packages. On the other side, I think one doesn't want to enable it in development builds for usual testing, you don't want to have all ICEs take 3 times as long to compile and dump garbage into /tmp all the time. You want to enable it only if you use such built compiler for testing other stuff later. Jakub