On Fri, 25 Nov 2022 at 09:40, LIU Hao via Gcc <gcc@gcc.gnu.org> wrote:
>> One annoying thing about GCC is that, for x86 if I need to write I piece of 
>> inline assembly then I
>> have to do it twice: one in AT&T syntax and one in Intel syntax.

> Why? A default is merely a default. I don't really see why changing
> that should help you specifically. A decision "which assembly syntax
> to use" is one that makes a project like ones you're contributing to,
> not GCC. If they decided to use AT&T syntax, they won't switch to
> Intel just because a compiler toolchain has changed their default.

While I sympathize with the desire to get rid of crud (and I agree that AT&T 
syntax is crud), as stated above it wouldn't really make a practical 
difference. For distro maintainers it would likely break some/many older 
packages which assumed the old default behavior, thus requiring a number of 
patches. Usually not a big deal in and of itself (though it can be if the build 
system for that package is particularly junky), but when you consider there are 
so many packages including GCC always deprecating and changing things, it adds 
up to a lot of work to keep up with it all.

-- 
Dave Blanchard <d...@killthe.net>

Reply via email to