Further increase the limit on the size of accepted Ada files
commit39fa0de5994559d4f672a5528ea09433cbe6ec80
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 13 Apr 2021 15:07:36 +0000 (13 17:07 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 13 Apr 2021 15:11:15 +0000 (13 17:11 +0200)
treeccf7e930c39ee5cabf40f4b1c29a63e4798bf22e
parentf9810422f6768b914aabfcbffe64f535bdd18452
Further increase the limit on the size of accepted Ada files

It turns out that the limit on the size of accepted Ada files had been
already lowered earlier, namely when location ranges had been introduced.
Now we do not make use of location ranges in Ada so we can recoup the loss.

gcc/ada/
* gcc-interface/misc.c (gnat_init): Set default range bits to 0.
* gcc-interface/trans.c (extract_encoding): Delete.
(decode_name): Likewise.
(File_Name_to_gnu): New function.
(gigi): Call it to translate file names.  Replace assertion on
1-1 mapping between files and line maps with conditional error.
gcc/ada/gcc-interface/misc.c
gcc/ada/gcc-interface/trans.c