This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, CHKP] Fix instrumentation clones privatization
- From: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 Dec 2014 19:43:02 +0300
- Subject: Re: [PATCH, CHKP] Fix instrumentation clones privatization
- Authentication-results: sourceware.org; auth=none
- References: <20141202140151 dot GF2963 at msticlxl57 dot ims dot intel dot com> <mvmfvcntva5 dot fsf at hawking dot suse dot de> <CAMbmDYYXJrKLBa9G6gsoZsEQTxQX9OuGvBA3y3FKYWFnzyz_0Q at mail dot gmail dot com> <mvmzjavsdqx dot fsf at hawking dot suse dot de>
2014-12-10 18:53 GMT+03:00 Andreas Schwab <schwab@suse.de>:
> Ilya Enkovich <enkovich.gnu@gmail.com> writes:
>
>> 2014-12-10 17:49 GMT+03:00 Andreas Schwab <schwab@suse.de>:
>>> Ilya Enkovich <enkovich.gnu@gmail.com> writes:
>>>
>>>> * gcc.dg/lto/lto.exp: Load mpx-dg.exp.
>>>> * gcc.dg/lto/chkp-privatize_0.c: New.
>>>> * gcc.dg/lto/chkp-privatize_1.c: New.
>>>
>>> xgcc: error: unrecognized command line option '-mmpx'
>>>
>>> FAIL: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_0.o assemble, -fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx
>>
>> What is the target?
>
> Pick any.
Here it is.
>./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=./gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++,fortran
--disable-bootstrap
Thread model: posix
gcc version 5.0.0 20141210 (experimental) (GCC)
>make check RUNTESTFLAGS="--target_board='unix{-m32,}' lto.exp=chkp-privatize*"
...
=== gcc Summary ===
# of expected passes 6
...
>grep PASS ./gcc/testsuite/gcc/gcc.log
PASS: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_0.o assemble,
-fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx
PASS: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_1.o assemble,
-fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx
PASS: gcc.dg/lto/chkp-privatize
c_lto_chkp-privatize_0.o-c_lto_chkp-privatize_1.o link, -fPIC -flto
-flto-partition=max -fcheck-pointer-bounds -mmpx
PASS: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_0.o assemble,
-fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx
PASS: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_1.o assemble,
-fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx
PASS: gcc.dg/lto/chkp-privatize
c_lto_chkp-privatize_0.o-c_lto_chkp-privatize_1.o link, -fPIC -flto
-flto-partition=max -fcheck-pointer-bounds -mmpx
>grep FAIL ./gcc/testsuite/gcc/gcc.log
Ilya
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."