aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2004-12-08 12:26:46 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-12-08 12:26:46 +0100
commit2717634daab64ed32a49b329f61cf0064f80f046 (patch)
tree80a2c09a38886e46b64411da23e90656c1713647 /gcc/gcov-io.c
parente913f03badb889da71c50a230b357aac6561ea01 (diff)
downloadgcc-2717634daab64ed32a49b329f61cf0064f80f046.zip
gcc-2717634daab64ed32a49b329f61cf0064f80f046.tar.gz
gcc-2717634daab64ed32a49b329f61cf0064f80f046.tar.bz2
exp_ch4.adb (Expand_N_Indexed_Component): For an indexed component with an implicit dereference as its prefix...
* 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. From-SVN: r91881
Diffstat (limited to 'gcc/gcov-io.c')
0 files changed, 0 insertions, 0 deletions