]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_res.adb (Resolve_Call): Provide a better error message whenever a procedure call...
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 15 Nov 2005 14:03:45 +0000 (15:03 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:03:45 +0000 (15:03 +0100)
commit9ebe37436fec61ab771979afb0d0b2300c65b699
treeb8f9d4297a05a9ce1bf5767b2e0356f3fdaf3532
parent0356699b567f9e97ddb50e55ea623676af9a44d4
sem_res.adb (Resolve_Call): Provide a better error message whenever a procedure call is used as a select...

2005-11-14  Hristian Kirtchev  <kirtchev@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>
    Robert Dewar  <dewar@adacore.com>
    Thomas Quinot  <quinot@adacore.com>

* sem_res.adb (Resolve_Call): Provide a better error message whenever
a procedure call is used as a select statement trigger and is not an
entry renaming or a primitive of a limited interface.
(Valid_Conversion): If the operand has a single interpretation do not
remove address operations.
(Check_Infinite_Recursion): Skip freeze nodes when looking for a raise
statement to inhibit warning.
(Resolve_Unary_Op): Do not produce a warning when
processing an expression of the form -(A mod B)
Use Universal_Real instead of Long_Long_Float when we need a high
precision float type for the generated code (prevents gratuitous
Vax_Float stuff when pragma Float_Representation (Vax_Float) used)
(Resolve_Concatenation_Arg): Improve error message when argument is an
ambiguous call to a function that returns an array.
(Make_Call_Into_Operator, Operand_Type_In_Scope): Do not check that
there is an implicit operator in the given scope if we are within an
instance: legality check has been performed on the generic.
(Resolve_Unary_Op): Apply warnings checks on argument of Abs operator
after resolving operand, to avoid false warnings on overloaded calls.

From-SVN: r107005
gcc/ada/sem_res.adb