c++/2543: segmentation fault

taraveti@telica.com taraveti@telica.com
Thu Apr 12 09:16:00 GMT 2001


>Number:         2543
>Category:       c++
>Synopsis:       segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 12 09:16:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Thirumala Gupta
>Release:        gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Organization:
>Environment:
Linux 2.2.17-8smp
>Description:
My test program has syntax error missing semicolon after while.

    do
    {
     .
     .
     .
    }
    while (*temp != '\0')

    *len = len_pdu;

The out put of g++ is 
avt.C: In function `int GetNxtPduFromFile (char *, int *)':
avt.C:74: parse error before `*'
avt.C:71: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make: *** [avt] Error 1

>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list