]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not issue size error for too large array type
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Sep 2021 09:14:37 +0000 (11:14 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Sep 2021 09:14:37 +0000 (11:14 +0200)
commitf349a8b5928ec66cad91c00623db67e747be1600
treeddfeeabbfb568761dd28f74b20ee004b7770b57a
parentb9c35857d00c66158fcdf7de8adae4f06023052e
Do not issue size error for too large array type

The error is to be issued when objects of the type are declared instead.

gcc/ada/
* gcc-interface/decl.c (validate_size): Do not issue an error if the
old size has overflowed.
gcc/ada/gcc-interface/decl.c