[Issue 16355] __xpostblit incorrectly generated for a struct with a zero-length static array

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16355

Ketmar Dark  changed:

   What|Removed |Added

 CC||ket...@ketmar.no-ip.org

--


[Issue 13341] Wrong optimization for ref parameters and if statement

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13341

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #3 from ag0ae...@gmail.com ---
Assert passes since 2.071. Closing as WORKSFORME.

--


[Issue 3291] Bad codegen when using templates with a named mixin as a parameter

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3291

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #1 from ag0ae...@gmail.com ---
Assert passes since 2.061. Closing as WORKSFORME.

--


[Issue 6789] std.stdio.File + ternary = bug

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6789

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #3 from ag0ae...@gmail.com ---
2.065 exhibits the bug. 2.066 and 2.067 throw some AssertError. Since 2.068 the
program prints "false" twice. Closing as WORKSFORME.

--


[Issue 6966] cannot create qualified type from tuple entry

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6966

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |FIXED

--- Comment #3 from ag0ae...@gmail.com ---
The pull request has been merged and the test case passes since 2.061. Closing
as FIXED.

--


[Issue 4419] __gshared static in class has no effect

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4419

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #12 from ag0ae...@gmail.com ---
(In reply to torhu from comment #0)
> This example prints "0", instead of the expected "1":

Prints "1" since 2.066.

(In reply to Trass3r from comment #1)
> __gshared static int a;
> static __gshared int b;
> 
> > dmd -c -vtls foo.d
> foo(1): a is thread local

No output since 2.066.

Closing as WORKSFORME.

--


[Issue 2939] lazy evaluation not invoked for lambda function

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2939

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |INVALID

--- Comment #10 from ag0ae...@gmail.com ---
(In reply to Jarrett Billingsley from comment #1)
> void f(lazy void dg)
> {
>   dg();
> }
> 
> void main()
> {
>   void foo() { Stdout.formatln("o hai"); }
>   f(foo);

`foo` is a call here. A delegate would be `&foo`. The call is deferred, because
f's parameter is lazy. `dg()` in f executes the call.

>   f({Stdout.formatln("lol wut");});

This passes a delegate to f, lazily of course. So `dg()` in f evaluates to the
delegate. The delegate itself is never called.

> }

(In reply to Jarrett Billingsley from comment #6)
> Yes, I'm pretty sure that's what's happening.  But there are two issues:
> 
> (1) It's extremely counterintuitive, easy to forget, and when you invariably
> get bitten by it, the compiler and runtime give no help diagnosing the
> problem.

That warrants an enhancement request, at best. If everything works as
specified, then it's not a bug. Personally, I don't think the behavior here is
particularly surprising.

> (2) Why does passing a delegate reference work, but not a lambda?  They are
> *the same type* and you'd expect the compiler to do *the same thing* with
> both.

Not the case as explained above.

I'm closing this as INVALID. If, after seven years, anyone still thinks that
this issue should be addressed, please file another issue and make it an
enhancement request. Of course, if you disagree with my assessment here, feel
free to reopen this bug.

--


[Issue 12588] Segfault on X86_64 assigning std.complex to array

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12588

ag0ae...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ag0ae...@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #3 from ag0ae...@gmail.com ---
Both test cases segfault with 2.065, but seem to work correctly since 2.066.
Closing as WORKSFORME.

--


[Issue 16366] macbook+Apple+icloud 18007909186 Apple icloud Tech Support Phone Number

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16366

Steven Schveighoffer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--


[Issue 16367] m.a.c.b.o.o.k A.p.p.l.e i.c.l.o.u.d 1.8.0.0.7.9.0.9.1.8.6 A.p.p.l.e i.c.l.o.u.d T.e.c.h S.u.p.p.o.r.t P.h.o.n.e N.u.m.b.e.r

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16367

Steven Schveighoffer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--


[Issue 16368] support for apple icloud

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16368

Steven Schveighoffer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||schvei...@yahoo.com
 Resolution|--- |INVALID

--- Comment #1 from Steven Schveighoffer  ---
Is there a way to mark bugs as spam?

--


[Issue 16368] support for apple icloud

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16368

Cauterite  changed:

   What|Removed |Added

 CC||cauter...@gmail.com

--


[Issue 16368] New: support for apple icloud

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16368

  Issue ID: 16368
   Summary: support for apple icloud
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: installer
  Assignee: nob...@puremagic.com
  Reporter: mmsa...@yopmail.com

support for apple icloud


Describe Apple icloud 18007909186 Apple icloud Tech Support Phone Number Apple
icloud here. Call @ ((Apple icloud 1 8.0.0.7.9.0.9.1.8.6 Apple
icloud Tech Support Phone Number Canada Apple icloud customer service number
$$$@@Apple icloud 18007909186Apple icloud Tech Support Phone Number Canada
Apple icloud Printer customer service number $Apple icloud 18007909186Apple
icloud Tech Support Phone Number Canada Apple icloud Printer customer service
number Apple icloud SUPPORT USA(((1 (USA)!!FREE Apple icloud support phone
number,Apple icloud customer service number @SUPPORT Canada!1 800 790
9186 ((1800-790-9186))!!FREE Apple icloud support phone number,Apple icloud
customer service number** !Help Apple icloud1 800 790 9186 Printer Tech Support
Number!!1 800 790 9186(USA) Apple icloud Customer Service Apple icloud Customer
support number USA 1 800 790 9186(USA), Apple icloud tech support phone number
, Apple icloud customer Support number1 800 790 9186 !!!Apple icloud tech
Support Number @1 800 790 9186@ Apple icloud Tech Support Phone Number Call
wireless1 800 790 9186 Apple icloud Tech Support Phone Number Canada Apple
icloud customer service number1 800 790 9186 Apple icloud1 800 790 9186 support
number, Apple icloud support, Apple icloud support, Apple icloud tech support,
Apple icloud technical1 800 790 9186 support, Apple icloud customer service
number, Apple icloud customer service, Apple icloud tech support number,1 800
790 9186 number, Apple icloud phone number, Apple icloud help and support,
Apple icloud customer support, Apple icloud1 800 790 9186 help, Apple icloud
technical support number, Apple icloud support phone number, hewlett packard
customer1 800 790 9186 service, Apple iclouds support, Apple icloud customer
service phone number, Apple icloud number, Apple icloud1 800 790 9186 customer
care, Apple icloud contact, Apple icloud tech support phone number, Apple
icloud support chat, Apple icloud1 800 790 9186 Printer customer support
number, Apple icloud customer care number, contact Apple icloud support, Apple
icloud1 800 790 9186 help, Apple icloud phone, Apple icloud support phone
number, Apple icloud customer support phone number, Apple icloud 1 800 790 9186
Printer tech support, Apple icloud phone support, Apple icloud technical
support phone number, Apple icloud1 800 790 9186 laptop support number, hewlett
packard Printer support, Apple icloud helpline, Apple icloud telephone
support,1 800 790 9186 Apple icloud online support, Apple icloud support
contact, Apple icloud chat support, hewlett packard phone1 800 790 9186 number,
Apple icloud customer service, Apple icloud tech support number, Apple icloud
product support, hewlett1 800 790 9186 packard customer service phone number,
Apple icloud computer support number, Apple icloud support contact1 800 790
9186 number, Apple icloud support Printer, Apple icloud computer support, Apple
icloud tech support chat, Apple icloud1 800 790 9186 Printer helpline number,
Apple icloud laptop support, hewlett packard tech support, Apple icloud online
chat,1 800 790 9186 hewlett packard technical support, Apple icloud help line,
phone number for Apple icloud support, hewlett1 800 790 9186 packard support
phone number, Apple icloud technical support, hewlett packard customer service
number, Apple icloud1 800 790 9186 Printer service number, hewlett packard
helpline, Apple icloud customer care no, Apple icloud customer service1 800 790
9186 number, Apple icloud help number, Apple icloud customer service phone
number, Apple icloud 1800 number, Apple icloud1 800 790 9186 Printer support
phone, Apple icloud support line, hewlett packard contact number, Apple icloud
tech support1 800 790 9186 phone number, Apple icloud customer support phone
number, Apple iclouds help, call Apple icloud support,1 800 790 9186 support
telephone number, hewlett packard tech support phone number, call Apple icloud,
Apple icloud contact1 800 790 9186 support, hewlett packard technical support
phone number, Apple icloud support centre, hewlett packard customer1 800 790
9186 support, Apple icloud desktop support, Apple icloud laptop customer
service, contact Apple icloud support,1 800 790 9186 Apple icloud pc support,
Apple icloud laptop customer care number, Apple icloud support for Printers,
Apple icloud Printer customer care, Apple icloud customer care phone number,
hewlett packard help, phone number for Apple icloud Printer, Apple icloud
online help, Apple icloud laptop customer care, Apple icloud helpline phone
numb

[Issue 16367] m.a.c.b.o.o.k A.p.p.l.e i.c.l.o.u.d 1.8.0.0.7.9.0.9.1.8.6 A.p.p.l.e i.c.l.o.u.d T.e.c.h S.u.p.p.o.r.t P.h.o.n.e N.u.m.b.e.r

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16367

Cauterite  changed:

   What|Removed |Added

 CC||cauter...@gmail.com

--


[Issue 16367] New: m.a.c.b.o.o.k A.p.p.l.e i.c.l.o.u.d 1.8.0.0.7.9.0.9.1.8.6 A.p.p.l.e i.c.l.o.u.d T.e.c.h S.u.p.p.o.r.t P.h.o.n.e N.u.m.b.e.r

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16367

  Issue ID: 16367
   Summary: m.a.c.b.o.o.k A.p.p.l.e i.c.l.o.u.d
1.8.0.0.7.9.0.9.1.8.6 A.p.p.l.e i.c.l.o.u.d T.e.c.h
S.u.p.p.o.r.t P.h.o.n.e N.u.m.b.e.r
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: mmsa...@yopmail.com

macbook+Apple+icloud 1.8.0.0.7.9.0.9.1.8.6 Apple icloud Tech Support Phone
Number


Describe Apple icloud 18007909186 Apple icloud Tech Support Phone Number Apple
icloud here. Call @ ((Apple icloud 1 8.0.0.7.9.0.9.1.8.6 Apple
icloud Tech Support Phone Number Canada Apple icloud customer service number
$$$@@Apple icloud 18007909186Apple icloud Tech Support Phone Number Canada
Apple icloud Printer customer service number $Apple icloud 18007909186Apple
icloud Tech Support Phone Number Canada Apple icloud Printer customer service
number Apple icloud SUPPORT USA(((1 (USA)!!FREE Apple icloud support phone
number,Apple icloud customer service number @SUPPORT Canada!1 800 790
9186 ((1800-790-9186))!!FREE Apple icloud support phone number,Apple icloud
customer service number** !Help Apple icloud1 800 790 9186 Printer Tech Support
Number!!1 800 790 9186(USA) Apple icloud Customer Service Apple icloud Customer
support number USA 1 800 790 9186(USA), Apple icloud tech support phone number
, Apple icloud customer Support number1 800 790 9186 !!!Apple icloud tech
Support Number @1 800 790 9186@ Apple icloud Tech Support Phone Number Call
wireless1 800 790 9186 Apple icloud Tech Support Phone Number Canada Apple
icloud customer service number1 800 790 9186 Apple icloud1 800 790 9186 support
number, Apple icloud support, Apple icloud support, Apple icloud tech support,
Apple icloud technical1 800 790 9186 support, Apple icloud customer service
number, Apple icloud customer service, Apple icloud tech support number,1 800
790 9186 number, Apple icloud phone number, Apple icloud help and support,
Apple icloud customer support, Apple icloud1 800 790 9186 help, Apple icloud
technical support number, Apple icloud support phone number, hewlett packard
customer1 800 790 9186 service, Apple iclouds support, Apple icloud customer
service phone number, Apple icloud number, Apple icloud1 800 790 9186 customer
care, Apple icloud contact, Apple icloud tech support phone number, Apple
icloud support chat, Apple icloud1 800 790 9186 Printer customer support
number, Apple icloud customer care number, contact Apple icloud support, Apple
icloud1 800 790 9186 help, Apple icloud phone, Apple icloud support phone
number, Apple icloud customer support phone number, Apple icloud 1 800 790 9186
Printer tech support, Apple icloud phone support, Apple icloud technical
support phone number, Apple icloud1 800 790 9186 laptop support number, hewlett
packard Printer support, Apple icloud helpline, Apple icloud telephone
support,1 800 790 9186 Apple icloud online support, Apple icloud support
contact, Apple icloud chat support, hewlett packard phone1 800 790 9186 number,
Apple icloud customer service, Apple icloud tech support number, Apple icloud
product support, hewlett1 800 790 9186 packard customer service phone number,
Apple icloud computer support number, Apple icloud support contact1 800 790
9186 number, Apple icloud support Printer, Apple icloud computer support, Apple
icloud tech support chat, Apple icloud1 800 790 9186 Printer helpline number,
Apple icloud laptop support, hewlett packard tech support, Apple icloud online
chat,1 800 790 9186 hewlett packard technical support, Apple icloud help line,
phone number for Apple icloud support, hewlett1 800 790 9186 packard support
phone number, Apple icloud technical support, hewlett packard customer service
number, Apple icloud1 800 790 9186 Printer service number, hewlett packard
helpline, Apple icloud customer care no, Apple icloud customer service1 800 790
9186 number, Apple icloud help number, Apple icloud customer service phone
number, Apple icloud 1800 number, Apple icloud1 800 790 9186 Printer support
phone, Apple icloud support line, hewlett packard contact number, Apple icloud
tech support1 800 790 9186 phone number, Apple icloud customer support phone
number, Apple iclouds help, call Apple icloud support,1 800 790 9186 support
telephone number, hewlett packard tech support phone number, call Apple icloud,
Apple icloud contact1 800 790 9186 support, hewlett packard technical support
phone number, Apple icloud support centre, hewlett packard customer1 800 790
9186 support, Apple icloud desktop support, Apple icloud laptop customer
service, contact Apple icloud support,1 800 790 9186 Apple icloud pc support,
Apple icloud laptop customer care number, Apple icloud support for Printers,
Apple icloud Printer customer care,

[Issue 16366] macbook+Apple+icloud 18007909186 Apple icloud Tech Support Phone Number

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16366

Cauterite  changed:

   What|Removed |Added

 CC||cauter...@gmail.com

--


[Issue 16366] New: macbook+Apple+icloud 18007909186 Apple icloud Tech Support Phone Number

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16366

  Issue ID: 16366
   Summary: macbook+Apple+icloud 18007909186 Apple icloud Tech
Support Phone Number
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: mmsa...@yopmail.com

Describe Apple icloud 18007909186 Apple icloud Tech Support Phone Number Apple
icloud here. Call @ ((Apple icloud 1 8.0.0.7.9.0.9.1.8.6 Apple
icloud Tech Support Phone Number Canada Apple icloud customer service number
$$$@@Apple icloud 18007909186Apple icloud Tech Support Phone Number Canada
Apple icloud Printer customer service number $Apple icloud 18007909186Apple
icloud Tech Support Phone Number Canada Apple icloud Printer customer service
number Apple icloud SUPPORT USA(((1 (USA)!!FREE Apple icloud support phone
number,Apple icloud customer service number @SUPPORT Canada!1 800 790
9186 ((1800-790-9186))!!FREE Apple icloud support phone number,Apple icloud
customer service number** !Help Apple icloud1 800 790 9186 Printer Tech Support
Number!!1 800 790 9186(USA) Apple icloud Customer Service Apple icloud Customer
support number USA 1 800 790 9186(USA), Apple icloud tech support phone number
, Apple icloud customer Support number1 800 790 9186 !!!Apple icloud tech
Support Number @1 800 790 9186@ Apple icloud Tech Support Phone Number Call
wireless1 800 790 9186 Apple icloud Tech Support Phone Number Canada Apple
icloud customer service number1 800 790 9186 Apple icloud1 800 790 9186 support
number, Apple icloud support, Apple icloud support, Apple icloud tech support,
Apple icloud technical1 800 790 9186 support, Apple icloud customer service
number, Apple icloud customer service, Apple icloud tech support number,1 800
790 9186 number, Apple icloud phone number, Apple icloud help and support,
Apple icloud customer support, Apple icloud1 800 790 9186 help, Apple icloud
technical support number, Apple icloud support phone number, hewlett packard
customer1 800 790 9186 service, Apple iclouds support, Apple icloud customer
service phone number, Apple icloud number, Apple icloud1 800 790 9186 customer
care, Apple icloud contact, Apple icloud tech support phone number, Apple
icloud support chat, Apple icloud1 800 790 9186 Printer customer support
number, Apple icloud customer care number, contact Apple icloud support, Apple
icloud1 800 790 9186 help, Apple icloud phone, Apple icloud support phone
number, Apple icloud customer support phone number, Apple icloud 1 800 790 9186
Printer tech support, Apple icloud phone support, Apple icloud technical
support phone number, Apple icloud1 800 790 9186 laptop support number, hewlett
packard Printer support, Apple icloud helpline, Apple icloud telephone
support,1 800 790 9186 Apple icloud online support, Apple icloud support
contact, Apple icloud chat support, hewlett packard phone1 800 790 9186 number,
Apple icloud customer service, Apple icloud tech support number, Apple icloud
product support, hewlett1 800 790 9186 packard customer service phone number,
Apple icloud computer support number, Apple icloud support contact1 800 790
9186 number, Apple icloud support Printer, Apple icloud computer support, Apple
icloud tech support chat, Apple icloud1 800 790 9186 Printer helpline number,
Apple icloud laptop support, hewlett packard tech support, Apple icloud online
chat,1 800 790 9186 hewlett packard technical support, Apple icloud help line,
phone number for Apple icloud support, hewlett1 800 790 9186 packard support
phone number, Apple icloud technical support, hewlett packard customer service
number, Apple icloud1 800 790 9186 Printer service number, hewlett packard
helpline, Apple icloud customer care no, Apple icloud customer service1 800 790
9186 number, Apple icloud help number, Apple icloud customer service phone
number, Apple icloud 1800 number, Apple icloud1 800 790 9186 Printer support
phone, Apple icloud support line, hewlett packard contact number, Apple icloud
tech support1 800 790 9186 phone number, Apple icloud customer support phone
number, Apple iclouds help, call Apple icloud support,1 800 790 9186 support
telephone number, hewlett packard tech support phone number, call Apple icloud,
Apple icloud contact1 800 790 9186 support, hewlett packard technical support
phone number, Apple icloud support centre, hewlett packard customer1 800 790
9186 support, Apple icloud desktop support, Apple icloud laptop customer
service, contact Apple icloud support,1 800 790 9186 Apple icloud pc support,
Apple icloud laptop customer care number, Apple icloud support for Printers,
Apple icloud Printer customer care, Apple icloud customer care phone number,
hewlett packard help, phone number for Apple icloud Printer, Apple icloud
online help, Apple icloud laptop custome

[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939

--- Comment #19 from Martin Nowak  ---
(In reply to Илья Ярошенко from comment #17)
> > https://github.com/dlang/druntime/pull/1110, that would affect dmd >=
> > 2.070.0.
> > Could someone test their code with 2.069.2?
> 
> Yes, the bug was found first for 2.069.

But that change is not in 2.069.x, only in 2.070.0 and following.
Can you somewhat reproduce it? Would simplify my life a lot.

Following my hypothesis, it should be fairly simple to trigger with one thread
continuously looping on GC.collect(), while concurrently spawning many short
lived threads, to increase the change of triggering the race between signal
delivery and the thread exiting.

If realtime signals are delivered faster (before pthread_kill returns), then
they might indeed avoid the race condition by pure chance.

--


[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939

--- Comment #18 from Martin Nowak  ---
Think I just spotted the problem.

There seems to be a race condition between sending the signal and checking
whether the thread exited.
https://github.com/dlang/druntime/blob/c1f285715cf14e80307eafc76d0b25b417b8de19/src/core/thread.d#L2586-L2588
This might lead to a wrong counting of active threads, and therefor to a
deadlock.
https://github.com/dlang/druntime/blob/c1f285715cf14e80307eafc76d0b25b417b8de19/src/core/thread.d#L2648-L2649

Those changes were indeed introduced with
https://github.com/dlang/druntime/pull/1110.

A fix would be to simply synchronize the reception of the signal in
thread_suspendHandler with a variable in Thread, and only sem_wait for threads
that did receive the signal, somewhat similar to the FreeBSD workaround.

--


[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939

--- Comment #17 from Илья Ярошенко  ---
(In reply to Martin Nowak from comment #16)
> (In reply to Aleksei Preobrazhenskii from comment #13)
> > All suspending signals were delivered, but it seems that number of calls to
> > sem_wait was different than number of calls to sem_post (or something
> > similar). I have no reasonable explanation for that.
> > 
> > It doesn't invalidate the hypothesis that RT signals helped with original
> > deadlock though.
> 
> To be hypothesis it must verifyable, but as we can't explain why RT signals
> would help, it's not a real hypothesis. Can anyone somewhat repeatedly
> reproduce the issue?

It is not easy to catch it on PC. The bug was found when program was running on
multiple CPUs on multiple servers during a day.

> I would suspect that this issue came with the recent parallel suspend
> feature.
> https://github.com/dlang/druntime/pull/1110, that would affect dmd >=
> 2.070.0.
> Could someone test their code with 2.069.2?

Yes, the bug was found first for 2.069.

--


[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939

--- Comment #16 from Martin Nowak  ---
(In reply to Aleksei Preobrazhenskii from comment #13)
> All suspending signals were delivered, but it seems that number of calls to
> sem_wait was different than number of calls to sem_post (or something
> similar). I have no reasonable explanation for that.
> 
> It doesn't invalidate the hypothesis that RT signals helped with original
> deadlock though.

To be hypothesis it must verifyable, but as we can't explain why RT signals
would help, it's not a real hypothesis. Can anyone somewhat repeatedly
reproduce the issue?
I would suspect that this issue came with the recent parallel suspend feature.
https://github.com/dlang/druntime/pull/1110, that would affect dmd >= 2.070.0.
Could someone test their code with 2.069.2?

--


[Issue 15538] wrong code with switch

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15538

ag0ae...@gmail.com changed:

   What|Removed |Added

 CC||ag0ae...@gmail.com
Summary|final switch statement  |wrong code with switch
   |raises an exception even|
   |though all cases are|
   |covered under certain   |
   |conditions  |

--- Comment #4 from ag0ae...@gmail.com ---
Reduced a bit more:


struct S
{
int a = 0;
int b = 1;
}

int f1(int a)
{
switch (a)
{
case 0: return 10;
case 1: return 20;
case 2: return 30;
case 3: return 40;
default: return 99;
}
}

int f2(S s)
{
return f1(s.a);
}

void main()
{
S s;
assert(f1(s.a) == 10); /* passes */
assert(f2(s) == 10); /* fails */
}


(In reply to Sobirari Muhomori from comment #3)
> Does optimization flag -O affect the behavior?

No. -inline has an effect, presumably because f2 is inlined.

--


[Issue 15538] final switch statement raises an exception even though all cases are covered under certain conditions

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15538

Sobirari Muhomori  changed:

   What|Removed |Added

   Keywords||wrong-code

--- Comment #3 from Sobirari Muhomori  ---
Does optimization flag -O affect the behavior?

--


[Issue 14758] TypeInfo causes excessive binary bloat

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14758

--- Comment #15 from Mike  ---
Just tested this with LDC 1.0.0 (frontend 2.070.2), and the dead code is still
in the binary.  The DMD generated binary looks good, but the LDC binary is
still bloated with dead code.  I'm assuming the change made by Walter in
Comment 9 only affected the DMD backend.

It appears GDC is still on 2.067, so I haven't tested there, but given my
results with LDC 1.0.0, I don't expect GDC to be any better.

--


[Issue 16085] wrong visibility warning for overloaded alias symbol

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16085

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--


[Issue 16085] wrong visibility warning for overloaded alias symbol

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16085

--- Comment #13 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/22dc48171eaa3ef43dbec3e6bab6ea7fcb839a37
fix Issue 16085 - wrong visibility warning for overloaded alias symbol

- mark OverDeclaration as overloadable
- mark AliasDeclaration as overloadable (depends on aliasee)
- replace overloadApply with a custom iteration b/c aliases
  must not be resolved for visibility checks (i.e. public aliases to
  private symbols are public)
- deal with the messy overloading of aliasees (see comments)

https://github.com/dlang/dmd/commit/8238ad782347330e0a822208c323a83d1d17ac64
Merge pull request #5847 from MartinNowak/fix16085

fix Issue 16085 - wrong visibility warning for overloaded alias symbol

--


[Issue 15826] Insufficient locations of deprecation message in use of std.typecons.AutoImplement

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15826

Martin Nowak  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||c...@dawg.eu
 Resolution|--- |DUPLICATE

--- Comment #2 from Martin Nowak  ---


*** This issue has been marked as a duplicate of issue 15877 ***

--


[Issue 15877] [REG2.071beta] Some members are not visible by std.typecons.BlackHole

2016-08-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15877

--- Comment #3 from Martin Nowak  ---
*** Issue 15826 has been marked as a duplicate of this issue. ***

--