diff options
| author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-08 11:26:46 +0000 |
|---|---|---|
| committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-08 11:26:46 +0000 |
| commit | aae50ddd3a4c0afb3725b35cafe29d7581b6ecd7 (patch) | |
| tree | 80a2c09a38886e46b64411da23e90656c1713647 /libjava/java | |
| parent | 5cc6e33a9a052588adcd9dd8068f663ad9fb04b9 (diff) | |
| download | ppe42-gcc-aae50ddd3a4c0afb3725b35cafe29d7581b6ecd7.tar.gz ppe42-gcc-aae50ddd3a4c0afb3725b35cafe29d7581b6ecd7.zip | |
* exp_ch4.adb (Expand_N_Indexed_Component): For an indexed component
with an implicit dereference as its prefix, use
Insert_Explicit_Dereference instead of merely rewriting the prefix into
an explicit dereference. This ensures that a reference to the original
prefix is generated, if appropriate.
* sem_util.adb (Insert_Explicit_Dereference): When an implicit
dereference is rewritten to an explicit one, generate a reference to
the entity denoted by its prefix using the original prefix node, so
the dereference can be properly recorded as a read of the denoted
access value, if appropriate.
* sem_warn.adb (Output_Unreferenced_Messages): Do not abstain from
emitting 'assigned but never read' warning on a variable on the basis
that it has an access type.
(Check_References): Emit unreferenced warning when the scope is a
subprogram body.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions

