Re: [Ada] RFA: Add some "missing" integer_one_node conversions

2014-05-14 Thread Eric Botcazou
> * gcc-interface/decl.c (gnat_to_gnu_entity): Convert > integer_one_node to the appropriate type. > * gcc-interface/trans.c (gnat_to_gnu): Likewise. > (pos_to_constructor): Likewise. OK for the sake of consistency, thanks. -- Eric Botcazou

Re: [Ada] RFA: Add some "missing" integer_one_node conversions

2014-05-13 Thread Richard Biener
On Sat, May 10, 2014 at 9:25 PM, Richard Sandiford wrote: > While testing another patch, I hit cases where Ada was building or > folding additions involving integer_one_node without converting > it to the type of the other operand. This looked unintentional, > since all other uses of integer_one_

[Ada] RFA: Add some "missing" integer_one_node conversions

2014-05-10 Thread Richard Sandiford
While testing another patch, I hit cases where Ada was building or folding additions involving integer_one_node without converting it to the type of the other operand. This looked unintentional, since all other uses of integer_one_node seemed to have the conversion. Tested on x86_64-linux-gnu. O