[Ada] Housekeeping work in gigi (bis)

2016-01-18 Thread Eric Botcazou
In preparation for the implementation of the 'char' compatibility fix. Tested on x86_64-suse-linux, applied on the mainline. 2016-01-18 Eric Botcazou * gcc-interface/gigi.h (build_call_raise_column): Adjust prototype. (build_call_raise_range): Likewise. (gnat_unsigned

[Ada] Housekeeping work in gigi

2016-01-18 Thread Eric Botcazou
In preparation for the implementation of the 'char' compatibility fix. Tested on x86_64-suse-linux, applied on the mainline. 2016-01-18 Eric Botcazou * gcc-interface/ada-tree.h (TYPE_IMPLEMENTS_PACKED_ARRAY_P): Rename to (TYPE_IMPL_PACKED_ARRAY_P): ...this. (TYPE_CAN_

[Ada] Housekeeping work in gigi

2015-09-14 Thread Eric Botcazou
No functional changes, tested on x86_64-suse-linux, applied on the mainline. 2015-09-14 Eric Botcazou * gcc-interface/gigi.h (ref_filename): Delete. (Sloc_to_locus): Add clean_column parameter defaulting to false. (build_call_raise): Adjust comment. (build_call

[Ada] Housekeeping work in gigi

2015-06-26 Thread Eric Botcazou
Mainly for the set of create_* functions in utils.c. Tested on x86_64-suse-linux, applied on the mainline. 2015-06-26 Eric Botcazou * gcc-interface/gigi.h (create_var_decl_1): Rename into... (create_var_decl): ...this. Add default value for last parameter. (create_ty

[Ada] Housekeeping work in gigi (41/n)

2011-11-20 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-10-20 Eric Botcazou * gcc-interface/trans.c (Subprogram_Body_to_gnu): Add comment. (gnat_to_gnu) : Add 'else' to avoid doing a useless test. Tweak default case. : Use better formatting. * gcc-int

[Ada] Housekeeping work in gigi (40/n)

2011-10-20 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-10-20 Eric Botcazou * gcc-interface/trans.c (lhs_or_actual_p): New predicate. (unchecked_conversion_nop): Use it. (gnat_to_gnu): Likewise. -- Eric Botcazou Index: gcc-interface/trans.c

[Ada] Housekeeping work in gigi (39/n)

2011-10-12 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-10-12 Eric Botcazou * gcc-interface/trans.c (Attribute_to_gnu): Use remove_conversions. (push_range_check_info): Likewise. (gnat_to_gnu) : Likewise. * gcc-interface/utils2.c (build_unary_op) : Likewise.

[Ada] Housekeeping work in gigi (38/n)

2011-09-26 Thread Eric Botcazou
Some TREE_CHAINs have surreptitiously crept back... Tested on i586-suse-linux, applied on the mainline. 2011-09-26 Eric Botcazou * gcc-interface/gigi.h (create_subprog_decl): Replace TREE_CHAIN with DECL_CHAIN in comment. * gcc-interface/trans.c (gigi): Likewise.

[Ada] Housekeeping work in gigi (37/n)

2011-09-26 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-09-26 Eric Botcazou * gcc-interface/trans.c (assoc_to_constructor): Minor tweaks. * gcc-interface/utils2.c (build_simple_component_ref): Fix formatting issues. Use COMPLETE_TYPE_P in assertion. Also set TREE_RE

[Ada] Housekeeping work in gigi (36/n)

2011-09-25 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-09-25 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : Use XNEW instead of xmalloc. Do not build useless pointer type. : Use XNEW instead of xmalloc. * gcc-interface/trans.c (gnat_to_gnu) : Ti

[Ada] Housekeeping work in gigi (35/n)

2011-09-11 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-09-11 Eric Botcazou * gcc-interface/trans.c (call_to_gnu): Use local variable. Make sure this is a real formal parameter before testing whether it is by ref. -- Eric Botcazou Index: gcc-interface/trans.c

[Ada] Housekeeping work in gigi (34/n)

2011-09-11 Thread Eric Botcazou
This cleans up a bit the handling of CALL_EXPR in gigi. Tested on i586-suse-linux, applied on the mainline. 2011-09-11 Eric Botcazou * gcc-interface/gigi.h (build_call_0_expr): Delete. (build_call_1_expr): Likewise. (build_call_2_expr): Likewise. (build_call_n

[Ada] Housekeeping work in gigi (33/n)

2011-09-11 Thread Eric Botcazou
This cleans up a bit the handling of MODIFY_EXPR in gigi. Tested on i586-suse-linux, applied on the mainline. 2011-09-11 Eric Botcazou * gcc-interface/trans.c (build_return_expr): Use void_type_node for MODIFY_EXPR. * gcc-interface/utils2.c (build_binary_op) : Assert

[Ada] Housekeeping work in gigi (32/n)

2011-08-30 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2011-08-30 Eric Botcazou * gcc-interface/ada-tree.h (TYPE_EXTRA_SUBTYPE_P): Add internal check. * gcc-interface/utils2.c (build_binary_op): Tighten condition. (build_unary_op): Likewise. -- Eric Botcazou Index: g

[Ada] Housekeeping work in gigi (31/n)

2011-07-24 Thread Eric Botcazou
Tested on i586-suse-linux, applied on the mainline. 2011-07-24 Eric Botcazou * gcc-interface/gigi.h (build_function_stub): Remove. (build_return_expr): Likewise. (convert_vms_descriptor): Declare. * gcc-interface/utils.c (convert_vms_descriptor): Make global.