This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r178437 - in /trunk/gcc/ada: ChangeLog sem_attr...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 02 Sep 2011 07:19:47 -0000
- Subject: r178437 - in /trunk/gcc/ada: ChangeLog sem_attr...
Author: charlet
Date: Fri Sep 2 07:19:46 2011
New Revision: 178437
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178437
Log:
2011-09-02 Ed Schonberg <schonberg@adacore.com>
* sem_attr.adb: (Analyze_Attribute, case 'Range): when expanding
X'range (N) into X'First (N) .. X'Last (N), do not share the
dimension indicator N, if present. Even though it is a static
constant, its source location may be modified when printing
expanded code under -gnatDL, and node sharing will lead to chaos
in Sprint on large files, by generating a sloc value that does
not correspond to any source file.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_attr.adb