diff options
author | Bob Duff <duff@adacore.com> | 2017-04-25 13:37:18 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-04-25 15:37:18 +0200 |
commit | 0f96fd143cd249110dcdeabea7fd8972b91b86c6 (patch) | |
tree | fa63d732e414c06875cdb37cbfc725c72890f52b /gcc/ada/comperr.adb | |
parent | 7d5dbb22ec8e0c1f104539d3fdf2afc5174a5b45 (diff) | |
download | gcc-0f96fd143cd249110dcdeabea7fd8972b91b86c6.zip gcc-0f96fd143cd249110dcdeabea7fd8972b91b86c6.tar.gz gcc-0f96fd143cd249110dcdeabea7fd8972b91b86c6.tar.bz2 |
err_vars.ads, [...]: Eliminate the vestigial Internal_Source_File and the Internal_Source buffer.
2017-04-25 Bob Duff <duff@adacore.com>
* err_vars.ads, fmap.adb, fmap.ads, comperr.adb, fname-sf.adb,
types.adb, types.ads, types.h, sinput-l.adb, targparm.adb,
errout.adb, sinput.adb, sinput.ads, cstand.adb, scn.adb,
scn.ads, gnatls.adb: Eliminate the vestigial Internal_Source_File and
the Internal_Source buffer. This removes the incorrect call to "="
the customer noticed.
Wrap remaining calls to "=" in Null_Source_Buffer_Ptr. We
eventually need to eliminate them altogether. Or else get rid
of zero-origin addressing.
From-SVN: r247234
Diffstat (limited to 'gcc/ada/comperr.adb')
-rw-r--r-- | gcc/ada/comperr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/comperr.adb b/gcc/ada/comperr.adb index 0403524..0892a86 100644 --- a/gcc/ada/comperr.adb +++ b/gcc/ada/comperr.adb @@ -265,7 +265,7 @@ package body Comperr is -- If we get a Src file, we use it - if Src /= null then + if not Null_Source_Buffer_Ptr (Src) then Lo := 0; Outer : while Lo < Hi loop |