diff options
| author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-06 10:22:42 +0000 |
|---|---|---|
| committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-06 10:22:42 +0000 |
| commit | aae8e59257dcb23d8c0935883ae8d6123242e318 (patch) | |
| tree | b41ad66af2ac765d8c0d188a4f2e96c2fe27d1f4 /libjava/classpath/java/security | |
| parent | f6aa36b95e2607c6fbeccb22230fc5dd9d8486d4 (diff) | |
| download | ppe42-gcc-aae8e59257dcb23d8c0935883ae8d6123242e318.tar.gz ppe42-gcc-aae8e59257dcb23d8c0935883ae8d6123242e318.zip | |
2012-11-06 Gary Dismukes <dismukes@adacore.com>
* exp_attr.adb (Expand_N_Attribute_Reference): Apply a predicate
check when evaluating the attribute Valid, and issue a warning
about infinite recursion when the check occurs within the
predicate function of the prefix's subtype.
* exp_ch4.adb (Expand_N_In): Remove test for Is_Discrete_Type
when we're checking that there's no predicate check function as a
condition for substituting a Valid check for a scalar membership
test (substitution should be suppressed for any kind of scalar
subtype with a predicate check). Also, don't emit a predicate
check when the right operand is a range.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193228 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/security')
0 files changed, 0 insertions, 0 deletions

