[Bug c++/25181] [3.4 Regression] wrong will never be executed warning in switch - case block

2005-11-30 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-11-30 16:11 --- (In reply to comment #1) We should reject this. But that is a different bug. Anyways fixing up the code to be legal code: extern int abort(); int test_18() { int type; switch (type) {

[Bug c++/25181] [3.4 Regression] wrong will never be executed warning in switch - case block

2005-11-30 Thread oliverst at online dot de
--- Comment #3 from oliverst at online dot de 2005-11-30 20:38 --- I forgot to meintion, that this happens with C and C++, so I guess it's a middle-end bug!? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25181