Re: Please, really, make `-masm=intel` the default for x86

2022-11-24 Thread LIU Hao via Gcc
在 2022/11/25 15:37, Hi-Angel 写道: 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 s

Re: Please, really, make `-masm=intel` the default for x86

2022-11-24 Thread Dave Blanchard
On Fri, 25 Nov 2022 at 09:40, LIU Hao via Gcc 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 changin

Re: Please, really, make `-masm=intel` the default for x86

2022-11-24 Thread Hi-Angel via Gcc
On Fri, 25 Nov 2022 at 09:40, LIU Hao via Gcc 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

Please, really, make `-masm=intel` the default for x86

2022-11-24 Thread LIU Hao via Gcc
I am a Windows developer and I have been writing x86 and amd64 assembly for more than ten years. 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. The AT&T syntax is an awkward for

gcc-10-20221124 is now available

2022-11-24 Thread GCC Administrator via Gcc
Snapshot gcc-10-20221124 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20221124/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: How to debug while using LTO?

2022-11-24 Thread Richard Biener via Gcc
> Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > : > > Hi everyone, > > Currently I'm looking into a wrong-code bug and would like to understand > a certain optimization done by combine during local transformation. > Without LTO I would simply debug cc1 and step through

How to debug while using LTO?

2022-11-24 Thread Stefan Schulze Frielinghaus via Gcc
Hi everyone, Currently I'm looking into a wrong-code bug and would like to understand a certain optimization done by combine during local transformation. Without LTO I would simply debug cc1 and step through combine. However, with LTO enabled AFAIK I have to debug lto1 instead. In order to get t