Re: Fix -fno-checking segfault

2015-11-19 Thread Bernd Schmidt
On 11/19/2015 05:13 PM, Michael Matz wrote: in an enabled-checking compiler gcc_checking_assert is always executed. If that depends on things having happened under flag_checking being true, but it's actually false during runtime due to -fno-checking things go awry, like segfaulting in this case.

Re: Fix -fno-checking segfault

2015-11-19 Thread Kyrill Tkachov
Hi Michael, On 19/11/15 16:13, Michael Matz wrote: Hi, in an enabled-checking compiler gcc_checking_assert is always executed. If that depends on things having happened under flag_checking being true, but it's actually false during runtime due to -fno-checking things go awry, like segfaulting i

Fix -fno-checking segfault

2015-11-19 Thread Michael Matz
Hi, in an enabled-checking compiler gcc_checking_assert is always executed. If that depends on things having happened under flag_checking being true, but it's actually false during runtime due to -fno-checking things go awry, like segfaulting in this case. The fix is obvious and checked in a