I tried compiling the latest sources of GNU Prolog (1.4.1) on my Fedora Core 12 Linux machine (32bit) with gcc 4.4.2 and it failed because of "static static":
gplc -c -C '-O3 -fomit-frame-pointer' stacks_sigsegv.c
stacks_sigsegv.c:409: error: duplicate ‘static’ stacks_sigsegv.c:410: warning: ‘struct sigcontext’ declared inside parameter list stacks_sigsegv.c:410: warning: its scope is only this definition or declaration, which is probably not what you want
stacks_sigsegv.c:410: error: parameter 2 (‘scp’) has incomplete type compilation failed make[1]: *** [stacks_sigsegv.o] Error 1 make[1]: Leaving directory `/usr/local/src/gprolog-1.4.1/src/EnginePl' make: *** [all] Error 1