diff options
author | Bob Duff <duff@adacore.com> | 2019-09-19 08:12:56 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-19 08:12:56 +0000 |
commit | 682c09cebada73fb80e3a36fec6a3b1a09c5781e (patch) | |
tree | 0f23c5e9c42004ce66fece6ad3975009a5bee5cf /gcc/ada/gcc-interface | |
parent | 348c3ae62ec5579323defd9179aa6b870e0b744b (diff) | |
download | gcc-682c09cebada73fb80e3a36fec6a3b1a09c5781e.zip gcc-682c09cebada73fb80e3a36fec6a3b1a09c5781e.tar.gz gcc-682c09cebada73fb80e3a36fec6a3b1a09c5781e.tar.bz2 |
[Ada] Infinite loop with concatenation and aspect
This patch fixes a bug where an array object initialized with a
concatenation, and that has an aspect_specification for Alignment,
causes the compiler goes into an infinite loop.
2019-09-19 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_ch3.adb (Rewrite_As_Renaming): Return False if there are
any aspect specifications, because otherwise Insert_Actions
blows up.
gcc/testsuite/
* gnat.dg/concat3.adb: New testcase.
From-SVN: r275934
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions