https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38009
--- Comment #2 from Scott Worley ---
Update for 4.6.4:
$ gnatmake assert_failure_sinfo_1002.adb
gnatgcc -c assert_failure_sinfo_1002.adb
+===GNAT BUG DETECTED==+
| 4.6.4 (x86_64-pc-linux-gnu) Assert_Failure sinfo.adb:1061|
| Error detected at assert_failure_sinfo_1002.adb:11:10|
| 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.
Consider also -gnatd.n switch (see debug.adb).
/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.6/adainclude/system.ads
assert_failure_sinfo_1002.adb
compilation abandoned
gnatmake: "assert_failure_sinfo_1002.adb" compilation error
$ nl --body-numbering=all
/usr/src/debug/dev-lang/gnat-gcc-4.6.4/gcc-4.6.4/gcc/ada/sinfo.adb
...
1056 function End_Span
1057(N : Node_Id) return Uint is
1058 begin
1059pragma Assert (False
1060 or else NT (N).Nkind = N_Case_Statement
1061 or else NT (N).Nkind = N_If_Statement);
1062return Uint5 (N);
1063 end End_Span;
...