]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix explicit arrays with non-constant size for -fc-prototypes.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Wed, 14 May 2025 18:11:48 +0000 (20:11 +0200)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 15 May 2025 17:42:12 +0000 (19:42 +0200)
commita85776f7f64271d628ae0a04f02717ee6572e6e8
tree71e608ac3d14520925ba57f542c7230fedda0a16
parentc6ec3a9bddb4224a2369b0284ade4b474cd4b0ce
Fix explicit arrays with non-constant size for -fc-prototypes.

gcc/fortran/ChangeLog:

PR fortran/120139
* dump-parse-tree.cc (get_c_type_name): If no constant
size of an array exists, output an asterisk.

(cherry picked from commit 4f9c7b5258f2af89bba8e954c277981d2e2ee1ef)
gcc/fortran/dump-parse-tree.cc