aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/lib.adb')
-rw-r--r--gcc/ada/lib.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/lib.adb b/gcc/ada/lib.adb
index 16c8afc..9373f95 100644
--- a/gcc/ada/lib.adb
+++ b/gcc/ada/lib.adb
@@ -626,7 +626,7 @@ package body Lib is
Source_File := Get_Source_File_Index (S);
if Unwind_Instances then
- while Template (Source_File) /= No_Source_File loop
+ while Template (Source_File) > No_Source_File loop
Source_File := Template (Source_File);
end loop;
end if;