[Issue 17793] [ICE] Internal error: ddmd/backend/cod1.c 3976 using simd.double4

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17793

Suleyman Sahmi (سليمان السهمي)  changed:

   What|Removed |Added

 CC||sahmi.soulaim...@gmail.com
   Assignee|nob...@puremagic.com|sahmi.soulaim...@gmail.com

--


[Issue 19386] Destructor not called when constructed inside if condition, leading to memory leak

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19386

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Dlang Bot  ---
dlang/dmd pull request #9830 "Fix issue 19386 - Destructor not called when
constructed inside if condition" was merged into stable:

- 9d4f118670ef68416a0d13108e3cdcf13271 by سليمان السهمي  (Suleyman Sahmi):
  Fix issue 19386 - Destructor not called when constructed inside if condition
  This happens when the if condition evaluates to false at runtime

https://github.com/dlang/dmd/pull/9830

--


[Issue 19846] Identity function causes code returning byte[0] to not be executed

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19846

Nicholas Wilson  changed:

   What|Removed |Added

 CC||iamthewilsona...@hotmail.co
   ||m

--- Comment #1 from Nicholas Wilson  ---
This is DMD specific, LDC behaves fine.

--


[Issue 18772] [ICE] Internal error: dmd\backend\cgcod.c 607 no optimizations

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18772

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #9828 "Fix issue 18772 - Runtime segfault in _memset"
was merged into stable:

- 47d51377fba9db0a6e516c08ce96c003ac4f2751 by سليمان السهمي  (Suleyman Sahmi):
  Fix issue 18772 - Runtime segfault in _memset

https://github.com/dlang/dmd/pull/9828

--


[Issue 19890] ICE: Segmentation fault with negative array size

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19890

--- Comment #3 from Iain Buclaw  ---
Casting to void[int.max] causes the backend to run out of memory.

void[] f = cast(void[int.max]) "a";

--


[Issue 19890] ICE: Segmentation fault with negative array size

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19890

--- Comment #2 from Iain Buclaw  ---
Casting to void[uint.max] causes a segmentation fault in another part of the
compiler.

void[] f = cast(void[uint.max]) "a";

--


[Issue 19890] ICE: Segmentation fault with negative array size

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19890

Iain Buclaw  changed:

   What|Removed |Added

 CC||ibuc...@gdcproject.org

--- Comment #1 from Iain Buclaw  ---
And adjusting the size of the static array instead causes a memory allocation
failed ICE.  Meaning that the first test triggers an integer overflow.

void[] f = cast(void[-2]) "a";

--


[Issue 19890] New: ICE: Segmentation fault with negative array size

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19890

  Issue ID: 19890
   Summary: ICE: Segmentation fault with negative array size
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: critical
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: ibuc...@gdcproject.org

void[] f = cast(void[-1]) "a";

--


[Issue 18772] [ICE] Internal error: dmd\backend\cgcod.c 607 no optimizations

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18772

Suleyman Sahmi (سليمان السهمي)  changed:

   What|Removed |Added

 CC||sahmi.soulaim...@gmail.com

--- Comment #4 from Suleyman Sahmi (سليمان السهمي)  
---
This is not an ICE by the way, it compiles. The segfault is when the executable
is ran.

--


[Issue 19889] New: Exceptions not printed with -m32mscoff and lld-llink

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19889

  Issue ID: 19889
   Summary: Exceptions not printed with -m32mscoff and lld-llink
   Product: D
   Version: D2
  Hardware: x86
OS: Windows
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: m...@krej.cz

Exceptions are not printed on Windows console when compiled with -m32mscoff and
bundled lld-link is used (no MSVC installed). A program hangs for few seconds
and terminates without printing the exception message.

-m64 and -m32 works. MSLINK works too.

dmd 2.086

--


[Issue 19888] default parameters in templates with tuple parameters+defaults are thrown away

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19888

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Dlang Bot  ---
dlang/dmd pull request #9827 "Fix Issue 19888 - default parameters in templates
with tuple parameters+defaults are thrown away" was merged into stable:

- 15f4f29395e929a410cb173648651f727430ca50 by RazvanN7:
  Fix Issue 19888 - default parameters in templates with tuple
parameters+defaults are thrown away

https://github.com/dlang/dmd/pull/9827

--


[Issue 19888] default parameters in templates with tuple parameters+defaults are thrown away

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19888

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@RazvanN7 created dlang/dmd pull request #9827 "Fix Issue 19888 - default
parameters in templates with tuple parameters+defaults are thrown away" fixing
this issue:

- Fix Issue 19888 - default parameters in templates with tuple
parameters+defaults are thrown away

https://github.com/dlang/dmd/pull/9827

--


[Issue 902] Duplicate zero-initialized template member variables

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=902

RazvanN  changed:

   What|Removed |Added

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

--- Comment #4 from RazvanN  ---
I cannot reproduce this in D2 master. Closing as WORKSFORME.

--


[Issue 18958] extern(C++) wchar, dchar mangling not correct

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18958

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #8342 "Fix Issue 18958 - extern(C++) wchar, dchar
mangling not correct" was merged into master:

- 7899f891d3edf1623c3ffcdef13b2b0f29fc222e by Manu Evans:
  Fix Issue 18958 - extern(C++) wchar, dchar mangling not correct

https://github.com/dlang/dmd/pull/8342

--


[Issue 19713] dmd crashes generating code for C++ template function

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19713

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Dlang Bot  ---
dlang/dmd pull request #9826 " Fix issue 19713 - ICE on C++ template function"
was merged into stable:

- 3b102c863e2bae809fe1fc6bb4da819a0d98fad2 by سليمان السهمي  (Suleyman Sahmi):
  Fix issue 19713 - ICE on C++ template function

https://github.com/dlang/dmd/pull/9826

--


[Issue 19887] Segfault with void tuple default parameter

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19887

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Dlang Bot  ---
dlang/dmd pull request #9825 "fix issue 19887 - Segfault with void tuple
default parameter" was merged into stable:

- 9b471548fa4d765f5ee3d1733116b36112b0aecb by Basile Burg:
  fix issue 19887 - Segfault with void tuple default parameter

https://github.com/dlang/dmd/pull/9825

--


[Issue 19868] Segmentation Fault Everytime

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19868

Suleyman Sahmi (سليمان السهمي)  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||sahmi.soulaim...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from Suleyman Sahmi (سليمان السهمي)  
---


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

--


[Issue 19116] dmd compiles binary but segfaults immediately when run on Ubuntu / Debian 32Bit architectures

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19116

Suleyman Sahmi (سليمان السهمي)  changed:

   What|Removed |Added

 CC||unlimi...@zoho.com

--- Comment #7 from Suleyman Sahmi (سليمان السهمي)  
---
*** Issue 19868 has been marked as a duplicate of this issue. ***

--


[Issue 19887] Segfault with void tuple default parameter

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19887

Basile-z  changed:

   What|Removed |Added

   Keywords||ice
 CC||b2.t...@gmx.com

--


[Issue 19887] Segfault with void tuple default parameter

2019-05-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19887

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@Basile-z created dlang/dmd pull request #9825 "fix issue 19887 - Segfault with
void tuple default parameter" fixing this issue:

- fix issue 19887 - Segfault with void tuple default parameter

https://github.com/dlang/dmd/pull/9825

--