Once
Switch to HAVE_SOLARIS_AS
https://gcc.gnu.org/pipermail/gcc-patches/2026-February/708352.html
is in, only four uses of HAVE_GNU_AS remain:
* gcc/config/darwin.h: Used to distinguish gas from Darwin as uses of
ASM_OPTIONS. AFAIU GNU as isn't supported on any relevant version of
macOS. Besides, the non-gas definition of ASM_OPTIONS is identical to
the default in gcc.cc.
* gcc/config/ia64/hpux.h: Used to define AS_NEEDS_DASH_FOR_PIPED_INPUT
for the non-gas case. The latter is also defined in
gcc/config/darwin.h
gcc/config/openbsd.h
gcc/config/sol2.h
and handled in gcc/gcc.cc. I suspect this can be replaced by a
configure check.
* gcc/config/nvptx/nvptx.h: Only mentioned in a comment, explaining the
difference of the NVPTX version of ASM_SPEC from the gcc.cc default.
A comment adjustment should be enough.
* gcc/gcc.cc: Used to control whether to pass on -v, -w, and -I* to the
assembler in asm_options. Could be replaced by a configure test, too.
Just FYI; I don't intend to do anything about this ATM, maybe leaving
this to the target maintainers.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University