diff options
| author | Denis Mazzucato <mazzucato@adacore.com> | 2025-08-20 11:42:11 +0200 |
|---|---|---|
| committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-10-28 11:24:06 +0100 |
| commit | 284af1c03d705f3b912732240878c22500307f90 (patch) | |
| tree | 6653bf145928f20cee8987bc8fa638aa7ec64369 /contrib/gcc-changelog/git_commit.py | |
| parent | 9d052b444f4cfb3bcd27a5d37851398241f80380 (diff) | |
| download | gcc-284af1c03d705f3b912732240878c22500307f90.zip gcc-284af1c03d705f3b912732240878c22500307f90.tar.gz gcc-284af1c03d705f3b912732240878c22500307f90.tar.bz2 | |
ada: Fix incorrectly inherited non-primitive subprograms
This patch avoids marking subprograms not declared immediately within package
specifications as primitive, unless they're either inherited or overriding.
gcc/ada/ChangeLog:
* sem_util.adb (Collect_Primitive_Operations): Avoid setting
Is_Primitive for noninherited and nonoverriding subprograms not
declared immediately within a package specification.
* sem_ch13.adb (Check_Nonoverridable_Aspect_Subprograms): Better
error posting to allow multiple errors on same type but different
aggregate subprogram.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions
