exp_attr.adb (Attribute_Max_Size_In_Storage_Elements): Eliminate 'Class references...
authorBob Duff <duff@adacore.com>
Thu, 20 Nov 2014 14:26:10 +0000 (14:26 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 20 Nov 2014 14:26:10 +0000 (15:26 +0100)
commitd85badc750ae2eafa81d442e1702dd01cfbc3a82
tree060b03ec21539031aa321d03b1689f20bb420ef3
parentd8d7e809d6c6ce977e188f99e104097b5ece31d8
exp_attr.adb (Attribute_Max_Size_In_Storage_Elements): Eliminate 'Class references from the tree, because gigi crashes on 'Class.

2014-11-20  Bob Duff  <duff@adacore.com>

* exp_attr.adb (Attribute_Max_Size_In_Storage_Elements):
Eliminate 'Class references from the tree, because gigi crashes on
'Class. Also, don't check Nkind (Attr) -- it is known to be
N_Attribute_Reference. Assert that instead.

From-SVN: r217856
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb