http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #8 from Kenji Hara 2012-12-29 23:39:37 PST ---
(In reply to comment #7)
> And what's the problem with leaving auto ref as it is with templated functions
In recent, I have used `auto ref` in std.algorithm.forward.
Yes, ideally we c
http://d.puremagic.com/issues/show_bug.cgi?id=9099
--- Comment #7 from github-bugzi...@puremagic.com 2012-12-29 23:31:44 PST ---
Commit pushed to staging at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/878a183a51825ea5dce25f4289a8e
http://d.puremagic.com/issues/show_bug.cgi?id=9099
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=9099
--- Comment #6 from github-bugzi...@puremagic.com 2012-12-29 23:22:22 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/a15d228ed0c1a3bfb5bd05ec1d4918
http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #7 from Jonathan M Davis 2012-12-29 23:00:50
PST ---
> We cannot make "rvalue references" with template functions, if we use `auto
ref`.
And what's the problem with leaving auto ref as it is with templated functions
and then makin
http://d.puremagic.com/issues/show_bug.cgi?id=9244
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=9243
--- Comment #4 from Walter Bright 2012-12-29
21:59:11 PST ---
(In reply to comment #3)
> (In reply to comment #2)
>
> > Dmd already does this using graph coloring. I guess dmd is advanced? :-)
>
> Despite in some cases DMD compiles in a sub-
http://d.puremagic.com/issues/show_bug.cgi?id=9244
Summary: union containing pointers not allowed
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component
http://d.puremagic.com/issues/show_bug.cgi?id=9243
--- Comment #3 from bearophile_h...@eml.cc 2012-12-29 20:33:19 PST ---
(In reply to comment #2)
> Dmd already does this using graph coloring. I guess dmd is advanced? :-)
Despite in some cases DMD compiles in a sub-optimal way compared to LDC/
http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #6 from Kenji Hara 2012-12-29 20:24:29 PST ---
(In reply to comment #5)
A serious problem is:
We cannot make "rvalue references" with template functions, if we use `auto
ref`.
--
Configure issuemail: http://d.puremagic.com/issues
http://d.puremagic.com/issues/show_bug.cgi?id=9243
--- Comment #2 from Walter Bright 2012-12-29
18:30:18 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > but this enhancement has zero cost, so why not?
>
> Advanced compilers do two things:
> - If in a function you have nested s
http://d.puremagic.com/issues/show_bug.cgi?id=9242
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #3
http://d.puremagic.com/issues/show_bug.cgi?id=9242
--- Comment #2 from bearophile_h...@eml.cc 2012-12-29 18:02:38 PST ---
(In reply to comment #1)
> Maybe it's better to name/syntax it differently, to make it more future-proof
> in case we'll want to add other related runtime safeties.
A simpl
http://d.puremagic.com/issues/show_bug.cgi?id=5570
--- Comment #33 from David Nadlinger 2012-12-29 18:04:07
PST ---
I added issue 9239 as a blocker of this, as it also concerns the System V
x86-64 ABI.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You
http://d.puremagic.com/issues/show_bug.cgi?id=9243
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=9243
Summary: Order locals to prevent buffer overflow attacks
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=9242
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=9242
Summary: Add stack smashing code to flush out heisenbugs
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=9237
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=9237
--- Comment #3 from github-bugzi...@puremagic.com 2012-12-29 13:26:14 PST ---
Commit pushed to staging at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5781626d3cdd8ec29216047a510decf6919e256
http://d.puremagic.com/issues/show_bug.cgi?id=9237
--- Comment #2 from github-bugzi...@puremagic.com 2012-12-29 13:25:18 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/d53a0063235604a638b32de4d5ad7a24bba6fea
http://d.puremagic.com/issues/show_bug.cgi?id=9238
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #5
http://d.puremagic.com/issues/show_bug.cgi?id=9241
Summary: 2.061: Property call error message disappeared
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Comp
http://d.puremagic.com/issues/show_bug.cgi?id=9218
--- Comment #9 from siegelords_ab...@yahoo.com 2012-12-29 09:13:28 PST ---
Ok, that workabout is not quite complete (perhaps this is a different bug
now?). While it solves the code in the original comment, this code doesn't
work:
struct A
{
http://d.puremagic.com/issues/show_bug.cgi?id=9240
Summary: (Regression: 2.058) non-const does not implicitly
convert to const
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: reg
http://d.puremagic.com/issues/show_bug.cgi?id=9218
--- Comment #8 from SomeDude 2012-12-29 08:11:17
PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > Tested on DPaste, this code runs successfully with DMD 2.x Git (UDA beta
> > build)
> > (supposedly updated daily) both in 32 and
http://d.puremagic.com/issues/show_bug.cgi?id=6715
--- Comment #3 from siegelords_ab...@yahoo.com 2012-12-29 08:08:04 PST ---
(In reply to comment #2)
> (In reply to comment #0)
>
> > Can we have ^^ rewritten into a simple pow?
>
> Note: I think that currently a^^b is optimized in some special
http://d.puremagic.com/issues/show_bug.cgi?id=9218
--- Comment #7 from siegelords_ab...@yahoo.com 2012-12-29 08:05:49 PST ---
I worked around this for now by adding this overload:
int opCmp(const A a) const
{
return opCmp(a);
}
This seems to work because the compiler prefers the const ref
http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #4 from Kenji Hara 2012-12-29 08:04:06 PST ---
I'd like to propose using `in ref` rather than `auto ref` for the purpose.
Reasons:
1. `in ref` implies `const scope ref`.
If the reference binds temporary rvalue, its address must
http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #2 from Andrej Mitrovic 2012-12-29
07:36:31 PST ---
(In reply to comment #1)
> Does it really block Issue 9218? We've had a discussion in the forums recently
> to make `auto ref` a non-template by making the compiler convert this c
http://d.puremagic.com/issues/show_bug.cgi?id=9238
--- Comment #3 from Andrej Mitrovic 2012-12-29
07:37:52 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Does it really block Issue 9218? We've had a discussion in the forums
> > recently
> > to make `auto ref` a non-template b
http://d.puremagic.com/issues/show_bug.cgi?id=9238
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=9211
--- Comment #3 from github-bugzi...@puremagic.com 2012-12-29 06:37:19 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/4a08974927ffd467ba05a20f42c72a5fb
http://d.puremagic.com/issues/show_bug.cgi?id=7105
--- Comment #9 from github-bugzi...@puremagic.com 2012-12-29 01:42:43 PST ---
Commit pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org
https://github.com/D-Programming-Language/d-programming-language.org/c
http://d.puremagic.com/issues/show_bug.cgi?id=8832
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
35 matches
Mail list logo