diff options
author | Steve Baird <baird@adacore.com> | 2020-10-13 12:23:11 -0700 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-11-25 08:22:34 -0500 |
commit | eb0d08adb60fc39d59f8de378074b751a18cd184 (patch) | |
tree | ece038e8dfcb3de588c1ddac3cd8dda49de2f7f6 /gcc/go | |
parent | 2d80df423310f1c40a3a661d5587261ee9151288 (diff) | |
download | gcc-eb0d08adb60fc39d59f8de378074b751a18cd184.zip gcc-eb0d08adb60fc39d59f8de378074b751a18cd184.tar.gz gcc-eb0d08adb60fc39d59f8de378074b751a18cd184.tar.bz2 |
[Ada] Don't constant-fold renamed qualified expressions
gcc/ada/
* exp_ch2.adb (Expand_Entity_Reference): A new local predicate
Is_Object_Renaming_Name indicates whether a given expression
occurs (after looking through qualified expressions and type
conversions) as the name of an object renaming declaration. If
Current_Value is available but this new predicate is True, then
ignore the availability of Current_Value.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions