logo       

Re: FFI:CAST segfault with gcc 3.2.2: msg#00091

lisp.clisp.general

Subject: Re: FFI:CAST segfault with gcc 3.2.2

> * In message <m33cki5y87.fsf@xxxxxxxxxxxxxxxx>
> * On the subject of "Re: [clisp-list] FFI:CAST segfault with gcc 3.2.2"
> * Sent on 16 Apr 2003 10:11:04 -0400
> * I write:
>
> > * Honorable Aurelio Bignoli <a.bignoli@xxxxxxxxxxxx> writes:
> >
> > [5]>(with-c-var (p 'c-pointer *x*) (cast p '(c-ptr (c-array character 4))))
> > Segmentation fault
>
> I do not observe this with
> gcc (GCC) 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)

I _do_ observe this crash with gcc 3.2.1 when compiled with -O2.
I do _not_ observe it when compiled with -g -O0.

this is yet another instance where -O2 vs -g makes a difference.
(see also
<https://sourceforge.net/tracker/?func=detail&atid=101355&aid=710737&group_id=1355>)

--
Sam Steingold (http://www.podval.org/~sds) running RedHat8 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise