aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-01-10 13:32:04 +0100
committerMarc Poulhiès <poulhies@adacore.com>2024-05-07 09:55:58 +0200
commitc6b06faa3ccb2b12b80ee682d3f22a7f5aa9ddd3 (patch)
treeb02df80883e23eb4515e940f78b40ac97e9dc597 /gcc/varasm.cc
parentcf14e7c1db2f20d9dbcc8c3efdebe549ec5eec80 (diff)
downloadgcc-c6b06faa3ccb2b12b80ee682d3f22a7f5aa9ddd3.zip
gcc-c6b06faa3ccb2b12b80ee682d3f22a7f5aa9ddd3.tar.gz
gcc-c6b06faa3ccb2b12b80ee682d3f22a7f5aa9ddd3.tar.bz2
ada: Prevent calculation of negative stack counts
Negative numbers of stack counts have no meaning. gcc/ada/ * lib.ads, lib.adb (Primary_Stack_Count, Sec_Stack_Count, Increment_Primary_Stack_Count, Increment_Sec_Stack_Count, Unit_Record): Stack counts are never negative. * ali.ads (Unit_Record): Likewise. * bindgen.adb (Num_Primary_Stacks, Num_Sec_Stacks): Likewise. * exp_ch3.adb (Count_Default_Sized_Task_Stacks): Likewise. * sem_util.ads, sem_util.adb (Number_Of_Elements_In_Array): Likewise.
Diffstat (limited to 'gcc/varasm.cc')
0 files changed, 0 insertions, 0 deletions