]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_ch4.adb (Has_Fixed_Op): New predicate in Check_Arithmetic_Pair...
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 3 Jan 2005 15:41:36 +0000 (16:41 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 3 Jan 2005 15:41:36 +0000 (16:41 +0100)
commitda709d08b9dccb7c89a7f041267447c1fd896615
treec686442352752fe7e5ecb5206614ab5bfcb175de
parent416cd96afe0f7c597b89448a0f8481050eb30675
sem_ch4.adb (Has_Fixed_Op): New predicate in Check_Arithmetic_Pair...

* sem_ch4.adb (Has_Fixed_Op): New predicate in Check_Arithmetic_Pair,
to determine whether one of the operands is a fixed-point type for
which a user-defined multiplication or division operation might be
defined.

* sem_res.adb (Valid_Conversion): The legality rules for conversions
of access types are symmetric in Ada 2005: either designated type can
be unconstrained.

From-SVN: r92849
gcc/ada/sem_ch4.adb
gcc/ada/sem_res.adb