https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124226
--- Comment #3 from Liam Powell <liam at liampwll dot com> ---
As I have previously stated, none of the bugs reported have been found while
fuzzing the compiler nor have I ever fuzzed the compiler or had a reason to do
so. All bugs I've reported here have been encountered in real software or while
creating a MVE for a bug report.
The reason the MVE here is such a small program is because I extracted it from
another program as that seems easier to work with rather than me submitting
20000 lines of code along with the bug report.
The actual line of code here that caused the bug was:
Ada.Task_Termination.Set_Dependents_Fallback_Handler
(Exception_Occurrence_Holder.Set_Fatal'Access);
where Exception_Occurrence_Holder is defined as:
Exception_Occurrence_Holder : constant access
Exception_Occurrence_Holders.Exception_Occurrence_Holder_Type :=
new Exception_Occurrence_Holders.Exception_Occurrence_Holder_Type;
PR ada/124228 and PR ada/124225 were found while debugging the issue and
creating the MVE above.