Re: New version of gnu assembler

2023-07-02 Thread Jona Müller via Gcc
Hi Jacob, interesting project. On my linux machine I also needed to link -lz. ys, Jona > On 1. Jul 2023, at 14:07, jacob navia wrote: > > Hi > > I have developed a new version of the gnu assembler for riscv machines. > > Abstract: > ——— > > The GNU assembler (gas) is centered on flexibili

[PATCH v7 1/4] spec: add a spec function to join arguments

2023-07-02 Thread Ben Boeckel via Gcc
When passing `-o` flags to other options, the typical `-o foo` spelling leaves a leading whitespace when replacing elsewhere. This ends up creating flags spelled as `-some-option-with-arg= foo.ext` which doesn't parse properly. When attempting to make a spec function to just remove the leading whit

[PATCH v7 0/4] P1689R5 support

2023-07-02 Thread Ben Boeckel via Gcc
Hi, This patch series adds initial support for ISO C++'s [P1689R5][], a format for describing C++ module requirements and provisions based on the source code. This is required because compiling C++ with modules is not embarrassingly parallel and need to be ordered to ensure that `import some_modul

[PATCH v7 3/4] c++modules: report imported CMI files as dependencies

2023-07-02 Thread Ben Boeckel via Gcc
They affect the build, so report them via `-MF` mechanisms. gcc/cp/ * module.cc (do_import): Report imported CMI files as dependencies. gcc/testsuite/ * g++.dg/modules/depreport-1_a.C: New test. * g++.dg/modules/depreport-1_b.C: New test. * g++.dg/modules

[PATCH v7 2/4] p1689r5: initial support

2023-07-02 Thread Ben Boeckel via Gcc
This patch implements support for [P1689R5][] to communicate to a build system the C++20 module dependencies to build systems so that they may build `.gcm` files in the proper order. Support is communicated through the following three new flags: - `-fdeps-format=` specifies the format for the out

[PATCH v7 4/4] c++modules: report module mapper files as a dependency

2023-07-02 Thread Ben Boeckel via Gcc
It affects the build, and if used as a static file, can reliably be tracked using the `-MF` mechanism. gcc/cp/: * mapper-client.cc, mapper-client.h (open_module_client): Accept dependency tracking and track module mapper files as dependencies. * module.cc (make_map

Re: New version of gnu assembler

2023-07-02 Thread Dave Blanchard
On Sat, 01 Jul 2023 13:33:07 +0100 Sam James via Gcc wrote: > If you've taken files from Binutils BFD, please make sure you preserve > the copyright headers too. Why? How is that important? That's all you have to say about this? Copyright is an abomination, and especially so the GPL; particula

Re: New version of gnu assembler

2023-07-02 Thread Gabriel Ravier via Gcc
On 7/2/23 18:52, Dave Blanchard wrote: On Sat, 01 Jul 2023 13:33:07 +0100 Sam James via Gcc wrote: If you've taken files from Binutils BFD, please make sure you preserve the copyright headers too. Why? How is that important? That's all you have to say about this? Copyright is an abomination,

gcc-14-20230702 is now available

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

Re: Mapping of TREE_CODE to tree_node

2023-07-02 Thread Aaron Lorey via Gcc
Am Mo., 26. Juni 2023 um 20:09 Uhr schrieb David Malcolm : > > On Mon, 2023-06-26 at 18:59 +0200, Aaron Lorey via Gcc wrote: > > Hello, > > > > this is the first time I am writing to a mailing list. I've tried > > researching the normal procedure but nothing special seems to be > > required. > > >

Re: Mapping of TREE_CODE to tree_node

2023-07-02 Thread Andrew Pinski via Gcc
On Sun, Jul 2, 2023 at 5:48 PM Aaron Lorey via Gcc wrote: > > Am Mo., 26. Juni 2023 um 20:09 Uhr schrieb David Malcolm > : > > > > On Mon, 2023-06-26 at 18:59 +0200, Aaron Lorey via Gcc wrote: > > > Hello, > > > > > > this is the first time I am writing to a mailing list. I've tried > > > researc

Re: New version of gnu assembler

2023-07-02 Thread Ian Lance Taylor via Gcc
On Sun, Jul 2, 2023 at 9:50 AM Dave Blanchard wrote: > > On Sat, 01 Jul 2023 13:33:07 +0100 > Sam James via Gcc wrote: > > > If you've taken files from Binutils BFD, please make sure you preserve > > the copyright headers too. > > Why? How is that important? That's all you have to say about this?