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