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]

r127976 - in /trunk/gcc/ada: namet.adb par-util...


Author: charlet
Date: Fri Aug 31 10:23:25 2007
New Revision: 127976

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

        * restrict.adb, namet.adb, par-util.adb: Remove redundant type
	conversion.

	* sem_res.adb (Resolve_Qualified_Expression): Add machinery to detect
	simple redundant qualifications. The check is performed whenever the
	expression is a non-overloaded identifier.
	(Resolve_Type_Conversion): Enchance the redundant type conversion check
	to include loop parameters.
	(Valid_Conversion): Avoid generation of spurious error message.


Modified:
    trunk/gcc/ada/namet.adb
    trunk/gcc/ada/par-util.adb
    trunk/gcc/ada/restrict.adb
    trunk/gcc/ada/sem_res.adb


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