On Sat, Dec 14, 2013 at 5:23 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Sat, Dec 14, 2013 at 02:20:05PM +0100, Marek Polacek wrote:
>> This adds two sanity tests for signed-integer-overflow sanitization.
>> One variant uses asms to prevent ccp/... from optimizing away the
>> computations.  Nothing in these tests should fail.
>>
>> Regtested on x86_64-unknown-linux-gnu and powerpc64-unknown-linux-gnu,
>> ok for trunk?
>>
>> 2013-12-14  Marek Polacek  <pola...@redhat.com>
>>
>> testsuite/
>>       * c-c++-common/ubsan/overflow-1.c: New test.
>>       * c-c++-common/ubsan/overflow-2.c: New test.
>
> Ok, thanks.
>

I got

FAIL: c-c++-common/ubsan/overflow-2.c  -O1  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O1  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O1  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O1  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O2  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O2  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O2  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O2  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -fomit-frame-pointer
(internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -fomit-frame-pointer
(internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -fomit-frame-pointer  (test
for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -fomit-frame-pointer  (test
for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -g  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -g  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -g  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -O3 -g  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -Os  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -Os  (internal compiler error)
FAIL: c-c++-common/ubsan/overflow-2.c  -Os  (test for excess errors)
FAIL: c-c++-common/ubsan/overflow-2.c  -Os  (test for excess errors)

on Linux/x86.

-- 
H.J.

Reply via email to