aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-04-11 12:15:22 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-05-30 09:12:15 +0200
commit3590b8e7850cc77324c0116718d3587401142d1c (patch)
tree298178bec811c612ad28180c2e493edc63fb5746 /gcc/tree-vectorizer.h
parent7302efc23eb80f9a40954ac7e316889cd848ca12 (diff)
downloadgcc-3590b8e7850cc77324c0116718d3587401142d1c.zip
gcc-3590b8e7850cc77324c0116718d3587401142d1c.tar.gz
gcc-3590b8e7850cc77324c0116718d3587401142d1c.tar.bz2
ada: Fix visibility error with DIC or Type_Invariant aspect on generic type
The compiler fails to capture global references during the analysis of the aspect on the generic type because it analyzes a copy of the expression. gcc/ada/ * exp_util.adb (Build_DIC_Procedure_Body.Add_Own_DIC): When inside a generic unit, preanalyze the expression directly. (Build_Invariant_Procedure_Body.Add_Own_Invariants): Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions