[Ada] Current patch needed to build Ada as of 20050626
Eric Botcazou
ebotcazou@adacore.com
Mon Jun 27 12:32:00 GMT 2005
> If no one is looking at this, may be it's better to just commit the
> workaround patch?
>
> Laurent
>
> Index: misc.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
> retrieving revision 1.103
> diff -u -r1.103 misc.c
> --- misc.c 16 Jun 2005 09:05:06 -0000 1.103
> +++ misc.c 26 Jun 2005 20:30:01 -0000
> @@ -339,6 +339,8 @@
> /* Uninitialized really means uninitialized in Ada. */
> flag_zero_initialized_in_bss = 0;
>
> + flag_wrapv = 1;
> +
> return CL_Ada;
> }
The flag_wrapv problem doesn't come from the Ada front-end, which generates a
perfectly reasonable construct, but from fold so the workaround should be
installed in fold instead, if it is agreed that a workaround is needed.
But Diego is now working on the problem.
--
Eric Botcazou
More information about the Gcc
mailing list