r235126 - in /trunk/gcc/ada: ChangeLog exp_ch11...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Mon Apr 18 10:48:00 GMT 2016
Author: charlet
Date: Mon Apr 18 10:48:33 2016
New Revision: 235126
URL: https://gcc.gnu.org/viewcvs?rev=235126&root=gcc&view=rev
Log:
2016-04-18 Bob Duff <duff@adacore.com>
* sinput.ads, sinput.adb (Build_Location_String): Take a
parameter instead of using a global variable. The function
version no longer destroys the Name_Buffer.
* stringt.ads, stringt.adb (String_From_Name_Buffer): Take a
parameter, which defaults to the Global_Name_Buffer, so some
calls can avoid the global.
* exp_ch11.adb, exp_intr.adb: Use new interfaces above
to avoid using globals. All but one call to Build_Location_String
avoids the global. Only one call to String_From_Name_Buffer
avoids it.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch11.adb
trunk/gcc/ada/exp_intr.adb
trunk/gcc/ada/sinput.adb
trunk/gcc/ada/sinput.ads
trunk/gcc/ada/stringt.adb
trunk/gcc/ada/stringt.ads
More information about the Gcc-cvs
mailing list