aboutsummaryrefslogtreecommitdiff
path: root/gcc/dump-context.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-03-25 21:42:11 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-26 09:29:18 +0200
commit6b19eb2490675cacf72b8225d953d73029bc53fb (patch)
treeb4dbc241becc4bc7a549e43353ca88c1b0a46243 /gcc/dump-context.h
parentd97ab77cc828c48a6d0dca6f955e91a77f40dbf9 (diff)
downloadgcc-6b19eb2490675cacf72b8225d953d73029bc53fb.zip
gcc-6b19eb2490675cacf72b8225d953d73029bc53fb.tar.gz
gcc-6b19eb2490675cacf72b8225d953d73029bc53fb.tar.bz2
ada: Fix internal error on Big_Integer conversion ghost instance
The problem is that the ghost mode of the instance is used to analyze the parent of the generic body, whose own ghost mode has nothing to do with it. gcc/ada/ * sem_ch12.adb (Instantiate_Package_Body): Set the ghost mode to that of the instance only after loading the generic's parent. (Instantiate_Subprogram_Body): Likewise.
Diffstat (limited to 'gcc/dump-context.h')
0 files changed, 0 insertions, 0 deletions