This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc.dg/20001013-1.c



This is a SPARC-specific test that uses `-O2 -mvis' to compile.  The
-mvis option is undocumented.

On Solaris 2.8, I get errors like:

  /usr/ccs/bin/as: "/var/tmp/ccQ94Ir5.s", line 33: error: cannot use 
  v8plus instructions in a non-v8plus target binary

from the Solaris assembler.

To get the file to compile, the assembler needs to be passed
`-xarch=v9a'.  I assume you tested with GAS?

This is not a regression from GCC 2.95.2, so I will just XFAIL the
test-case on the branch.

However, someone should take care of the following items on the
mainline:

  - -mvis should turn on -xarch=v9a.

  - -mvis should be documented in the manual.

Since you wrote the test-case, you are clearly knowledgeable.  Would
you be willing to take care of these chores?

Thank you,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]