This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Current patch needed to build Ada as of 20050626


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]