------- Comment #11 from jvdelisle at verizon dot net 2009-09-20 17:04 ------- Subject: Re: [4.3/4.4/4.5 Regression] miscompilation of goto/label using code
rguenth at gcc dot gnu dot org wrote: > but instead it should have used a computed goto, like > > C.0 = { &__label_001262, &__label_001263, &__label_001264 }; > goto *C.0[i - 1262]; > > for assigned goto. > > Thus, this is a frontend issue with assigned goto (a deleted feature btw). > I was confused by the parenthetical statement. Is this: C.0 = { &__label_001262, &__label_001263, &__label_001264 }; goto *C.0[i - 1262]; OK to use or not? Computed goto in Fortran is a legacy feature we must support. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41403