This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]