On 20 Jun 2014, at 09:14, Riccardo Mottola <[email protected]> wrote:

> Hi,
> 
> Wolfgang Lux wrote:
>> Does it still segfault if you compile the program with "gcc -O2 
>> config.align.c" and then run "a.out"? It's about a decade ago that I have 
>> been using a Sparc machine, but I recall having a similar problem where gcc 
>> was generating code with different alignment constraints depending on 
>> whether optimization was turned on or not. Though in my case the problem was 
>> for floating point numbers.
> so it is! the version compiled with gcc -O2 does not crash.
> 
> I wonder if we can foce executing the test without opt. flags  or complicate 
> so that it doesn't get optimized..

Adding -O0 should turn off optimisation (cancelling the effect of the -O2) ... 
I made that change to the configure script ion svn.
Please could you give it a try.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to