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]

r128779 - in /trunk/gcc/ada: a-tasatt.adb g-soc...


Author: charlet
Date: Wed Sep 26 10:41:24 2007
New Revision: 128779

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128779
Log:
2007-09-26  Hristian Kirtchev  <kirtchev@adacore.com>

	* sem_ch8.adb (Analyze_Use_Type): Code cleanup.
	(Applicable_Use): Emit a warning when a package tries to use itself.
	(Use_One_Type): Add variable Is_Known_Used. Emit a warning when a type
	is already in use or the package where it is declared is in use or is
	declared in the current package.
	(Spec_Reloaded_For_Body): New subsidiary routine for Use_One_Type.

	* a-tasatt.adb, s-osprim-vxworks.adb, g-socthi-mingw.adb,
	s-intman-vms.adb, g-socket.adb, g-thread.adb, s-tarest.adb,
	s-tassta.adb, s-tporft.adb: Remove redundant 'use type' clause.


Modified:
    trunk/gcc/ada/a-tasatt.adb
    trunk/gcc/ada/g-socket.adb
    trunk/gcc/ada/g-socthi-mingw.adb
    trunk/gcc/ada/g-thread.adb
    trunk/gcc/ada/s-intman-vms.adb
    trunk/gcc/ada/s-osprim-vxworks.adb
    trunk/gcc/ada/s-tarest.adb
    trunk/gcc/ada/s-tassta.adb
    trunk/gcc/ada/s-tporft.adb
    trunk/gcc/ada/sem_ch8.adb


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