[PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-07-29 Thread Andris Pavenis
This patch (3rd of 4) contains changes to gcc-interface/Makefile.in and DJGPP own implementation of system.ads. ChangeLog entry: 2016-07-30 Andris Pavenis * ada/gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target (EH_MECHANISM): Define to -gcc for DJGPP * ada/system-dj

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-08-18 Thread Arnaud Charlet
> 2016-07-30 Andris Pavenis > > * ada/gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for > DJGPP target > (EH_MECHANISM): Define to -gcc for DJGPP > * ada/system-djgpp.ads: New file > > Andris > +++ b/gcc/ada/system-djgpp.ads > @@ -0,0 +1,148 @@ > +--

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-08-21 Thread Andris Pavenis
On 08/18/2016 12:41 PM, Arnaud Charlet wrote: 2016-07-30 Andris Pavenis * ada/gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Define for DJGPP target (EH_MECHANISM): Define to -gcc for DJGPP * ada/system-djgpp.ads: New file Andris +++ b/gcc/ada/system-djgpp.ads @@ -0,0 +1,148 @@ +

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-08-25 Thread Arnaud Charlet
Which exception handling mechanism is used by the DJGPP port? Is it (GCC) SJLJ? Arno

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-04 Thread Andris Pavenis
On 08/25/2016 12:46 PM, Arnaud Charlet wrote: Which exception handling mechanism is used by the DJGPP port? Is it (GCC) SJLJ? No. Updated to set ZCX_By_Default := true for DJGPP. New patch attached. Andris >From 45d1e01d7b29e88eea85a284733efdd7f38cc604 Mon Sep 17 00:00:00 2001 From: Andris Pa

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-04 Thread Arnaud Charlet
> On 08/25/2016 12:46 PM, Arnaud Charlet wrote: > >Which exception handling mechanism is used by the DJGPP port? > >Is it (GCC) SJLJ? > No. Updated to set ZCX_By_Default := true for DJGPP. Well I'm confused now. How could this work before? In other words, has the target runtime been tested/used by

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-04 Thread Andris Pavenis
On 09/04/2016 09:50 PM, Arnaud Charlet wrote: On 08/25/2016 12:46 PM, Arnaud Charlet wrote: Which exception handling mechanism is used by the DJGPP port? Is it (GCC) SJLJ? No. Updated to set ZCX_By_Default := true for DJGPP. Well I'm confused now. How could this work before? In other words, ha

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-04 Thread Arnaud Charlet
> GCC Ada compiler itself uses exceptions. Yes, but the bootstrap doesn't use system-dgjpp.ads, it uses the generic system.ads which uses front-end (GNAT) SJLJ, hence my question. Your answer isn't very reassuring. Arno

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-04 Thread Eric Botcazou
> Attached output is from last test build (r239639 with DJGPP related patches > applied, last version of patches for Ada). Very strange error, line 28 of gtype-ada.h is supposed to have a guard for nodes containing the 'common' structure. Can you post an excerpt of the file? -- Eric Botcazou

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-07 Thread Andris Pavenis
On 09/05/2016 09:42 AM, Eric Botcazou wrote: Attached output is from last test build (r239639 with DJGPP related patches applied, last version of patches for Ada). Very strange error, line 28 of gtype-ada.h is supposed to have a guard for nodes containing the 'common' structure. Can you post an

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-13 Thread Andris Pavenis
On 09/07/2016 08:59 PM, Andris Pavenis wrote: On 09/05/2016 09:42 AM, Eric Botcazou wrote: Attached output is from last test build (r239639 with DJGPP related patches applied, last version of patches for Ada). Very strange error, line 28 of gtype-ada.h is supposed to have a guard for nodes cont

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-13 Thread Eric Botcazou
> Found that the first revision causing this problem (of course with DJGPP > related patches applied) is 239113. Native bootstrap with same DJGPP > related patches applied on top of revision 239112 succeeds without > problems. > > [andris@ap gcc]$ git bisect good > 4bfa373ed2bfd022628609751ff34b8e

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-13 Thread Andris Pavenis
On 09/13/2016 11:39 PM, Eric Botcazou wrote: Found that the first revision causing this problem (of course with DJGPP related patches applied) is 239113. Native bootstrap with same DJGPP related patches applied on top of revision 239112 succeeds without problems. [andris@ap gcc]$ git bisect good

Re: [PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-09-14 Thread Andris Pavenis
On 09/05/2016 08:39 AM, Arnaud Charlet wrote: GCC Ada compiler itself uses exceptions. Yes, but the bootstrap doesn't use system-dgjpp.ads, it uses the generic system.ads which uses front-end (GNAT) SJLJ, hence my question. Your answer isn't very reassuring. Tried several test examples which use

[PING][PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-10-10 Thread Andris Pavenis
I'd like to ping patch https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00164.html Additional comments about using ZCX_By_Default := true are in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00845.html Andris

Re: [PING][PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-10-11 Thread Arnaud Charlet
> I'd like to ping patch > > https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00164.html > > Additional comments about using ZCX_By_Default := true are in > https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00845.html Well this patch doesn't inspire lots of confidence since the initial version had the

Re: [PING][PATCH 3/4][Ada,DJGPP] Ada support for DJGPP

2016-10-11 Thread Andris Pavenis
On 10/11/2016 11:46 AM, Arnaud Charlet wrote: I'd like to ping patch https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00164.html Additional comments about using ZCX_By_Default := true are in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00845.html Well this patch doesn't inspire lots of confidenc