diff options
author | Justin Squirek <squirek@adacore.com> | 2018-09-26 09:17:21 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-09-26 09:17:21 +0000 |
commit | b45a9ff305f536031a12509c6c6e7aea9cb7f884 (patch) | |
tree | e50986c734e96e988f0412ebc25891b9b39455e6 /gcc/ada/gcc-interface/Make-lang.in | |
parent | bcbe14db192f03018ea74cf6eb24c04a110ecac0 (diff) | |
download | gcc-b45a9ff305f536031a12509c6c6e7aea9cb7f884.zip gcc-b45a9ff305f536031a12509c6c6e7aea9cb7f884.tar.gz gcc-b45a9ff305f536031a12509c6c6e7aea9cb7f884.tar.bz2 |
[Ada] Crash on expression functions within quantified expressions
This patch fixes an issue whereby using a call to an expression function
as the domain of iteration for a loop would trigger a crash due to the
function not being frozen appropriately.
2018-09-26 Justin Squirek <squirek@adacore.com>
gcc/ada/
* sem_ch5.adb (Analyze_Iterator_Specification): Add conditional
to freeze called functions within iterator specifications during
full analysis.
(Preanalyze_Range): Minor typo fix.
gcc/testsuite/
* gnat.dg/expr_func8.adb: New testcase.
From-SVN: r264612
Diffstat (limited to 'gcc/ada/gcc-interface/Make-lang.in')
0 files changed, 0 insertions, 0 deletions