This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -x assembler-with-cpp behavior different on different unixes.
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Karel Gardas <gardask at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 11 Aug 2014 13:25:59 +0200
- Subject: Re: -x assembler-with-cpp behavior different on different unixes.
- Authentication-results: sourceware.org; auth=none
- References: <CAMO55fnAkqpK0-wwZn9T=kEWZGZcOjnNuCWphzZZt5YbzevAyA at mail dot gmail dot com> <CAMO55fm7LoeLcPV95_rxU86uBKuK9jCiWHj6Fe40j83fvAaF9Q at mail dot gmail dot com> <yddtx5mg0av dot fsf at CeBiTec dot Uni-Bielefeld dot DE> <CAMO55fkvm1ZsxLXEBL8gT64D7Zqm0ST7yueCnQUesjMsHGs-iQ at mail dot gmail dot com> <yddppgafxsn dot fsf at CeBiTec dot Uni-Bielefeld dot DE>
Hi Karel,
>>> With Solaris 9 support gone on mainline, this can be revisited now, but
>>> this won't change anything for released versions.
>>
>> What shall I do for this to be at least considered?
>
> Nothing: it's already on my agenda to fix this for 4.10/5.0, thanks to
> your report :-) The only thing one could possibly do for older releases
> is to restrict passing -P to Sun as, but given the niche case that
> triggers this, this is almost certainly too invasive for a micro
> release.
it turns out I spoke too soon: the Solaris 10 FCS assembler still cannot
handle # line directives. It seems this only came in patch 119961-03.
Given that passing -P didn't cause other issues so far, I fear removing
that will have to wait until S10 support is removed.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University