[Issue 14140] Bad codegen for CTFE union initialisers for immutable structs

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14140 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Summary|Bad codegen when variable |Bad codegen for CTFE

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #6 from Илья Ярошенко ilyayaroshe...@gmail.com --- F foo(F)(F c, F d) { c += d; c += d; return c; } void test1() { alias F = double; enum F d = (cast(F)(2)) ^^ (F.max_exp - 1); assert(foo(-d, d) == d); } --

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #9 from Илья Ярошенко ilyayaroshe...@gmail.com --- (In reply to yebblies from comment #8) (In reply to Илья Ярошенко from comment #6) F foo(F)(F c, F d) { c += d; c += d; return c; } void test1() { alias

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #8 from yebblies yebbl...@gmail.com --- (In reply to Илья Ярошенко from comment #6) F foo(F)(F c, F d) { c += d; c += d; return c; } void test1() { alias F = double; enum F d = (cast(F)(2)) ^^ (F.max_exp -

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #10 from yebblies yebbl...@gmail.com --- (In reply to Илья Ярошенко from comment #9) Can you open https://github.com/D-Programming-Language/dmd/pull/3992 please? Why? The results are still visible here:

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 14144] [REG2.067a] opAssign seems broken

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14144 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/35df0364a5418909d6f6a1a85b2895d329b94b17 fix Issue 14144 - opAssign

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #11 from Илья Ярошенко ilyayaroshe...@gmail.com --- OK. This is DMD optimization bug too. DMD compiles (-d)+(d+d) instead of ((-d)+d)+d. --

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #7 from yebblies yebbl...@gmail.com --- change(-1e100) calculates its result at real precision, then returns it in ST(0). It is duplicated via the stack (truncating to double) but the full precision value is then added with (1e104) and

[Issue 14147] New: Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Issue ID: 14147 Summary: Compiler crash on identical functions in a single module Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment

[Issue 14146] [REG2.067a] ICE with non-empty default constructor in struct

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14146 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1a4f77da9b19cda4d245c56e9e3e3411ff2bace7 fix Issue 14146 - ICE with

[Issue 14146] [REG2.067a] ICE with non-empty default constructor in struct

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14146 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14140] Bad codegen when variable used as default argument

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14140 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

[Issue 14140] Bad codegen when variable used as default argument

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14140 --- Comment #3 from Ketmar Dark ket...@ketmar.no-ip.org --- and, hehehe: import std.stdio; import std.string; struct Vector3 { union { float[3] flat; float[3][1] A; } string toString() const { return format(`[%( %s %) ]`,

[Issue 481] Letting compiler determine length for fixed-length arrays

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=481 --- Comment #28 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/e17cfa04aa62d16a942e422f8e8e96af49b50187 Revert Issue 481

[Issue 13548] wrong FP comparison

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13548 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 --- Comment #2 from Kenji Hara k.hara...@gmail.com --- Reduced test case: struct S(alias func) { void foo() { func(1); } } void main() { } pure auto mul(const int[] left, const int[] right) { S!(a = a)().foo(); } pure auto mul(const int[]

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #12 from yebblies yebbl...@gmail.com --- (In reply to Илья Ярошенко from comment #11) OK. This is DMD optimization bug too. DMD compiles (-d)+(d+d) instead of ((-d)+d)+d. Yes. Is there a bug report for that specific bug? --

[Issue 13474] 32 bit DMD optimizer FP arithmetic bug

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474 --- Comment #13 from Илья Ярошенко ilyayaroshe...@gmail.com --- Yes. https://issues.dlang.org/show_bug.cgi?id=13485 --

[Issue 13485] FP wrong-code with -O

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13485 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull CC|

[Issue 481] Letting compiler determine length for fixed-length arrays

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=481 --- Comment #27 from github-bugzi...@puremagic.com --- Commit pushed to revert-590-fix481 at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/e17cfa04aa62d16a942e422f8e8e96af49b50187 Revert

[Issue 14093] [REG2.065] __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile.

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14093 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid ---

[Issue 14140] Bad codegen for CTFE union initialisers for immutable structs

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14140 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||CTFE --

[Issue 14115] Copy dlang.org's look and feel to the wiki

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #10 from Zach the Mystic reachz...@gmail.com --- Yeah, I'll download it. It was just intimidating to approach - a lot of new stuff. I did find a way to view the files online - some skins are very barebones, others are quite elaborate. I

[Issue 13649] uniform01 Assertion failure

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13649 e10s electrolysis.j...@gmail.com changed: What|Removed |Added CC|

[Issue 14150] New: std.getopt Documentation Page be Brokeded

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14150 Issue ID: 14150 Summary: std.getopt Documentation Page be Brokeded Product: D Version: unspecified Hardware: x86 URL: http://dlang.org/library/std/getopt.html OS:

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Depends on|2789| --

[Issue 14139] GIT HEAD : PI now has wrong value

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14139 --- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com --- The VS solution included with DMD has a Release target, any reason you're not using that? --

[Issue 2789] Functions overloads are not checked for conflicts

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2789 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Blocks||14147 --

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Hardware|x86_64 |All Depends on|

[Issue 14148] New: .dup of associative array is not mutable

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14148 Issue ID: 14148 Summary: .dup of associative array is not mutable Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority:

[Issue 14149] New: Bad std.algorithm error messages

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14149 Issue ID: 14149 Summary: Bad std.algorithm error messages Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity:

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||ice, pull --- Comment #3

[Issue 2789] Functions overloads are not checked for conflicts

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2789 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Blocks||14147 --

[Issue 14147] Compiler crash on identical functions in a single module

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14147 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Depends on||2789 --

[Issue 2789] Functions overloads are not checked for conflicts

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2789 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Blocks|14147 | --- Comment #11 from Kenji

[Issue 14139] GIT HEAD : PI now has wrong value

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14139 --- Comment #4 from Temtaime temta...@gmail.com --- I'm using MSVC 2013 with /O2 /GL /Gw /fp:fast. Can /fp:fast have an effect on DMD ? I'll with /GL and without /fp:fast, okay. --

[Issue 14152] New: Document when function returns are moves vs. copies

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14152 Issue ID: 14152 Summary: Document when function returns are moves vs. copies Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 14151] New: AA byKey/byValue unavailable for CTFE

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14151 Issue ID: 14151 Summary: AA byKey/byValue unavailable for CTFE Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1

[Issue 14153] New: std.format page displaying incorrectly

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14153 Issue ID: 14153 Summary: std.format page displaying incorrectly Product: D Version: unspecified Hardware: All OS: All Status: NEW Severity: normal

[Issue 14153] std.format page displaying incorrectly

2015-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14153 weaselcat r9shacklef...@gmail.com changed: What|Removed |Added CC||r9shacklef...@gmail.com