diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2015-12-10 14:20:50 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-12-10 14:20:50 +0000 |
commit | 102a163189b46c6d6e389817ce39b169f1fdbc9c (patch) | |
tree | bf87539ebc4e1d4622018afae90ff4cfcc235a65 /gcc/fortran/io.c | |
parent | 47e5754e17e9ac3b86b88aa57a58baee6d79fe16 (diff) | |
download | gcc-102a163189b46c6d6e389817ce39b169f1fdbc9c.zip gcc-102a163189b46c6d6e389817ce39b169f1fdbc9c.tar.gz gcc-102a163189b46c6d6e389817ce39b169f1fdbc9c.tar.bz2 |
re PR ada/48013 (generic instantiation breaks the No_Elaboration_Code restriction)
PR ada/48013
* gcc-interface/trans.c (empty_stmt_list_p): New predicate.
(gigi): Invoke it to compute the No_Elaboration_Code property.
(insert_code_for): Do not insert the code if it's empty.
From-SVN: r231515
Diffstat (limited to 'gcc/fortran/io.c')
0 files changed, 0 insertions, 0 deletions