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

--- Comment #10 from Joel Sherrill <joel at gcc dot gnu.org> 2011-11-21 
23:08:20 UTC ---
(In reply to comment #9)
> In addition to the comments so far about what the testsuite framework
> should be doing, I also think the sparc option processing is currently
> doing the right thing given the input seen here.
> 
> If you say "-mcpu=cypress -mvis" which is what the command line amounts
> to, it meant to enable VIS and that requires turning on V9 also which is
> what the option processing in the sparc backend does.

Doesn't the order of the conflicting options have an impact? The cypress flag
is last.

Conflicting cpu feature flags is bad anyway and even though many flags can be
alternated like optimzation flags with the last one winning, this situation
likely has no easy general solution which is predictable.

The best solution in this particular case is to disable all tests V9+, VIS, etc
which are
not V7/V8 since that what this target is for.

Reply via email to