Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000009 [cparser] firm graph generation crash always 2008-12-04 02:28 2009-01-28 21:55
Reporter jeffz View Status public  
Assigned To xt3firm
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 0.9.7
  Product Build
Summary 0000009: cparser: ast2firm.c:3227: expression_to_firm: Assertion `is_Const(res)' failed.
Description The configure script test from Hugs libraries distribution http://cvs.haskell.org/Hugs/downloads/2006-09/hugs98-plus-Sep2006.tar.gz [^] attempts to compile the following to determine alignment of char, but cparser aborts.

int main (void)
{
 static int test_array [1 - 2 * !(((long) (&((struct { char c; char ty; } *)0)->ty)) >= 0)];
 test_array [0] = 0;
 return 0;
}
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000010)
Tron (administrator)
2008-12-04 12:08

See test case C/cp_error052.c.
(0000021)
xt3firm (administrator)
2008-12-07 14:47

fixed in r24373

- Issue History
Date Modified Username Field Change
2008-12-04 02:28 jeffz New Issue
2008-12-04 12:08 Tron Note Added: 0000010
2008-12-04 12:08 Tron Status new => confirmed
2008-12-07 14:47 xt3firm Status confirmed => assigned
2008-12-07 14:47 xt3firm Assigned To => xt3firm
2008-12-07 14:47 xt3firm Note Added: 0000021
2008-12-07 14:47 xt3firm Status assigned => resolved
2008-12-07 14:47 xt3firm Resolution open => fixed
2009-01-28 21:55 Matze Status resolved => closed


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