[PATCH] Add clobbers for callee copied argument temporaries (PR sanitizer/81715, PR testsuite/83882)

John David Anglin dave.anglin@bell.net
Thu Jan 18 13:44:00 GMT 2018


On 2018-01-17 3:07 PM, Jakub Jelinek wrote:
> PR83882 complains that PR81715 testcase fails on callee copies parameter
> targets.  The following patch ought to fix that, but I have only
> bootstrapped/regtested it on x86_64-linux and i686-linux + on the testcase
> with hppa.
>
> John, do you think you could test this on hppa without the callee copies
> default change?
On hppa2.0w-hp-hpux11.11, pr81715.C now passes.

However, there are some new fails in the gcc and g++ suites:

FAIL: g++.dg/torture/stackalign/throw-1.C   -O0  execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -O0 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -O1 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -O2 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -O3 -fomit-frame-pointer 
-funroll-loops -fpeel-loops -ftracer -finline-functions -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -O3 -g -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-1.C   -Os -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O0  execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O0 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O1 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O2 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O3 -fomit-frame-pointer 
-funroll-loops -fpeel-loops -ftracer -finline-functions -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -O3 -g -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-2.C   -Os -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O0  execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O0 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O1 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O2 -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O3 -fomit-frame-pointer 
-funroll-loops -fpeel-loops -ftracer -finline-functions -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -O3 -g -fpic execution test
FAIL: g++.dg/torture/stackalign/throw-4.C   -Os -fpic execution test

FAIL: gcc.dg/torture/pr52451.c   -O0  execution test
FAIL: gcc.dg/torture/pr52451.c   -O1  execution test
FAIL: gcc.dg/torture/pr52451.c   -O2  execution test
FAIL: gcc.dg/torture/pr52451.c   -O3 -g  execution test
FAIL: gcc.dg/torture/pr52451.c   -Os  execution test

FAIL: gcc.dg/compat/pr83487-1 c_compat_y_tst.o compile
FAIL: gcc.dg/compat/pr83487-2 c_compat_y_tst.o compile

Dave

-- 
John David Anglin  dave.anglin@bell.net



More information about the Gcc-patches mailing list