[Bug c/80632] error: invalid PHI argument with -O2

2017-05-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80632 --- Comment #1 from David Binderman --- This bugs seems to have appeared between revision 247534 and 247578. I'll have a go at reducing it.

[Bug c/80632] error: invalid PHI argument with -O2

2017-05-04 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80632 --- Comment #2 from David Binderman --- Reduced code: a; b() { int c; if (d()) { e(); switch (a) { case 0: c = 1; break; case 1: c = 0; break; case 2: c = 0; break; case 3: c