This is the mail archive of the gcc-patches@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: [Patch, fortran] PR 51808 Heap allocate binding labels


On Sun, Jan 29, 2012 at 23:36, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Sun, 29 Jan 2012, Janne Blomqvist wrote:
>> Taking into account the suggestions by Tobias and Mikael, attached is
>> the patch I just committed. Thanks for the reviews!
>
> I am now seeing the following bootstrap error on all my FreeBSD testers,
> and this does not appear to be operating system-specific:
>
> .../gcc-HEAD/gcc/fortran/decl.c: In function 'gfc_try set_binding_label(char**, const char*, int)':
> .../gcc-HEAD/gcc/fortran/decl.c:3828:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
> .../gcc-HEAD/gcc/fortran/decl.c: In function 'match gfc_match_bind_c(gfc_symbol*, bool)':
> .../gcc-HEAD/gcc/fortran/decl.c:5820:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
> gmake[3]: *** [fortran/decl.o] Error 1
>

Have you tried r183679, which should fix this?

> How and where was this patch tested?

While I can speak only for myself, regtesting on
x86_64-unknown-linux-gnu. For some reason this was/is flagged as a
warning for me, not an error, so I missed it among all the other
warnings. Perhaps something to do with me using --disable-bootstrap,
and my host compiler (GCC 4.4) not flagging this as an error while 4.7
does?

Cheers,

-- 
Janne Blomqvist


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