diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-01-02 00:51:21 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-04 05:17:29 -0400 |
commit | d4b0a294694a145aa33a25d1f923f4085b8f7d99 (patch) | |
tree | 255d19fc97528d34027860dabd117c0291addec9 /gcc/c | |
parent | b65d9aff59bdaa77578de0666077fdf671a020bc (diff) | |
download | gcc-d4b0a294694a145aa33a25d1f923f4085b8f7d99.zip gcc-d4b0a294694a145aa33a25d1f923f4085b8f7d99.tar.gz gcc-d4b0a294694a145aa33a25d1f923f4085b8f7d99.tar.bz2 |
[Ada] Fix inconsistent handling of character set control switches
gcc/ada/
* csets.adb (Initialize): Refactor into CASE statement; raise
exception on unsupported code of character set (it will be
gently rejected earlier when scanning command line switches).
* switch-b.adb (Scan_Binder_Switches): Refactor into a
membership expression; add missing '9' choice; reorder as
described by GNAT UG, section 4.3.11.
* switch-c.adb (Scan_Front_End_Switches): Refactor into a
membership expression and reorder as above.
* doc/gnat_ugn/building_executable_programs_with_gnat.rst
(gnatic): Mention '5' as an allowed value for "c".
* gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions