On 06/13/2015 05:42:10 PM, Stroller wrote:
> 
> On Fri, 12 June 2015, at 5:03 pm, Helmut Jarausch <[email protected]>
> wrote:
> > On 06/11/2015 09:32:23 PM, Grant Edwards wrote:
> > 
> >> I got curious and just did "emerge -av gnubg". It compiled and
> >> installed fine, and it seems to work.  
> > 
> > Many thanks, it turnt out to be a strange problem.
> > 
> > When compiled with gcc-5.1.0 and -O2, gnubg goes into a tight loop
> within memset 
> > even before function main is entered.
> > 
> > When compiled with gcc-5.1.0 and -O1, gnubg gets a segment fault
> from within memset 
> > even before function main is entered.
> > 
> > When compiled with gcc-5.1.0 and -O0, it works just fine.
> > 
> > Stepping back to gcc-4.9.2 it succeeds even when compiled with -O2.
> > 
> > So, it looks like a compiler error of gcc-5.1.0
> 
> You should report this upstream. To gcc, I think?
> 
As I found out, it has been fixed already. Not for gcc-5.1 but with a recent 
snapshot of gcc-5 as well as gcc-6.



Reply via email to