[Bug c/31458] New: gcc:internal compiler error: Segmentation fault on sprintf (buf, "%s");

sharybin at nm dot ru gcc-bugzilla@gcc.gnu.org
Tue Apr 3 10:59:00 GMT 2007


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



More information about the Gcc-bugs mailing list