[Ada] Skip postponed validation checks with compilation errors
If there are compilation errors then gigi doesn't backannotate the AST with sizes, alignment, etc. The postponed compilation validation checks can then easily crash or give spurious errors. We now just skip them. gcc/ada/ * gnat1drv.adb (Gnat1drv): Skip postponed checks when there are errors.
This commit is contained in:
parent
605095af6f
commit
c4471a4a3c
1 changed files with 0 additions and 1 deletions
|
@ -1256,7 +1256,6 @@ begin
|
|||
|
||||
if Compilation_Errors then
|
||||
Treepr.Tree_Dump;
|
||||
Post_Compilation_Validation_Checks;
|
||||
Errout.Finalize (Last_Call => True);
|
||||
Errout.Output_Messages;
|
||||
Namet.Finalize;
|
||||
|
|
Loading…
Add table
Reference in a new issue