$ gnatchop unchopped.adb $ gnatmake protocol.adb +===========================GNAT BUG DETECTED==============================+ | 4.4.0 (x86_64-unknown-freebsd8.0) Storage_Error stack overflow or erroneous memory access| | Error detected at serial_io.adb:560:3 [protocol.ads:32:3] | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+
Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. protocol.adb protocol.ads serial_io.ads serial_io.adb compilation abandoned gnatmake: "protocol.adb" compilation error It crashes every version of GNAT that I can find on any platform. Unfortunately, I struggled to even write a summary line as I'm not sure what's wrong with the 'Serializable_Enumeration' package. -- Summary: Bug box when using generic package Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc at coreland dot ath dot cx GCC host triplet: x86_64-unknown-freebsd8.0, i486-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42793