diff options
author | Justin Squirek <squirek@adacore.com> | 2019-07-08 08:12:55 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-08 08:12:55 +0000 |
commit | ffec45e390555f4881c841271464a9c264adbbca (patch) | |
tree | d9a26463ee898d86646270a7aea40a0cc27f9692 /gcc/ada/gcc-interface/trans.c | |
parent | 0a90412010e4bd535df8c35d4bce95f321ebb6be (diff) | |
download | gcc-ffec45e390555f4881c841271464a9c264adbbca.zip gcc-ffec45e390555f4881c841271464a9c264adbbca.tar.gz gcc-ffec45e390555f4881c841271464a9c264adbbca.tar.bz2 |
[Ada] Crash on Image and Value attributes
This patch fixes an issue whereby the creation of an enumeration within
package where Default_Scalar_Storage_Order is in effect may lead to a
crash when the attributes Image or Value are applied to objects of said
type or the type directly.
2019-07-08 Justin Squirek <squirek@adacore.com>
gcc/ada/
* exp_imgv.adb (Build_Enumeration_Image_Tables): Default SSO for
the building of image tables.
(Expand_Image_Attribute): Minor cleanup.
gcc/testsuite/
* gnat.dg/sso16.adb: New testcase.
From-SVN: r273199
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions