Re: [patch] Propagate location into decision tree for switches

2018-11-16 Thread Richard Biener
On Fri, Nov 16, 2018 at 11:45 AM Eric Botcazou wrote: > > Hi, > > since the expansion of switches statement into decision trees was moved from > RTL to GIMPLE, the location information of the comparison statements has been > lost, i.e. GIMPLE generates comparison statements with UNKNOWN_LOCATION a

[patch] Propagate location into decision tree for switches

2018-11-16 Thread Eric Botcazou
Hi, since the expansion of switches statement into decision trees was moved from RTL to GIMPLE, the location information of the comparison statements has been lost, i.e. GIMPLE generates comparison statements with UNKNOWN_LOCATION and they are expanded as-is into RTL. Now this can be problemat