aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-05-25 23:27:46 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2020-07-10 05:16:17 -0400
commitb89896312467947542a6eebee886d182e6508760 (patch)
tree3f57e0e83d18027645e8dc7ecc72b79f0ce1cb24 /gcc/cp/class.c
parenteb6eb3b79aac8efe003861859e52d8e1680b120f (diff)
downloadgcc-b89896312467947542a6eebee886d182e6508760.zip
gcc-b89896312467947542a6eebee886d182e6508760.tar.gz
gcc-b89896312467947542a6eebee886d182e6508760.tar.bz2
[Ada] Fix internal error on if-expression in call returning tagged type
gcc/ada/ * checks.adb (Determine_Range): Deal with Min and Max attributes. * exp_ch6.adb (Expand_Call_Helper): When generating code to pass the accessibility level to the caller in the case of an actual which is an if-expression, also remove the nodes created after the declaration of the dummy temporary. * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Use Natural as the type of the minimum accessibility level object.
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions