diff options
author | Javier Miranda <miranda@adacore.com> | 2023-07-27 11:02:20 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-08-07 13:14:35 +0200 |
commit | 3ad67df218bf6073f4c783df54cdf0e20fa5e42a (patch) | |
tree | 859beb1450705b5eb7bb30f0a1edac1c3c9a9e61 /libgomp/error.c | |
parent | c5f673dbc252e35e6b66e9b8abd30a4027193e0b (diff) | |
download | gcc-3ad67df218bf6073f4c783df54cdf0e20fa5e42a.zip gcc-3ad67df218bf6073f4c783df54cdf0e20fa5e42a.tar.gz gcc-3ad67df218bf6073f4c783df54cdf0e20fa5e42a.tar.bz2 |
ada: Spurious error on class-wide preconditions
The compiler reports an spurious error when a class-wide precondition
expression has a class-wide type conversion.
gcc/ada/
* sem_res.adb (Resolve_Type_Conversion): Do not warn on conversion
to class-wide type on internally build helpers of class-wide
preconditions.
Diffstat (limited to 'libgomp/error.c')
0 files changed, 0 insertions, 0 deletions