Re: Ignore debug insns in memcmp optimization

2016-06-08 Thread Richard Biener
On Tue, Jun 7, 2016 at 5:22 PM, Bernd Schmidt wrote: > This fixes a few PRs from the last few days. Fully tested on x86_64-linux. > Ok? Ok. Richard. > > Bernd

Ignore debug insns in memcmp optimization

2016-06-07 Thread Bernd Schmidt
This fixes a few PRs from the last few days. Fully tested on x86_64-linux. Ok? Bernd PR debug/71432 PR ada/71413 * tree-ssa-strlen.c (handle_builtin_memcmp): Ignore debug insns. PR debug/71432 PR ada/71413 * g++.dg/debug/pr71432.C: New test. Index: gcc/testsuite/g++.dg/debug/pr71432.C =