https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91779

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
The test needs -fpie and attached libffi.so.7 (plus a symbolic link from
libffi.so to libffi.so.7).

$gcc -O2 -m32 -fpie -L. -lffi pr91779.i
$ LD_LIBRARY_PATH=. ./a.out
Char f(Char,double,Char):({'A'},0.2,{'C'})->{'B'}
Segmentation fault

Reply via email to