Hi, this fixes the following ICE in decode_addr_const: +===========================GNAT BUG DETECTED==============================+ | 8.0.0 20170704 (experimental) [trunk revision 249942] (x86_64-suse-linux) GCC error:| | in decode_addr_const, at varasm.c:2880 stemming from a CONSTRUCTOR containing absolute addresses hidden behind a COMPONENT_REF or similar references. Fixed by adding support for INDIRECT_REF to decode_addr_const. Tested on x86_64-suse-linux, OK for the mainline? 2017-07-07 Eric Botcazou * varasm.c (decode_addr_const): Deal with INDIRECT_REF . 2017-07-07 Eric Botcazou * gnat.dg/aggr22.ad[sb]: New test. -- Eric Botcazou