[Issue 4957] std.concurrency does not allow to pass Tid in struct fields

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4957

Paolo Invernizzi  changed:

   What|Removed |Added

 CC||paolo.inverni...@gmail.com

--


[Issue 16234] ICE on opEquals

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16234

bitter.ta...@gmx.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bitter.ta...@gmx.com
 Resolution|--- |FIXED

--


[Issue 16169] nWayUnion assertion failure

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16169

Jack Stouffer  changed:

   What|Removed |Added

 CC||j...@jackstouffer.com
   Hardware|x86_64  |All
 OS|Linux   |All

--


[Issue 13958] RangeError with impure map

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13958

Jack Stouffer  changed:

   What|Removed |Added

 CC||j...@jackstouffer.com
   Hardware|x86_64  |All
 OS|Mac OS X|All

--


[Issue 17107] New: Runnign phobos unittests do not work with PIE

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17107

  Issue ID: 17107
   Summary: Runnign phobos unittests do not work with PIE
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: deadal...@gmail.com

$ make -f posix.mak
[...]
/usr/bin/ld: generated/linux/debug/64/unittest/test_runner.o: relocation
R_X86_64_32 against symbol `__dmd_personality_v0' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

--


[Issue 17106] New: [ICE] SIMD Internal error with optimizations: Internal error: backend\cgcod.c 1666

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17106

  Issue ID: 17106
   Summary: [ICE] SIMD Internal error with optimizations: Internal
error: backend\cgcod.c 1666
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: simen.kja...@gmail.com

Test case:

module foo;
import core.simd;

struct bug {
float4 value;

this(float4 ) {
}

auto normalize() {
bug t1 = __simd(XMM.DPPS, value, value);
value = __simd(XMM.MULPS, value);
return this;
}
}


command line: dmd -m64 -O foo.d

--


[Issue 17105] New: [ICE] SIMD Internal error with optimizations: backend\cod3.c 6807

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17105

  Issue ID: 17105
   Summary: [ICE] SIMD Internal error with optimizations:
backend\cod3.c 6807
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: simen.kja...@gmail.com

Test case:

module foo;
import core.simd;

struct bug {
float4 value;
auto normalize() {
value = __simd(XMM.DPPS, value, value);
}
}


Compiled with dmd -m64 -O foo.d

--


[Issue 16278] [REG2.067] undefined reference when class template is instantiated only in 'is' expression

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16278

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

https://github.com/dlang/dmd/commit/bdf0df926f90b9243932e2ff76f79de644224b26
Fix issue #16278 - Do not emit TypeInfo for speculative instantiations.

https://github.com/dlang/dmd/commit/d7101f3e636d7aa970ddbab8623e5bebd7b96212
Merge pull request #6351 from LemonBoy/b16278

--


[Issue 17087] [REG2.072] Wrong generated with cfloat and creal when casting from int

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17087

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

https://github.com/dlang/dmd/commit/7cf3c764da8b85f9d7054b0895384f3a86ce2684
fix Issue 17087 - [REG2.072] Wrong generated with cfloat and creal when casting
from int

https://github.com/dlang/dmd/commit/3c0b76985ea1cc4c32a213975a4b7702bcb9d90c
Merge pull request #6460 from WalterBright/fix17087

--


[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17072

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

https://github.com/dlang/dmd/commit/575e6d130d10410e3845a9df1ee2f7e13e84cd9a
fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline

https://github.com/dlang/dmd/commit/661be50c59cc83a9376776598ff63fb84b08bb55
Merge pull request #6452 from WalterBright/fix17072

--


[Issue 8471] std.stdio.readf should be @trusted

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8471

--- Comment #6 from Jakub Łabaj  ---
Currently I see one way to break the safety, which is to not pass a real
pointer, but a structure with unary '*' overloaded:

@safe unittest
{
struct Unsafe
{
int* x;
ref int opUnary(string s)() if (s == "*")
{
int y;
// int* ptr =  // not @safe
return *x;
}
}
static int x;
static Unsafe unsafe;
unsafe.x = 
string text = "10";
formattedRead(text, "%d ", unsafe); // called by readf
assert(*unsafe.x == 10);
}

Probably I can't mess up assignment operator nor constructor, because only
builtin types are parsable (constrained by function unformatValue). So I think
making formattedRead / readf accepting only pointers to builtin types is a way
to make them @trusted.

--


[Issue 12125] Win64 phobos has hard references to LIBCMT

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12125

--- Comment #8 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/0dc5d1dd68c2bcffb9a501f2e37ff28be3abd87e
Merge pull request #1691 from rainers/nodefaultlib

--


[Issue 17065] [REG2.072] Unique does not work with private members

2017-01-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17065

--- Comment #6 from dran...@gmail.com ---
(In reply to Martin Nowak from comment #5)
> I'm for reverting this change (the Proxy part).

I agree.

But I suggest reverting all of PR #4763: the Proxy part and the destroy part.
The latter also because it introduces undeterministic destruction of
Unique!structs (see [1], there is no bug report for this yet, I guess).

[1] http://forum.dlang.org/post/ixxkijrdlffflfzkk...@forum.dlang.org

--