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/14069] New: This input file lets gcc crash


The following code (which should not *compile* anyways, but should simply create a few error 
messages) hangs gcc. Tested with gcc 3.2.3 and 20040206 CVS snapshot of gcc 3.4. 
 
struct crash { 
	int len; 
        char str[]; 
        char *p; 
}; 
 
struct crash boom = { 
        .str = "Muhahahaha!", 
        .p = .str 
};

-- 
           Summary: This input file lets gcc crash
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: clifford at clifford dot at
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14069


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