[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU poke 2.0.92 invokes undefined behaviour on signed integers
From: |
Bruno Haible |
Subject: |
Re: GNU poke 2.0.92 invokes undefined behaviour on signed integers |
Date: |
Sun, 06 Feb 2022 21:18:00 +0100 |
On Linux/x86_64, with GCC 9.3 and CC="gcc -ftrapv" (which detects specific
kinds of undefined behaviour with signed integers) produces:
=== poke Summary ===
# of expected passes 6308
# of unexpected failures 6
# of unsupported tests 3
The failed tests are:
Running /tmp/poke-2.0.92/testsuite/poke.pkl/pkl.exp ...
FAIL: poke.pkl/cdiv-integers-overflow-1.pk execution test
FAIL: poke.pkl/div-integers-overflow-1.pk execution test
FAIL: poke.pkl/mod-integers-overflow-1.pk execution test
FAIL: poke.pkl/neg-int-overflow-1.pk execution test
FAIL: poke.pkl/sl-integers-4.pk execution test
FAIL: poke.pkl/sub-integers-overflow-1.pk execution test
In all 6 cases the poke.log shows that abort() was invoked.
- GNU poke 2.0.92 pre-released in alpha.gnu.org, Jose E. Marchesi, 2022/02/06
- Re: GNU poke 2.0.92 on arm64, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 on powerpc32, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 on sparc, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 invokes undefined behaviour on signed integers,
Bruno Haible <=
- Re: GNU poke 2.0.92 on arm, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 on mips, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 on x86_64-{32,x32}, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 on alpha, Bruno Haible, 2022/02/06
- Re: GNU poke 2.0.92 with ubsan, Bruno Haible, 2022/02/06