]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Refactor warning about null loops
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 20 Nov 2024 15:32:38 +0000 (16:32 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Dec 2024 09:58:00 +0000 (10:58 +0100)
commit6b23686af726cba55d1ec07748e4ba0324cf2930
treebc9e4c1d070731eb08043bfee0a62cb78fcc4d5c
parent29fe40e0d145a72f6a8e9c6976c7b80883525cdf
ada: Refactor warning about null loops

Code cleanup; semantics is unaffected.

gcc/ada/ChangeLog:

* sem_ch5.adb (Analyze_Loop_Parameter_Specification): Move call
to Comes_From_Source to the outer if-statement.
gcc/ada/sem_ch5.adb