[Issue 6609] std.conv.parse!Integer should consider sign when radix == 10

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6609


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-10-13 23:05:36 PDT ---
https://github.com/D-Programming-Language/phobos/commit/c16f64c3c2e7a3dfcf45c95dd4df9110f0c7

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6812] Failed equality of structs with string field

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6812


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 CC||clugd...@yahoo.com.au


--- Comment #2 from Don clugd...@yahoo.com.au 2011-10-13 23:10:37 PDT ---
Looks like a dup of bug 3789

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6537] OS X optimizer bug (?)

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6537


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 CC||clugd...@yahoo.com.au


--- Comment #6 from Don clugd...@yahoo.com.au 2011-10-13 23:18:02 PDT ---
This sounds a lot like bug 5364.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6812] Failed equality of structs with string field

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6812


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-13 23:22:29 PDT ---
*** This issue has been marked as a duplicate of issue 3789 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3789] Structs members that require non-bitwise comparison not correctly compared

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789



--- Comment #9 from Kenji Hara k.hara...@gmail.com 2011-10-13 23:22:29 PDT ---
*** Issue 6812 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3789] Structs members that require non-bitwise comparison not correctly compared

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789



--- Comment #10 from Kenji Hara k.hara...@gmail.com 2011-10-13 23:26:11 PDT 
---
From bug 6812:

(In reply to comment #6)
 List of things that do not work:
 
 floating-point members
 array members (including strings)

+ member classes that have overloaded opEquals

 List of things that do work:
 
 any member that uses bitwise comparison
 member structs that have overloaded opEquals

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1692] Abstract class dynamic creation bug

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1692


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #5 from Walter Bright bugzi...@digitalmars.com 2011-10-13 
23:25:02 PDT ---
https://github.com/D-Programming-Language/druntime/commit/b7270004a95c33372e5b15bc72069c001b064acf

https://github.com/D-Programming-Language/phobos/commit/23109c032d9f3117f154a8bb0f588ef9ada85565

https://github.com/D-Programming-Language/dmd/commit/0a9a27646954d73dd32e38175a6126fbba6bd334

https://github.com/D-Programming-Language/dmd/commit/90dfda907b4b634effc12bc7ea546ab6b3ffe1b0

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6806] struct TS(size_t){} instantiates in distinct types by `1` and `1u`

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6806


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


--- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-10-14 01:49:11 PDT ---
*** This issue has been marked as a duplicate of issue 3467 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3467] Non-int integral template parameters not correctly propagated

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3467


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 CC||verylonglogin@gmail.com


--- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-10-14 01:49:12 PDT ---
*** Issue 6806 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3467] Non-int integral template parameters not correctly propagated

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3467


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||patch
   Platform|Other   |All
Version|2.035   |D1  D2
 OS/Version|Windows |All


--- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-14 01:51:11 PDT ---
From bug 6806, this is D1  D2 issue.

And D2 patch:
https://github.com/D-Programming-Language/dmd/pull/449

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3789] Structs members that require non-bitwise comparison not correctly compared

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3789


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |All
 Depends on||1824


--- Comment #11 from Kenji Hara k.hara...@gmail.com 2011-10-14 02:46:10 PDT 
---
Test case.

void main()
{
static struct Float
{
double x;
}
Float f;
assert(f.x != f.x); // NaN != NaN
assert(f != f); // Fails, should pass

static struct Array
{
int[] x;
}
Array a1 = Array([1,2,3].dup);
Array a2 = Array([1,2,3].dup);
assert(a1.x !is a2.x);
assert(a1.x == a2.x);
assert(a1 == a2);   // Fails, should pass

static struct Class
{
Object x;
}
static class X
{
bool opEquals(Object o){ return true; }
}

Class c1a = Class(new Object());
Class c2a = Class(new Object());
assert(c1a.x !is c2a.x);
assert(c1a.x != c2a.x);
assert(c1a != c2a); // Pass, Object.opEquals works like bitwise compare

Class c1b = Class(new X());
Class c2b = Class(new X());
assert(c1b.x !is c2b.x);
assert(c1b.x == c2b.x);
assert(c1b == c2b); // Fails, should pass
}

To fix the comparison behavior of a struct that has classes as members,
we need to fix the bug 1824 first.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6813] New: Yet another cannot get frame pointer error

2011-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6813

   Summary: Yet another cannot get frame pointer error
   Product: D
   Version: unspecified
  Platform: Other
OS/Version: Linux
Status: NEW
  Keywords: rejects-valid
  Severity: major
  Priority: P2
 Component: DMD
AssignedTo: nob...@puremagic.com
ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha dsim...@yahoo.com 2011-10-14 09:02:28 PDT ---
import std.range, std.algorithm;

void main() {
auto arr1 = [1, 2, 3, 4, 5];
float[] f = [1, 2, 3, 4, 5];
auto ind = sort!((int a, int b) {
return f[a]  f[b];
})([1, 2, 3, 4, 5]);

auto result = indexed(arr1, ind);
}

$ dmd -inline test.d
/cis/home/dsimcha/dmd2/linux/bin64/../../src/phobos/std/range.d(5962): Error:
function
std.range.Indexed!(int[],SortedRange!(int[],__dgliteral1)).Indexed.save cannot
get frame pointer to main
/cis/home/dsimcha/dmd2/linux/bin64/../../src/phobos/std/range.d(6001): Error:
function
std.range.Indexed!(int[],SortedRange!(int[],__dgliteral1)).Indexed.opSlice
cannot get frame pointer to main

I can only reproduce this on Linux, only with -inline and only with the call to
sort(), which isn't related in any obvious way.  I can't reproduce it with GDC,
meaning it's likely a backend bug.  Therefore, my guess is that this bug is
somehow related to Linux exception handling.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---