http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48337
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
Uni-Bielefeld.DE> 2011-03-29 15:43:39 UTC ---
> Try adding Init(PROCESSOR_V7) to the lines in sparc.opt defining sparc_cpu
> and sparc_cpu_and_features. It appears an explicit initializer of 0 for
> these enums isn't being accepted even where an implicit 0 from the lack of
> initializer (when a variable rather than a field was used) was accepted.
That did the trick, together with a similar change in sparc.c.
I'll submit the patch shortly.
Thanks.
Rainer