c/1567: gcc crashes when compiling a simple file that generates many errors.

dave@amtec.com dave@amtec.com
Sun Apr 1 00:00:00 GMT 2001


>Number:         1567
>Category:       c
>Synopsis:       gcc crashes when compiling a simple file that generates many errors.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 05 13:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Taflin
>Release:        gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Organization:
>Environment:
uname -a output: Linux quinault.amtec.org 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
>Description:
issuing the command 'gcc -ansi tc.c' results in the error:

/usr/include/rpc/rpc_msg.h:133: Internal error: Segmentation fault.

The source file tc.c is a one-liner: #include <rpc/rpc.h>
>How-To-Repeat:
Create a source file consisting of a single line:
#include <rpc/rpc.h>

Compile with 'gcc -ansi file.c'
>Fix:
Remove the -ansi flag when compiling RPC code.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-prs mailing list