]> git.feebdaed.xyz Git - 0xmirror/gcc.git/commit
a68: fix layout of incomplete types
authorJose E. Marchesi <jose.marchesi@oracle.com>
Sat, 20 Dec 2025 14:59:50 +0000 (15:59 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Sat, 20 Dec 2025 15:52:23 +0000 (16:52 +0100)
commit8d007d35e4b8f1a1d06299af5321fb776da3cac1
tree654193031524156cd91618c0699bd4ceb8fac324
parent28749321d32e513b9da3ab2f7ff51df8f9d3811f
a68: fix layout of incomplete types

Apparently there is some case where the c_union of an union may be
incomplete and the containing union complete.  At this point I don't
fully understand how is that possible and the layering out of modes
should probably be rethinked, but for now fix this corner case.

Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>
gcc/algol68/ChangeLog

* a68-low-moids.cc (a68_lower_moids): Fix for layout of
incomplete types.
gcc/algol68/a68-low-moids.cc