c/9595: Minimal program fails to compile

raphael.mankin@o2.com raphael.mankin@o2.com
Thu Feb 6 13:36:00 GMT 2003


>Number:         9595
>Category:       c
>Synopsis:       Minimal program fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 06 13:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Mankin
>Release:        gcc-2.95.3
>Organization:
>Environment:
Linux intel 2.4.5 kernel
>Description:
I was doing an autoconf. When I tried to run 'configure' the basic C program crashed. I reduced the program still further and it still failed.

This is a compiler that I use successfully quite a lot on real programs.
>How-To-Repeat:
C: source:

main ()
{

  ;
}

Command:
    gcc -c -v conftest.c 


Output:

Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ conftest.c /tmp/cchGfRGu.i
GNU CPP version 2.95.3 20010315 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../include/g++-3
 /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/../../../../i386-slackware-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/cc1 /tmp/cchGfRGu.i -quiet -dumpbase conftest.c -version -o /tmp/cc2W2pJR.s
GNU C version 2.95.3 20010315 (release) (i386-slackware-linux) compiled by GNU C version 2.95.3 20010315 (release).
gcc: Internal compiler error in `execute', at ../../gcc-2.95.3/gcc/gcc.c:2328
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list