]> git.ipfire.org Git - thirdparty/gcc.git/commit
a68: fix handling of publicized declarations in victal pass
authorJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 29 Dec 2025 16:40:32 +0000 (17:40 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 29 Dec 2025 16:42:22 +0000 (17:42 +0100)
commit7e8034ae444a98847591037d8a3bf427faf0a22f
treed328bf1b0c071c8212a5923ba8f8ff9acbb9e3d6
parent549bfeaa0bd2641ed99f1525caf3d54e2126396a
a68: fix handling of publicized declarations in victal pass

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

* a68-parser-victal.cc (victal_check_mode_dec): Mind publicized
declarations.
(victal_check_variable_dec): Likewise.
(victal_check_identity_dec): Likewise.

gcc/testsuite/ChangeLog

* algol68/compile/actual-bounds-expected-4.a68: New test.
* algol68/compile/formal-bounds-expected-1.a68: Likewise.
gcc/algol68/a68-parser-victal.cc
gcc/testsuite/algol68/compile/actual-bounds-expected-4.a68 [new file with mode: 0644]
gcc/testsuite/algol68/compile/formal-bounds-expected-1.a68 [new file with mode: 0644]