D.gnu - [Issue 1304] New: Exception breakage for associative arrays...
- d-bugmail puremagic.com (38/38) Jul 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1304
- d-bugmail puremagic.com (9/9) Jul 22 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1304
- d-bugmail puremagic.com (15/15) Sep 09 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1304
http://d.puremagic.com/issues/show_bug.cgi?id=1304
Summary: Exception breakage for associative arrays...
Product: DGCC aka GDC
Version: unspecified
Platform: All
URL: http://rafb.net/p/fwGGd787.html
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: glue layer
AssignedTo: dvdfrdmn users.sf.net
ReportedBy: schittenden mac.com
Simple test case for an exception causes gdc to err out.
import std.stdint;
class Test1 {
public:
void add(uint32_t i)
body {
try {
uint val = my_hash[i];
} catch (Exception e) {
my_hash[i] = p++;
} finally {
// Do nothing
}
}
private:
uint32_t[uint32_t] my_hash;
uint32_t p = 0;
}
void main() {
Test1 t = new Test1;
t.add(1);
}
--
Jul 01 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1304
dvdfrdmn users.sf.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
I cannot reproduce this. Can you post the platform, gdc version, gcc version,
and command line you are using?
--
Jul 22 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1304
smjg iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg iname.com
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME
Marking WFM per no response. If it still fails with current versions then
please:
- reopen
- provide the information requested in comment 1
- post the full compiler output/other symptoms
- assign whatever keywords are appropriate to this issue.
--
Sep 09 2008









d-bugmail puremagic.com 