Bug 15176 – [REG2.069.0-b1] ICE(glue.c):separate compilation with -inline crash in glue.c

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-08T02:36:00Z
Last change time
2015-10-14T15:05:49Z
Keywords
ice, pull
Assigned to
nobody
Creator
jiki

Comments

Comment #0 by jiki — 2015-10-08T02:36:55Z
This works in 2.068.2. But we gets an internal error(assertion) in 2.069.0-b1. COMMAND: dmd -c -inline test.d test.d: import imp; void test() { auto r = func(); } imp.d: import std.regex; int func() { auto r = regex(r"a"); return 0; } ERROR: Assertion failure: 'fd->semanticRun == PASSsemantic3done' on line 809 in file 'glue.c'
Comment #1 by k.hara.pg — 2015-10-08T04:38:25Z
Comment #2 by k.hara.pg — 2015-10-08T09:43:58Z
Comment #3 by github-bugzilla — 2015-10-08T23:02:04Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b8a39668047c89a65c39daf77a9c0be37f1bc1c2 fix Issue 15176 - ICE(glue.c):separate compilation with -inline crash in glue.c https://github.com/D-Programming-Language/dmd/commit/f09bb06de426cce424968d45a325f9253ce762e0 Merge pull request #5170 from 9rnsr/fix15176 [REG2.069.0-b1] Issue 15176 - ICE(glue.c):separate compilation with -inline crash in glue.c
Comment #4 by github-bugzilla — 2015-10-14T15:05:49Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b8a39668047c89a65c39daf77a9c0be37f1bc1c2 fix Issue 15176 - ICE(glue.c):separate compilation with -inline crash in glue.c https://github.com/D-Programming-Language/dmd/commit/f09bb06de426cce424968d45a325f9253ce762e0 Merge pull request #5170 from 9rnsr/fix15176