Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000063 [cparser] firm graph generation crash always 2010-11-29 14:50 2011-04-19 10:54
Reporter s_frank View Status public  
Assigned To Matze
Priority normal Resolution fixed  
Status closed   Product Version 0.9.10
Summary 0000063: Firm Graph Generation: Crash
Description The cparser will crash with the following error message: "cparser: libfirm/ir/ir/ircons.c:589: new_d_defaultProj: Assertion `_is_Cond(arg)' failed" if we try to compile the following C-Program:

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv) {
    int a = 1;
    int b = 2;
    int c = 3;
        switch(a + b) {
    case 127000: c = c - 1; switch(c + b) { case 1: return 3; default: return 4; }
            default: c = c + 1;
        }
        return 0;
}

Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000096)
Matze (administrator)
2010-11-29 19:02

fixed in r28165

- Issue History
Date Modified Username Field Change
2010-11-29 14:50 s_frank New Issue
2010-11-29 19:02 Matze Note Added: 0000096
2010-11-29 19:02 Matze Assigned To => Matze
2010-11-29 19:02 Matze Status new => resolved
2010-11-29 19:02 Matze Resolution open => fixed
2011-04-19 10:54 Matze Status resolved => closed


Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker