Re: [PATCH 1/2] Do not verify CFG if a function is discarded (PR

2016-03-29 Thread Richard Biener
On Tue, Mar 29, 2016 at 3:07 PM, Martin Liška wrote: > On 03/29/2016 02:10 PM, Richard Biener wrote: >> On Tue, Mar 29, 2016 at 1:42 PM, Martin Liška wrote: >>> Hello. >>> >>> The problem with the original patch is that I'm forced to produce >>> an empty BB to produce true/false edge needed for t

Re: [PATCH 1/2] Do not verify CFG if a function is discarded (PR

2016-03-29 Thread Martin Liška
On 03/29/2016 02:10 PM, Richard Biener wrote: > On Tue, Mar 29, 2016 at 1:42 PM, Martin Liška wrote: >> Hello. >> >> The problem with the original patch is that I'm forced to produce >> an empty BB to produce true/false edge needed for the 'index' check: >> >> /home/marxin/Programming/testhsa/run_

Re: [PATCH 1/2] Do not verify CFG if a function is discarded (PR

2016-03-29 Thread Richard Biener
On Tue, Mar 29, 2016 at 1:42 PM, Martin Liška wrote: > Hello. > > The problem with the original patch is that I'm forced to produce > an empty BB to produce true/false edge needed for the 'index' check: > > /home/marxin/Programming/testhsa/run_tests/012-switch/switch-5.c:28:9: error: > true/false

[PATCH 1/2] Do not verify CFG if a function is discarded (PR

2016-03-29 Thread Martin Liška
016 13:33:16 +0200 Subject: [PATCH 1/2] Do not verify CFG if a function is discarded (PR hsa/70402) gcc/ChangeLog: 2016-03-29 Martin Liska * passes.c (execute_function_todo): Do not verify CFG if a function is discarded. --- gcc/passes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletion