]> gcc.gnu.org Git - gcc.git/commit
[Ada] Vxworks7r2 SR0610 coalesced some macro values
authorDoug Rupp <rupp@adacore.com>
Wed, 10 Jul 2019 09:01:17 +0000 (09:01 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 10 Jul 2019 09:01:17 +0000 (09:01 +0000)
commitef8a3d9ef0ace5479d42f7a5382393b5a1a79d96
tree99c069795e020880662bb48894cb6ccbe5cea01d
parent32e0627f99f4212695ec13b6d50ca48d1c29ded3
[Ada] Vxworks7r2 SR0610 coalesced some macro values

SR0600 and SR0610 cannot be differentiated by macro testing (arguably an
oversight in header file version.h) so: The case statement testing for
"file not found" is reformulated into an if/else series of statements to
avoid a problem where two cases have identical values in SR0610, but
different values in SR0600.

2019-07-10  Doug Rupp  <rupp@adacore.com>

gcc/ada/

* sysdep.c (__gnat_is_file_not_found_error): Reformulate to also
work for vxworks7r2 SR0610.

From-SVN: r273333
gcc/ada/ChangeLog
gcc/ada/sysdep.c
This page took 0.065034 seconds and 5 git commands to generate.