Thread overview
[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA
Oct 09, 2015
Kenji Hara
Oct 09, 2015
Jacob Carlborg
Oct 09, 2015
Jacob Carlborg
Oct 09, 2015
Jacob Carlborg
Oct 10, 2015
Jacob Carlborg
Oct 11, 2015
Kenji Hara
October 09, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
Created attachment 1556
  --> https://issues.dlang.org/attachment.cgi?id=1556&action=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?

--
October 09, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #2 from Jacob Carlborg <doob@me.com> ---
(In reply to Kenji Hara from comment #1)

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

Yes, I'll give it a try.

--
October 09, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #3 from Jacob Carlborg <doob@me.com> ---
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.

--
October 09, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #4 from Jacob Carlborg <doob@me.com> ---
(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.

--
October 10, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

--- Comment #5 from Jacob Carlborg <doob@me.com> ---
https://github.com/D-Programming-Language/dmd/pull/5181

--
October 11, 2015
https://issues.dlang.org/show_bug.cgi?id=15180

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Kenji Hara <k.hara.pg@gmail.com> ---
(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

--