[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread ecd at brainaid dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 --- Comment #4 from Eddie C. Dost --- Andrew, thank you very much, you are correct and I was blind. I now see the problem from gcc's optimizer view and it makes sense to remove the second condition.

[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 --- Comment #3 from Andrew Pinski --- Swap around the conditions that you have and it will work correctly.

[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/64136] gcc tree optimization removes basic block containing break condition

2014-12-01 Thread ecd at brainaid dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64136 --- Comment #1 from Eddie C. Dost --- Created attachment 34153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34153&action=edit bug.i cunrolli dump