Re: [PATCH] PR testsuite/70150: Check non-pic/ia32 in stackprotectexplicit2.C

2016-03-19 Thread H.J. Lu
On Thu, Mar 17, 2016 at 6:48 AM, Rainer Orth wrote: > "H.J. Lu" writes: > >> For ia32, __stack_chk_fail isn't called in PIC. We need to check >> non-pic or non-ia32 before scanning for __stack_chk_fail. >> >> OK for trunk? >> >> H.J. >> --- >> PR testsuite/70150 > > There's already PR c++/

Re: [PATCH] PR testsuite/70150: Check non-pic/ia32 in stackprotectexplicit2.C

2016-03-19 Thread Rainer Orth
"H.J. Lu" writes: > For ia32, __stack_chk_fail isn't called in PIC. We need to check > non-pic or non-ia32 before scanning for __stack_chk_fail. > > OK for trunk? > > H.J. > --- > PR testsuite/70150 There's already PR c++/66400 (and a bunch of others for several related issues) which I'd

[PATCH] PR testsuite/70150: Check non-pic/ia32 in stackprotectexplicit2.C

2016-03-19 Thread H.J. Lu
For ia32, __stack_chk_fail isn't called in PIC. We need to check non-pic or non-ia32 before scanning for __stack_chk_fail. OK for trunk? H.J. --- PR testsuite/70150 * g++.dg/stackprotectexplicit2.C: Scanning for __stack_chk_fail only for non-pic or non-ia32 . --- gcc/tes