https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83262
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #6 from kargl at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #0) > > GOTO costs totally 2.103 (s) > SELECT CASE costs totally 1.202 (s) > IF-Goto costs totally 0.903 (s) > IF-noGoto costs totally 0.903 (s) > IF-ELSE costs totally 0.903 (s) > > The Fortran FE translates the SELECT CASE into a switch. Dick Henderson in clf claims that there is a bug in the code. You're comparing apples and oranges. Mike Metcalf ran the code with Dick's suggested change. There is no statistically significant difference in timings.