On 29/07/2025 19:19, Trupti wrote:

Hello Peter,

As you suggested, I tried setting the optimization level to -O1 in Makefile.am, and the program ran without any segmentation faults.


Hi Trupti,

Thanks for looking at this.
Does it run consistently at -O1?
(At -O3, sometimes it works, sometimes it doesn't)


I should have mentioned earlier,
I have a little test script, that I attached to #1001667

A run of a minute or two would suffice to show any issues.


Would be interesting to know what happens with -O2,
as I like to use the highest optimisation that is stable.

Wondering whether this really is a bug in gcc...


Best regards,
Peter

Attachment: genome.sh
Description: application/shellscript

Reply via email to