aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2019-07-04 08:05:55 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-04 08:05:55 +0000
commit7273107b948b81edc084b33e8e8fd4f3b4115f72 (patch)
treec9317e9bb0f4b3b08397a1108a842e13cf3763a4 /gcc/tree-loop-distribution.c
parentc3c41b296a71e77742d3edb3494945537cd72983 (diff)
downloadgcc-7273107b948b81edc084b33e8e8fd4f3b4115f72.zip
gcc-7273107b948b81edc084b33e8e8fd4f3b4115f72.tar.gz
gcc-7273107b948b81edc084b33e8e8fd4f3b4115f72.tar.bz2
[Ada] Hang on expansion of library-level instantiation
This patch fixes an issue whereby instantiation of a generic at the library-level may cause a hang or crash during compilation due to inappropriate expansion of generic actuals. 2019-07-04 Justin Squirek <squirek@adacore.com> gcc/ada/ * sem_ch12.adb (Perform_Appropriate_Analysis): Added for selecting which type of analysis based on wheither the instantiation is a generic at the library-level. In which case expansion during analysis. (Preanalyze_Actuals): Modify calls to Analyze to use the new routine. gcc/testsuite/ * gnat.dg/generic_inst4.adb, gnat.dg/generic_inst4_gen.ads, gnat.dg/generic_inst4_inst.ads, gnat.dg/generic_inst4_typ.ads: New testcase. From-SVN: r273054
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions