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

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: >> >>

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: