This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch]: Problem in libgcov.c (__gcov_execve) for target x86_64-pc-mingw32
- From: NightStrike <nightstrike at gmail dot com>
- To: "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Oct 2007 08:47:03 -0400
- Subject: Re: [patch]: Problem in libgcov.c (__gcov_execve) for target x86_64-pc-mingw32
- References: <OFAA54C841.1EE0E894-ONC1257368.0029874E-C1257368.002AA381@onevision.de>
On 10/2/07, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> Hi,
>
> An interesting issue is that there is problem related that in c case the
> type char * const[] is not equivalent to type char *const *. Is this done
> by intention ?
> For the w64 target the parameter of exec(??) methods are using 'const char
> * const *' but gcc uses the type 'char * const []' for argp and envp
> arguments. In earlier versions the types were equivalent.
>
> See other report: http://gcc.gnu.org/ml/gcc-help/2007-10/msg00008.html
>
> So I suggest the following patch for w64 in libgcov.c:
>
> ChangeLog:
>
> 2007-10-02 Kai Tietz <kai.tietz@onevision.com>
> * libgcov.c: (__gcov_execve): Special case for x86_64-pc-mingw32.
>
>
Has anyone reviewed this yet?