aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/vx_crtend.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-12-11 11:09:41 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-12-11 11:09:41 +0000
commit56bad7dbfb28ef984d23ff9f69de5db431d02a15 (patch)
tree0ff7eb418285fe6af1d3921a51cbadc66c815f63 /gcc/ada/vx_crtend.c
parentacbdd83d73ce56d1367581e1cbd78f85e9b4b0bf (diff)
downloadgcc-56bad7dbfb28ef984d23ff9f69de5db431d02a15.zip
gcc-56bad7dbfb28ef984d23ff9f69de5db431d02a15.tar.gz
gcc-56bad7dbfb28ef984d23ff9f69de5db431d02a15.tar.bz2
[Ada] Fix an ICE on instantiated subprogram with -gnatc
The following should compile quietly: $ gcc -c p-proc.ads -gnatc procedure P.Proc is new G; with Q; package P is generic procedure G; end P; with System; with Unchecked_Conversion; package Q is generic package Inner_G is type T is access all Integer; function Cnv is new Unchecked_Conversion (System.Address, T); end Inner_G; end Q; 2018-12-11 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * gcc-interface/trans.c (elaborate_all_entities_for_package): Skip aliasing subprograms. From-SVN: r266984
Diffstat (limited to 'gcc/ada/vx_crtend.c')
0 files changed, 0 insertions, 0 deletions