[Ada] Build-in-place aggregates and Address clauses
This patch fixes a bug in which if a limited volatile variable with an Address aspect is initialized with a build-in-place aggregate containing build-in-place function calls, the compiler can crash. 2018-05-23 Bob Duff <duff@adacore.com> gcc/ada/ * freeze.adb: (Check_Address_Clause): Deal with build-in-place aggregates in addition to build-in-place calls. gcc/testsuite/ * gnat.dg/addr10.adb: New testcase. From-SVN: r260574
Showing
gcc/testsuite/gnat.dg/addr10.adb
0 → 100644
Please
register
or
sign in
to comment