aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-05-28 08:55:52 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-28 08:55:52 +0000
commitbcad5029a8e4977013d7fadc133f22fbdf8dd99d (patch)
treee28ebd67d4e1632a6d6a5af6fce99c5572a2770f /gcc/dwarf2asm.c
parent4fd9587f7c4b77550b6a9a1045e2687fb5d77335 (diff)
downloadgcc-bcad5029a8e4977013d7fadc133f22fbdf8dd99d.zip
gcc-bcad5029a8e4977013d7fadc133f22fbdf8dd99d.tar.gz
gcc-bcad5029a8e4977013d7fadc133f22fbdf8dd99d.tar.bz2
[Ada] Fix internal error on renaming of equality for record type
This adjusts the previous change to the cases where the array type is not yet frozen and, therefore, where Size_Depends_On_Discriminant is not yet computed, by doing the computation manually. 2018-05-28 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * exp_ch4.adb (Expand_Composite_Equality): Compute whether the size depends on a discriminant manually instead of using the predicate Size_Depends_On_Discriminant in the array type case. gcc/testsuite/ * gnat.dg/renaming12.adb, gnat.dg/renaming12.ads: New testcase. From-SVN: r260839
Diffstat (limited to 'gcc/dwarf2asm.c')
0 files changed, 0 insertions, 0 deletions