This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r238042 - in /trunk/gcc/ada: ChangeLog exp_attr...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Jul 2016 12:32:36 -0000
- Subject: r238042 - in /trunk/gcc/ada: ChangeLog exp_attr...
Author: charlet
Date: Wed Jul 6 12:32:35 2016
New Revision: 238042
URL: https://gcc.gnu.org/viewcvs?rev=238042&root=gcc&view=rev
Log:
2016-07-06 Bob Duff <duff@adacore.com>
* sem_attr.adb (Analyze_Attribute): Allow any expression of
discrete type.
* exp_attr.adb (Expand_N_Attribute_Reference): Change the
constant-folding code to correctly handle cases newly allowed
by Analyze_Attribute.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_attr.adb
trunk/gcc/ada/sem_attr.adb