This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31458] New: gcc:internal compiler error: Segmentation fault on sprintf (buf, "%s");
- From: "sharybin at nm dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Apr 2007 10:59:10 -0000
- Subject: [Bug c/31458] New: gcc:internal compiler error: Segmentation fault on sprintf (buf, "%s");
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When I'm trying to compile simple program
#include <stdio.h>
void main () {
char buf[1024];
sprintf (buf, "%s");
}
gcc catchs segmentation fault.
--
Summary: gcc:internal compiler error: Segmentation fault on
sprintf (buf, "%s");
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sharybin at nm dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31458