r244135 - in /trunk/gcc/ada: ChangeLog exp_attr...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Fri Jan 6 11:10:00 GMT 2017
Author: charlet
Date: Fri Jan 6 11:10:13 2017
New Revision: 244135
URL: https://gcc.gnu.org/viewcvs?rev=244135&root=gcc&view=rev
Log:
2017-01-06 Ed Schonberg <schonberg@adacore.com>
* sem_eval.adb (Check_Expression_Against_Static_Predicate):
If expression is compile-time known and obeys a static predicate
it must be labelled as static, to prevent spurious warnings and
run-time errors, e.g. in case statements. This is relevant when
the expression is the result of constant-folding a type conversion
whose expression is a variable with a known static value.
2017-01-06 Hristian Kirtchev <kirtchev@adacore.com>
* exp_attr.adb, sem_attr.ads: Minor reformatting.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_attr.adb
trunk/gcc/ada/sem_attr.ads
trunk/gcc/ada/sem_eval.adb
More information about the Gcc-cvs
mailing list