[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

Kenji Hara  changed:

   What|Removed |Added

   Keywords||ice
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Kenji Hara  ---
(In reply to Jacob Carlborg from comment #5)
> https://github.com/D-Programming-Language/dmd/pull/5181

PR is merged in:
https://github.com/D-Programming-Language/dmd/commit/03db3e3d6873e7dfdac05c28947b13aa0e3cb481

--


[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #5 from Jacob Carlborg  ---
https://github.com/D-Programming-Language/dmd/pull/5181

--


[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #1 from Kenji Hara  ---
Created attachment 1556
  --> https://issues.dlang.org/attachment.cgi?id=1556=edit
Test patch

I cannot test the code in OSX, but I found some trivial bugs in src/objc.d.

@Jacob can you test my patch in your local?

--


[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #2 from Jacob Carlborg  ---
(In reply to Kenji Hara from comment #1)

> @Jacob can you test my patch in your local?

Yes, I'll give it a try.

--


[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #3 from Jacob Carlborg  ---
It fixes the problem but causes an other regression, it fails to call
Objective-C methods. There seems to be some other problem with the Objective-C
support as well. It doesn't output the Objective-C special symbols in the
object file.

Is it possible to do a linking test? A test that passes if it fails to link and
the output contains these special symbols.

--


[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #4 from Jacob Carlborg  ---
(In reply to Jacob Carlborg from comment #3)
> There seems to be some other problem with the
> Objective-C support as well. It doesn't output the Objective-C special
> symbols in the object file.
> 
> Is it possible to do a linking test? A test that passes if it fails to link
> and the output contains these special symbols.

Never mind. It looks like it was never implemented.

--