]> gcc.gnu.org Git - gcc.git/commit
ada: Bugbox compiling Constrained_Protected_Object'Image
authorSteve Baird <baird@adacore.com>
Thu, 8 Jun 2023 22:08:11 +0000 (15:08 -0700)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 1 Aug 2023 08:06:45 +0000 (10:06 +0200)
commit77604913b73e35b1b7f38725c526ac558ff165be
tree148f7e3b8efb5265fbb59a9d0e1736758801c611
parent04c297101019316eb8c3191ffb2ff0bf34f4d869
ada: Bugbox compiling Constrained_Protected_Object'Image

In some cases, a bugbox is generated when compiling an example
that references X'Image, where X is a constrained object of a
discriminated protected type.

gcc/ada/

* sem_ch3.adb (Constrain_Corresponding_Record): When copying
information from the unconstrained record type to a newly
constructed constrained record subtype, the
Direct_Primitive_Operations attribute must be copied.
gcc/ada/sem_ch3.adb
This page took 0.060732 seconds and 5 git commands to generate.