diff options
author | Steve Baird <baird@adacore.com> | 2024-04-23 19:10:34 -0700 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-13 15:30:29 +0200 |
commit | 7fce8735baf3160ff8c0952d1944c1216a0d9374 (patch) | |
tree | 229439061915400dfcb1fa44f1009e20447f0fe1 /gcc/cp/parser.cc | |
parent | 01f8250bc88c154c3996621b577adbfca073a382 (diff) | |
download | gcc-7fce8735baf3160ff8c0952d1944c1216a0d9374.zip gcc-7fce8735baf3160ff8c0952d1944c1216a0d9374.tar.gz gcc-7fce8735baf3160ff8c0952d1944c1216a0d9374.tar.bz2 |
ada: Reject too-strict alignment specifications.
In some cases the compiler incorrectly concludes that a package body is
required for a package specification that includes the implicit declaration
of one or more inherited subprograms for an explicitly declared derived type.
Spurious error messages (e.g., "cannot generate code for file") may result.
gcc/ada/
* sem_ch7.adb
(Requires_Completion_In_Body): Modify the Comes_From_Source test so that
the implicit declaration of an inherited subprogram does not cause
an incorrect result of True.
Diffstat (limited to 'gcc/cp/parser.cc')
0 files changed, 0 insertions, 0 deletions