Re: [PATCH] Fix -Og and TER

2013-03-07 Thread Jakub Jelinek
On Thu, Mar 07, 2013 at 04:52:15PM +0100, Richard Biener wrote: > 2013-03-07 Richard Biener > > * tree-ssa-ter.c (is_replaceable_p): Do not TER across location > or block changes with -Og. Fix for location / block encoding > changes and PHI arguments with locations. Ok, than

[PATCH] Fix -Og and TER

2013-03-07 Thread Richard Biener
We need to avoid line-jumps due to TER, like we do for -O0. This also adjust things to match the 4.8 changes for location encodings (and the older PHI argument locations). Bootstrap & regtest pending on x86_64-unknown-linux-gnu. Does this look ok? Thanks, Richard. 2013-03-07 Richard Biener