c/1941: unknow

szallar@fszek.hu szallar@fszek.hu
Mon Feb 12 00:06:00 GMT 2001


>Number:         1941
>Category:       c
>Synopsis:       unknow
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 12 00:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     szallar@fszek.hu
>Release:        2.95.2
>Organization:
>Environment:
Linux 2.2.14-SMP
>Description:
int main()
{
double a,b,c,d,e;
char *string;

a=3;
gcvt(a,3,string);
}
After compiling this code, run the binary, says
 Segmentation fault. If I use only double a,b,c,d , it works.
>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list