This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Small test program gives internal compiler error
- To: pere at td dot org dot uit dot no
- Subject: Re: Small test program gives internal compiler error
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 04 Jul 1998 23:02:21 -0600
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
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