[Issue 10560] Enum typed as int with value equal to 0 or 1 prefer bool over int overload

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10560

Mike  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=

--


[Issue 9999] Integer literal 0 and 1 should prefer integer type in overload resolution

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=

Mike  changed:

   What|Removed |Added

 CC||slavo5...@yahoo.com
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=10560

--


[Issue 17833] compiling dmd on x86 linux fails

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17833

Thomas Mader  changed:

   What|Removed |Added

 CC||ibuc...@gdcproject.org,
   ||thomas.ma...@gmail.com

--- Comment #2 from Thomas Mader  ---
I am having the same problem when trying to build dmd 2.075.1 with the dmd-cxx
branch version at commit 7f7dd837f1cf92e3fd51fabbb95868b4b297ad37 as bootstrap
dmd.

The error message is: gmake[2]: *** [posix.mak:147:
import/core/sync/barrier.di] Segmentation fault

Switching back to 2.067.1 as bootstrap compiler makes it work again.

@ibuclaw: Do you happen to know what the problem might be?

--


[Issue 16564] KRRegion.empty sometimes returns Ternary.no

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16564

alex.jercai...@gmail.com changed:

   What|Removed |Added

 CC||alex.jercai...@gmail.com
   Assignee|nob...@puremagic.com|alex.jercai...@gmail.com

--


[Issue 17978] github HEAD gives wrong warning for bitwise uniray opertation

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17978

--- Comment #1 from Puneet Goel  ---
>> To me it seems that line 5 should result in error since I am trying to 
>> coerce an int into a byte.

I meant line 4.

--


[Issue 17978] New: github HEAD gives wrong warning for bitwise uniray opertation

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17978

  Issue ID: 17978
   Summary: github HEAD gives wrong warning for bitwise uniray
opertation
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: regression
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: pun...@coverify.org

With Github HEAD dmd I get:

$ rdmd --force /tmp/test.d
/tmp/test.d(3): Deprecation: integral promotion not done for ~foo, use
'-transition=intpromote' switch or ~cast(int)(foo)
/tmp/test.d(5): Deprecation: integral promotion not done for -foo, use
'-transition=intpromote' switch or -cast(int)(foo)
/tmp/test.d(6): Deprecation: integral promotion not done for -foo, use
'-transition=intpromote' switch or -cast(int)(foo)


To me it seems that line 5 should result in error since I am trying to coerce
an int into a byte.

void main() {  // 1
  byte foo;// 2
  foo = ~foo;  // 3
  foo = ~cast(int) (foo);  // 4 -- this should be an error but no
  foo = -foo;  // 5
  foo = cast(byte) (-foo); // 6
}

--


[Issue 16284] [REG2.067] CTFE internal error: bad compare

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16284

Mike  changed:

   What|Removed |Added

 CC||slavo5...@yahoo.com

--- Comment #2 from Mike  ---
Potential Fix: https://github.com/dlang/dmd/pull/7302

--


[Issue 16183] [REG2.068] compile-time string concatenation fails with CTFE and char[] literal involved

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16183

Walter Bright  changed:

   What|Removed |Added

   Hardware|x86_64  |All
 OS|Linux   |All

--


[Issue 16183] [REG2.068] compile-time string concatenation fails with CTFE and char[] literal involved

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16183

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

   What|Removed |Added

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

--


[Issue 16183] [REG2.068] compile-time string concatenation fails with CTFE and char[] literal involved

2017-11-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16183

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

https://github.com/dlang/dmd/commit/4ae9018f971c04923f1385c3b25f6cee3c1603f4
Fix Issue 16183 - [REG2.068] compile-time string concatenation fails with CTFE
and char[] literal involved

https://github.com/dlang/dmd/commit/12964b358fbe1b1c12fbfbae4a6d05109873a9a7
Merge pull request #7298 from JinShil/fix16183

Fix Issue 16183 - [REG2.068] compile-time string concatenation fails …
merged-on-behalf-of: Walter Bright 

--