This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1941: unknow
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1941: unknow
- From: szallar at fszek dot hu
- Date: 12 Feb 2001 07:59:01 -0000
- Reply-To: szallar at fszek dot hu
>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: