NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/47120: libc alloca(3) seems to fail

The following reply was made to PR lib/47120; it has been noted by GNATS.

From: "T.SHIOZAKI" <>
Subject: Re: lib/47120: libc alloca(3) seems to fail
Date: Thu, 25 Oct 2012 03:23:33 +0900 (JST)

 >  | Download S-nail(1), branch *next* (or 
 >  | Sorry but i don't know any other way to reproduce this error.
 >  | 
 >  | Run "$ make DESTDIR=bad CFLAGS='-O2 -std=c89' install; make distclean; 
 > make DESTDIR=good CFLAGS='-O3 -std=c89' install".
 >  | 
 >  | Run "$ MAILRC=/dev/null {bad,good}/usr/local/bin/s-nail -nf" and simply 
 > "p" the mail of the following minimal mailbox (any mail did in tests though):
 >  | 
 >  Looks like a compiler bug. Only affecting i386. -O0 -O2 breaks -O3 works.
 >  On the other hand the code needs to be fixed to pass:
 >  -Wall -Wmissing-prototypes -Wstrict-prototypes -Wextra -Wswitch 
 > -Wpointer-arith -Wshadow -Wcast-qual
 >  and it does not.
 Maybe -fomit-frame-pointer is implied.  What about -fno-omit-frame-pointer?

Home | Main Index | Thread Index | Old Index