[dmd-internals] [D-Programming-Language/dmd] 31b8ff: fix Issue 12979 - Nothrow violation error is hidde...

GitHub via dmd-internals dmd-internals at puremagic.com
Mon Oct 6 06:05:29 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 31b8ff1d0b5fb692313cbe1a04578304eb5e924d
      https://github.com/D-Programming-Language/dmd/commit/31b8ff1d0b5fb692313cbe1a04578304eb5e924d
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-10-03 (Fri, 03 Oct 2014)

  Changed paths:
    M src/func.c
    M src/iasm.c
    M src/parse.c
    M src/statement.c
    M src/statement.h
    M src/visitor.h
    A test/compilable/deprecate12979a.d
    A test/compilable/test12979a.d
    A test/compilable/test12979b.d
    A test/fail_compilation/deprecate12979a.d
    A test/fail_compilation/deprecate12979b.d
    A test/fail_compilation/deprecate12979c.d
    A test/fail_compilation/deprecate12979d.d
    M test/fail_compilation/fail327.d
    A test/fail_compilation/test12979.d

  Log Message:
  -----------
  fix Issue 12979 - Nothrow violation error is hidden by inline assembler

- deprecate using unattributed asm in attributed functions

- add explicit attributes on asm statments (unverified by compiler)

  asm pure nothrow @nogc @trusted {
    //...
  }

- added new CompoundAsmStatement because the parser
  already splits asm blocks into many AsmStatements


  Commit: ea3237bd1e08b610bde33abfb48b172163880eda
      https://github.com/D-Programming-Language/dmd/commit/ea3237bd1e08b610bde33abfb48b172163880eda
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M src/statement.c
    M test/compilable/deprecate12979a.d
    M test/fail_compilation/deprecate12979a.d
    M test/fail_compilation/deprecate12979b.d
    M test/fail_compilation/deprecate12979c.d
    M test/fail_compilation/deprecate12979d.d
    M test/fail_compilation/fail327.d

  Log Message:
  -----------
  wording of error messages


  Commit: a1ec5c71600cbe62218476d605aa2aa624da044c
      https://github.com/D-Programming-Language/dmd/commit/a1ec5c71600cbe62218476d605aa2aa624da044c
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M src/func.c
    M src/iasm.c
    M src/parse.c
    M src/statement.c
    M src/statement.h
    M src/visitor.h
    A test/compilable/deprecate12979a.d
    A test/compilable/test12979a.d
    A test/compilable/test12979b.d
    A test/fail_compilation/deprecate12979a.d
    A test/fail_compilation/deprecate12979b.d
    A test/fail_compilation/deprecate12979c.d
    A test/fail_compilation/deprecate12979d.d
    M test/fail_compilation/fail327.d
    A test/fail_compilation/test12979.d

  Log Message:
  -----------
  Merge pull request #4033 from MartinNowak/fix12979

fix Issue 12979 - Nothrow violation error is hidden by inline assembler


Compare: https://github.com/D-Programming-Language/dmd/compare/d66e62df14b5...a1ec5c71600c


More information about the dmd-internals mailing list