aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-04-20 12:49:24 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-04-20 12:49:24 +0200
commit51b42ffa5ee75a45b9c708f30ed49b33df33a3c3 (patch)
tree31ec0eb78796a2f1f75d63a7e53c023f2e7cb8a1 /gcc/tree-if-conv.c
parentf73dc37f756c3839704b24739e875f378edb9db4 (diff)
downloadgcc-51b42ffa5ee75a45b9c708f30ed49b33df33a3c3.zip
gcc-51b42ffa5ee75a45b9c708f30ed49b33df33a3c3.tar.gz
gcc-51b42ffa5ee75a45b9c708f30ed49b33df33a3c3.tar.bz2
[multiple changes]
2016-04-20 Bob Duff <duff@adacore.com> * sem_ch6.adb (Enter_Overloaded_Entity): Do not warn about hiding unless we're actually hiding something. The previous code would (for example) warn about a "<" on a record type because it incorrectly thought it was hiding the "<" on Boolean in Standard. We need to check that the homonym S is in fact a homograph of a predefined operator. 2016-04-20 Ed Schonberg <schonberg@adacore.com> * exp_util.ads, exp_util.adb (Build_Procedure_Form): Moved here from exp_ch6.adb, for use in SPARK_To_C mode when creating the procedure equivalent to a function returning an array, when this construction is deferred to the freeze point of the function. * sem_util.adb (Is_Unchecked_Conversion_Instance): Include a function that renames an instance of Unchecked_Conversion. * freeze.adb (Freeze_Subprogram): Generate the proper procedure declaration for a function returning an array. * exp_ch6.adb (Build_Procedure_Form): Moved to exp_util. From-SVN: r235266
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions