Small test program gives internal compiler error
Jeffrey A Law
law@cygnus.com
Sun Jul 5 23:42:00 GMT 1998
In message <199805231314.PAA25051@sleeper.games.no>you write:
>
> This is 'egcs-2.90.29 980515 (egcs-1.0.3 release)' compiled om Linux
> RedHat 5.0 as i386-pc-linux-gnu using the following configure:
>
> ./configure --prefix=/store/opt/egcs i386-pc-linux-gnu
>
> While compiling the following file (tmptmp.c):
>
> #include <stdio.h>
> #include <dlfcn.h>
> int main(int argc, char *argv[]) {
> void *handle = dlopen(argv[1], RTLD_LAZY);
> void *func = dlsym(handle, argv[2]);
> return func ? 0 : 1;
> }
>
> with 'egcs-gcc -fcheck-memory-usage tmptmp.c', I get this message:
>
> egcs-gcc: Internal compiler error: program cc1 got fatal signal 11
>
> Thought you wanted to know. :-)
I believe this has been fixed in the development tree; it does not fail
in the current sources.
jeff
More information about the Gcc-bugs
mailing list