[parrot/parrot] 213fe6: detect -Wcast-align violations [GH #1201]

GitHub noreply at github.com
Mon Feb 15 08:02:59 UTC 2016


  Branch: refs/heads/rurban/pasm_out-gh989
  Home:   https://github.com/parrot/parrot
  Commit: 213fe65a982cd61ce372f9e238bc10e88fa60d26
      https://github.com/parrot/parrot/commit/213fe65a982cd61ce372f9e238bc10e88fa60d26
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M src/embed/bytecode.c
    M src/packfile/api.c
    M src/packfile/pf_items.c

  Log Message:
  -----------
  detect -Wcast-align violations [GH #1201]

We need an ARMv5 or MIPS platform which do require word aligned pointers
and throw these warnings.

TODO: We might need to add a config probe on those platforms for a
PARROT_HAS_STRICT_WORDALIGN ifdef and check the alignment then at
runtime with a possible needed memcpy before we can access the pointer
value.


  Commit: 0696bf5a2ace251859671877f22de8b5557784b9
      https://github.com/parrot/parrot/commit/0696bf5a2ace251859671877f22de8b5557784b9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M src/gc/string_gc.c

  Log Message:
  -----------
  [docs] typo on move_buffer_callback doc


  Commit: 4e22af73a35ca778fa06074d7bdb3fdd51055759
      https://github.com/parrot/parrot/commit/4e22af73a35ca778fa06074d7bdb3fdd51055759
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M ChangeLog
    M VERSION
    M docs/parrothist.pod
    M docs/project/release_manager_guide.pod
    M t/native_pbc/integer_4_be.pbc
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/integer_8_be.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_16_be.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/number_4_8_le.pbc
    M t/native_pbc/number_8_16_be.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_be.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string_4_be.pbc
    M t/native_pbc/string_4_le.pbc
    M t/native_pbc/string_8_be.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/release/release.json

  Log Message:
  -----------
  Supported release 8.1.0 "Andean Parakeet"

+ Restore make configure_tests, remove outdated t/steps/auto/labs-01.t

The Andean parakeet (Bolborhynchus orbygnesius) is a small 160 mm (6 in)
parrot found in the upland wooded valleys of the central eastern Andes in
Bolivia and Peru, at elevations of 1,500 m (4,900 ft) to 5,000 m (16,400
ft).  It is solid green, darker above and lighter below, with some blue
visible on the wings when flying.  It has a pale bill and medium length
tail.  It is stockier and darker than the mountain parakeet.

Most flocks are small, but sometimes include over 300 individuals. The
Andean parakeet eats seeds, buds, and berries, and it breeds in burrows in
steep banks.

It was formerly known as B. andicolus - Wikipedia


  Commit: b4444a0567fcefa22785b5c237ba0db18395e6c2
      https://github.com/parrot/parrot/commit/b4444a0567fcefa22785b5c237ba0db18395e6c2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M config/gen/config_h/feature_h.in

  Log Message:
  -----------
  [config] support __builtin_expect LIKELY/UNLIKELY branch optimizations

add EXPECT,LIKELY,UNLIKELY macros to feature.h as in the linux kernel and perl5
probe for __builtin_expect() support in a new auto::expect configure step

Usage: if (UNLIKELY(var == 0)) fail();

Add emacs mode:c support for test_c.in files, and relax the coda test for this.
Should be used in all test_c.in files.


  Commit: 5b49f3561e8cf04231937b0ec9b2d8b74a4d5424
      https://github.com/parrot/parrot/commit/5b49f3561e8cf04231937b0ec9b2d8b74a4d5424
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M .gitignore
    M compilers/imcc/debug.c
    M compilers/imcc/debug.h
    M compilers/imcc/imc.c
    M compilers/imcc/imc.h
    M compilers/imcc/imcc.l
    M compilers/imcc/imclexer.c
    M compilers/imcc/instructions.c
    M compilers/imcc/instructions.h
    M compilers/imcc/main.c
    M compilers/imcc/pbc.c
    M compilers/imcc/pbc.h
    M compilers/imcc/reg_alloc.c
    M config/gen/config_h/feature_h.in
    M frontend/parrot/main.c
    M frontend/parrot2/main.c
    M include/imcc/embed.h
    M include/parrot/interpreter.h
    M lib/Parrot/Test.pm
    M src/interp/api.c
    M src/pmc/imccompiler.pmc
    A t/compilers/imcc/imcpasm/cfg.t
    A t/compilers/imcc/imcpasm/opt0.t
    A t/compilers/imcc/imcpasm/opt1.t
    A t/compilers/imcc/imcpasm/opt2.t
    A t/compilers/imcc/imcpasm/optc.t
    A t/compilers/imcc/imcpasm/pcc.t

  Log Message:
  -----------
  re-add PASM output to imcc, re-add imcpasm tests

one new IMCCompiler api method: set_to_pasm
remove static output in imcc/instructions.c
detect .pasm -o outfile extension
add and fix old t/compilers/imcc/imcpasm/*.t tests and the pir_2*_
  Parrot::Test methods
change Parrot::Test pir_2_pasm method to use -d1000, which is equivalent
  to pasm output, just to stderr.
use new LIKELY/UNLIKELY macros


  Commit: 099feaa251c0382683a0c39d06cf64dcd09aae7e
      https://github.com/parrot/parrot/commit/099feaa251c0382683a0c39d06cf64dcd09aae7e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M ChangeLog
    M compilers/imcc/api.c
    M compilers/imcc/instructions.c
    M frontend/parrot/main.c
    M frontend/parrot2/main.c
    M include/imcc/api.h
    M t/compilers/imcc/imcpasm/opt2.t
    M t/compilers/imcc/imcpasm/optc.t

  Log Message:
  -----------
  enable pasm_out in parrot2, todo failing imcpasm tests

opt2 fails with changed used_once semantics: I0 = 10 is side-effecting, but *can* be removed
if I0 is used only once (GH #1036), ...


  Commit: 14fb8d895de4a7cffd4b5a790631ab6897bf99fd
      https://github.com/parrot/parrot/commit/14fb8d895de4a7cffd4b5a790631ab6897bf99fd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M lib/Parrot/Test.pm

  Log Message:
  -----------
  [test] ignore TEST_PROG_ARGS -O2 for opt1.t tests


  Commit: 7ec8741fed6923e934544fdf4573e27cc20e6f2f
      https://github.com/parrot/parrot/commit/7ec8741fed6923e934544fdf4573e27cc20e6f2f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M compilers/imcc/debug.c

  Log Message:
  -----------
  [cage] overlong line


  Commit: 3d7bc42567ae70b9e4e6c700acdb0a5f1c74306b
      https://github.com/parrot/parrot/commit/3d7bc42567ae70b9e4e6c700acdb0a5f1c74306b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M .gitignore
    M MANIFEST
    M MANIFEST.SKIP

  Log Message:
  -----------
  [cage] update MANIFEST{,.SKIP}, .gitignore


  Commit: 343ae86d37381d005042e32536ffdacfe50f1a1c
      https://github.com/parrot/parrot/commit/343ae86d37381d005042e32536ffdacfe50f1a1c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M compilers/imcc/api.c
    M compilers/imcc/instructions.c

  Log Message:
  -----------
  [codingstd] add docs, ...


  Commit: 18f85246a84d5d8ff2de6e9c6a809ffa25338e26
      https://github.com/parrot/parrot/commit/18f85246a84d5d8ff2de6e9c6a809ffa25338e26
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M compilers/imcc/main.c
    M include/imcc/embed.h

  Log Message:
  -----------
  [cage] imcc/embed.h

error: nonnull argument references non-pointer operand
with llvm


  Commit: bf3f045a83a5933c9d4c6d50c5bca1a3fba7b021
      https://github.com/parrot/parrot/commit/bf3f045a83a5933c9d4c6d50c5bca1a3fba7b021
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M compilers/imcc/api.c
    M compilers/imcc/imcc.l
    M compilers/imcc/imclexer.c
    M compilers/imcc/instructions.c
    M compilers/imcc/instructions.h
    M compilers/imcc/main.c
    M frontend/parrot/main.c
    M frontend/parrot2/main.c
    M include/imcc/api.h
    M include/imcc/embed.h
    M src/interp/api.c
    M src/pmc/imccompiler.pmc

  Log Message:
  -----------
  [imcc] rename to set_write_pasm, revamp api

Improve docs of the imcc API

pasm_out:
Pass the outfile path to set_write_pasm, so that we can
initialize it emit_open. Since the lexer doesn't know the outfile name
check for NULL in the lexer called emit_open(). Already initialized earlier
by the frontend.

The new parrot needs to store the outfile for the pasm out api.


  Commit: 04957adccb1b940d95bc7d500db923214499f1a4
      https://github.com/parrot/parrot/commit/04957adccb1b940d95bc7d500db923214499f1a4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M compilers/imcc/imclexer.c
    M compilers/imcc/imcparser.c
    M compilers/imcc/imcparser.h

  Log Message:
  -----------
  regenerate imcparser with bison-3.0.4


Compare: https://github.com/parrot/parrot/compare/7141d72594db...04957adccb1b


More information about the parrot-commits mailing list