This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262719 - in /trunk/gcc/ada: ChangeLog sem.adb
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 16 Jul 2018 14:11:30 -0000
- Subject: r262719 - in /trunk/gcc/ada: ChangeLog sem.adb
Author: pmderodat
Date: Mon Jul 16 14:11:30 2018
New Revision: 262719
URL: https://gcc.gnu.org/viewcvs?rev=262719&root=gcc&view=rev
Log:
[Ada] Trivial simplifications in in Walk_Library_Items
Cleanup only; semantics unaffected.
2018-07-16 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* sem.adb (Walk_Library_Items): Reuse local constant.
(Is_Subunit_Of_Main): Turn condition to positive and flip the
IF-THEN-ELSE branches; avoid potentially ineffective assignment to the
Lib variable.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem.adb