------- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-12 01:12 ------- (In reply to comment #2) > What exactly is the problem here? I get this as an error message: > > g/x> /home/bangerth/bin/gcc-4.2-pre/bin/c++ -c x.cc > x.cc: In function ‘void f()’: > x.cc:3: error: break statement not within loop or switch
Yes but this semantics anyalsis is done while gimplifing and not while parsing. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-10-12 01:12:23 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26747