On 9/1/22 13:18, Richard Biener wrote:
I presume WarnRemoved will diagnose use of -gstabs but not fail compilation. Will -gstabs then still enable -g (with the default debug format)?
No, it won't set -g option.
Please followup with a gcc-13/changes.html entry.
Sure.
I notice we have VMS_DEBUGGING_INFO left. From a quick look it is used by alpha*-dec-* (exclusively) and ia64-hp-*vms* (maybe also supports DWARF, it is ELF at least). One of the goals of non-DWARF removal was to get rid of debug hooks and instead allow "free-form" early debug generation from the frontends.
Can you please explain what you mean by the free-form and what's expected to do with the VMS_DEBUGGING_INFO macro? Cheers, Martin