This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r235126 - in /trunk/gcc/ada: ChangeLog exp_ch11...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]