Jump to page: 1 2
Thread overview
[Issue 17622] inline for m64 fails web APPS
Jul 08, 2017
steven kladitis
Jul 08, 2017
Vladimir Panteleev
Jul 12, 2017
steven kladitis
Jul 15, 2017
Vladimir Panteleev
[Issue 17622] [REG2.075.0-b1] Wrong code with appender and -inline
Jul 15, 2017
Vladimir Panteleev
Jul 15, 2017
Vladimir Panteleev
Aug 02, 2017
Walter Bright
Aug 02, 2017
Walter Bright
Aug 03, 2017
Vladimir Panteleev
Aug 03, 2017
Martin Nowak
July 08, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

steven kladitis <steven_kladitis@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dll

--- Comment #1 from steven kladitis <steven_kladitis@yahoo.com> ---
when using -inline in 64 bit mode all apps I have the goto the web do not work.
-m64 -inline
on windows 10 64 bit
Windows comes back with a message about debugging the app.
Without -inline they work.

compiler --> DMD32 D Compiler 2.075.0-b2

--
July 08, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Please provide a full self-contained test case, so that we can reproduce the bug.

--
July 12, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #3 from steven kladitis <steven_kladitis@yahoo.com> ---
void main() {
    import std.stdio, std.base64, std.net.curl, std.string;

    const f = "http://rosettacode.org/favicon.ico".get.representation;
    Base64.encode(f).writeln;
}



---- the above fails in -m32 or -m64 when using -inline
-- without -inline they  execute immediately.

--
July 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|dll                         |wrong-code
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #4 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
(In reply to steven kladitis from comment #3)
> ---- the above fails in -m32 or -m64 when using -inline

Thanks, reprocuded. Reducing.

--
July 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|inline  for m64 fails web   |[REG2.075.0-b1] Wrong code
                   |APPS                        |with appender and -inline
           Severity|major                       |regression

--- Comment #5 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
This is a regression.

Introduced in https://github.com/dlang/dmd/pull/6852

Partial reduction:

//////////////// test.d ////////////////
void main()
{
    import std.array : appender;

    auto content = appender!(ubyte[])();

    auto rdg = ()
    {
        auto x = content.data;
    };

    content.put(new ubyte[912]);
}
////////////////////////////////////////

--
July 15, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

--- Comment #6 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Reduced:

//////// test.d ///////
struct S
{
    int i;

    this(ubyte)
    {
        return;
    }

    void fun()
    {
        assert(i == 0);
    }
}

S make()
{
    return S(0);
}

void main()
{
    S s = make();

    auto rdg =
    {
        s.fun();
    };

    s.fun();
}
///////////////////////

--
August 02, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #7 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/7056

--
August 02, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=17632

--
August 03, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdansky@gmail.com

--- Comment #8 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
*** Issue 14793 has been marked as a duplicate of this issue. ***

--
August 03, 2017
https://issues.dlang.org/show_bug.cgi?id=17622

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |briancschott@gmail.com

--- Comment #9 from Martin Nowak <code@dawg.eu> ---
*** Issue 17632 has been marked as a duplicate of this issue. ***

--
« First   ‹ Prev
1 2