aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-05-29 09:42:16 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-29 09:42:16 +0000
commit944e24a31a9b3b3c4494853a8e2a2d589f65519f (patch)
tree32d0a4ddf43bc8f544bea46b9d63e629baa3c54e /gcc/tree-cfg.c
parent3747db827dfedd0f91e08f74b4082da8c0b2df5e (diff)
downloadgcc-944e24a31a9b3b3c4494853a8e2a2d589f65519f.zip
gcc-944e24a31a9b3b3c4494853a8e2a2d589f65519f.tar.gz
gcc-944e24a31a9b3b3c4494853a8e2a2d589f65519f.tar.bz2
[Ada] Plug small hole in -gnatR output
The -gnatR switch outputs representation information for locally-defined types but it was skipping those defined in blocks without label, unlike those defined in named blocks. This change plugs this small hole. The following procedure: procedure P is begin declare type R is record I : Integer; end record; begin null; end; end; must now generate the following output with -gnatR: Representation information for unit P (body) -------------------------------------------- for B_1.R'Size use 32; for B_1.R'Alignment use 4; for B_1.R use record I at 0 range 0 .. 31; end record; 2018-05-29 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * repinfo.adb (List_Entities): Also recurse into blocks without label. From-SVN: r260884
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions