This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r127976 - in /trunk/gcc/ada: namet.adb par-util...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 31 Aug 2007 10:23:26 -0000
- Subject: 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