Re: [PATCH] Fix few build warnings with LLVM toolchain

2019-05-29 Thread David CARLIER
Here a little progress but maybe it s better doing this in small "batches" rather than fixing everything in one shot ? Kind regards. Fixing few build warnings with clang/clang++ of this type: ../.././gcc/coretypes.h:76:1: warning: class 'rtx_def' was previously declared as a struct; this is valid,

Re: [PATCH] Fix few build warnings with LLVM toolchain

2019-05-28 Thread David CARLIER
Yes I sort of agree it is pretty harmless even though I cannot tell for Microsoft toolchain issue here. On Tue, 28 May 2019 at 10:27, Jakub Jelinek wrote: > > On Tue, May 28, 2019 at 12:24:12PM +0200, Martin Liška wrote: > > Well, I see a lot of these struct/class discrepancies when building GCC

Fwd: [PATCH] Fix few build warnings with LLVM toolchain

2019-05-28 Thread David CARLIER
-- Forwarded message - From: David CARLIER Date: Tue, 28 May 2019 at 10:16 Subject: Re: [PATCH] Fix few build warnings with LLVM toolchain To: Segher Boessenkool All right, here an updated version, hope it looks better. Thanks. On Tue, 28 May 2019 at 10:09, Segher Boessenkool

[PATCH] Fix few build warnings with LLVM toolchain

2019-05-28 Thread David CARLIER
Hi, Here a tiny patch to fix few build warnings. Kind regards. Index: gcc/ChangeLog === --- gcc/ChangeLog (revision 271684) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,7 @@ +2019-05-28 David Carlier + +* coretypes.h: Fix