This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Current patch needed to build Ada as of 20050626
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 27 Jun 2005 14:32:48 +0200
- Subject: Re: [Ada] Current patch needed to build Ada as of 20050626
- References: <1119819626.8919.292.camel@pc.site>
> 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