]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix fc-prototypes usage with C_INT64_T and non LP64 Targets.
authorAndrew Pinski <apinski@marvell.com>
Wed, 29 Mar 2023 21:34:30 +0000 (21:34 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 30 Mar 2023 17:38:28 +0000 (19:38 +0200)
commit429b75db39aa899f93e46ef77650fca4f1b02fe5
treead4d048bda8fee431874c3051a47f63e4f153fe6
parent82e8d1685a1e5fac4880e987ed9684248378bce2
Fix fc-prototypes usage with C_INT64_T and non LP64 Targets.

The problem here is we were outputing long_long instead of
"long long". This was just an oversight and a missing check.

Committed as obvious after a bootstrap/test on x86_64-linux-gnu.

gcc/fortran/ChangeLog:

* dump-parse-tree.cc (get_c_type_name): Fix "long_long"
type name to be "long long". Add a comment on why adding
2 to the name too.
gcc/fortran/dump-parse-tree.cc