[Bug target/51020] %{...; :default} spec lines cause all switches to be validated

cjwatson at ubuntu dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 8 03:04:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51020

--- Comment #1 from Colin Watson <cjwatson at ubuntu dot com> 2011-11-08 02:05:33 UTC ---
Looking more closely, I wonder if the problem here is that `starred' isn't
getting reset.  This construction is effectively a switch statement, isn't it? 
I can't see why the presence of an `mcpu=generic-*` case ought to imply that
the default case should be treated as starred.  Perhaps `starred' should be
reset upon encountering a ';' character?



More information about the Gcc-bugs mailing list