Adjust bugbox URL in GNATprove mode.
Bug reports for FSF frontend crashes in GNATprove mode now point to the SPARK repository.
This commit updates the bug reporting URL for FSF frontend crashes specifically when the Ada compiler is operating in GNATprove mode. Instead of directing users to the general GCC bug tracker, crash reports will now point to the SPARK repository. This change ensures that bug reports are routed to the most relevant development team, while other FSF tools continue to use the standard GCC bug reporting instructions.
In Details
When an FSF (Free Software Foundation) frontend crash occurs within the Ada compiler, the comperr.adb unit (Compiler_Abort) is responsible for providing bug reporting instructions. This change modifies the Compiler_Abort logic to conditionally redirect the bugbox URL. If GNATprove_Mode is active, the URL is set to point to the SPARK repository; otherwise, the standard GCC bug-report URL is retained for other FSF tools. This targets the reporting of specific issues within the SPARK verification toolchain to the correct development alias.
For Context
When a part of the Ada compiler (FSF frontend) crashes, the compiler provides instructions on where to report the bug, often called a 'bugbox URL.' This change ensures that if the crash happens while the compiler is running in 'GNATprove mode' (a special mode for formal program verification with SPARK Ada), the bug report instructions will point to the SPARK project rather than the general GCC bug tracker. This helps make sure that SPARK-related bugs go directly to the developers who can best fix them, while crashes in other parts of the GCC compiler will still go to the standard GCC bug reporting system.