Fix fc-prototypes usage with C_INT64_T and non LP64 Targets.
commita7df3bea9cf1e42d44ec02b548fc43dd214eda79
authorAndrew Pinski <apinski@marvell.com>
Wed, 29 Mar 2023 21:34:30 +0000 (29 21:34 +0000)
committerAndrew Pinski <apinski@marvell.com>
Thu, 30 Mar 2023 03:49:14 +0000 (29 20:49 -0700)
tree37f7d57a3705117977398c2c27acca237e7e6af9
parent3588c8cbc1003d004c3ce5ff96af67aa95c073e9
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