]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/ChangeLog
sem_attr.adb: (Analyze_Attribute, case 'Range): when expanding X'range (N) into X...
authorEd Schonberg <schonberg@adacore.com>
Fri, 2 Sep 2011 07:19:46 +0000 (07:19 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 2 Sep 2011 07:19:46 +0000 (09:19 +0200)
commited32b82e77377f2905fd1a2b74bff4b06d108ef2
tree246908214390338ab86c11ccf753d0d7ed9c7292
parentf7bb41af65aa53933814ec82474497876d396b33
sem_attr.adb: (Analyze_Attribute, case 'Range): when expanding X'range (N) into X'First (N) ..

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.

From-SVN: r178437
gcc/ada/ChangeLog
gcc/ada/sem_attr.adb
This page took 0.056325 seconds and 5 git commands to generate.