med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

369
active users

#gcc

0 posts0 participants0 posts today

#China #ASEAN #GCC #Economy #Trade

"At the ASEAN-China-GCC Summit, to be held in the Malaysian capital next week, the three parties are expected to deepen practical cooperation in various fields, such as trade, investment and supply chain, creating new opportunities in clean and renewable energy, digital economy, electric vehicles, financial markets and infrastructure development"
interesting article. Trump doesn't even know what ASEAN stands for, or where Malaysia is.

globaltimes.cn/page/202505/133

www.globaltimes.cnASEAN-China-GCC cooperation to inject certainty into global economy - Global Times

'"[…] The default dialect in #GCC 15 is still -std=gnu++17. You can use the -std=c++23 or -std=gnu++23 command-line options to enable C++23 features, and similarly for C++26 and others. […] C++26 features in #GCC15 include pack indexing, attributes for structured bindings, enhanced support for functions whose definition consists of =delete, and more. […] A number of defect reports were resolved in GCC 15. A few examples follow. […] C++11 attributes in C++98 […]"'

developers.redhat.com/articles

Red Hat Developer · New C++ features in GCC 15 | Red Hat DeveloperExplore new C++ front-end features in GCC 15.1, including pack indexing and structured binding declaration as a condition

#Apple M1 / M2 / M3 Core Support Might Soon Be Merged For The #GCC #Compiler
When it comes to compiler support for #AppleSilicon and their hardware at large, Apple has long been focused on the LLVM/Clang toolchain given their long history with it, employing many of the developers, and Xcode being based on LLVM. The GNU Compiler Collection (GCC) though may soon see upstream support for the newer Apple Cores
phoronix.com/news/Apple-Cores-

www.phoronix.comApple M1 / M2 / M3 Core Support Might Soon Be Merged For The GCC Compiler

"[…] Let's take a look at 6 improvements to look forward to in the upcoming #GCC 15.

1. Prettier execution paths

2. A new look for C++ template errors

3. Machine-readable diagnostics

4. An easier transition to C23

5. A revamped color scheme

6. libgdiagnostics

We're still fixing bugs, but we hope that GCC 15 will be ready to officially release (as 15.1) sometime later this month. […]"'

developers.redhat.com/articles – by David Malcolm #gcc15

Featured image for: Value range propagation in GCC with Project Ranger.
Red Hat Developer · 6 usability improvements in GCC 15 | Red Hat DeveloperGCC 15 brings better error messages and diagnostics for your code, including prettier execution paths and easier-to-read compiler errors for C++ templates

The #Maneage #reproducibility system for scientific research papers that starts from a minimal POSIX-like host OS does not yet build [1] the #GNUCLibrary = #GLibC . We have a draft implementation building glibc *after* #GCC [2]; and an alternative proposal arguing that building glibc *first* and gcc second would be more long-term sustainable [[1] comment18].

Should GLibC be built first? Why (or why not)?

[1] savannah.nongnu.org/task/?1539
[2] gitlab.com/maneage/project-dev

savannah.nongnu.orgManeage - Tasks: task #15390, Installing GNU C Library within... [Savannah]Savannah is a central point for development, distribution and maintenance of free software, both GNU and non-GNU.

My first GCC commit! 🎉

Although my first C compiler was Borland Turbo C, GCC has always offered a better programming experience. My journey with GCC started in the late '90s, back when Red Hat was a rad startup, The Matrix was blowing minds, and Rage Against the Machine was blasting through boombox.

After decades of using the GCC toolchain, I now find myself contributing to its codebase. Excited to share my first commit to the GCC project, adding a few intrinsic functions to arm_acle.h.

Huge thanks to everyone on the GCC team for their support!

🔗 gcc.gnu.org/git/?p=gcc.git;a=c

For nameless patterns, the condition is applied only when matching an individual insn, and only after the insn has matched the pattern’s recognition template. The insn’s operands may be found in the vector operands.

An instruction condition cannot become more restrictive as compilation progresses. If the condition accepts a particular RTL instruction at one stage of compilation, it must continue to accept that instruction until the final pass. For example, ‘!reload_completed’ and ‘can_create_pseudo_p ()’ are both invalid instruction conditions, because they are true during the earlier RTL passes and false during the later ones. For the same reason, if a condition accepts an instruction before register allocation, it cannot later try to control register allocation by excluding certain register or value combinations.

#gcc
gcc.gnu.org/onlinedocs/gccint/

gcc.gnu.orgMachine Desc (GNU Compiler Collection (GCC) Internals)Machine Desc (GNU Compiler Collection (GCC) Internals)

 sed magic is required for adding the dependencies of the .d file itself. For example, if the timestamp of your header changes, it may have acquired new dependencies, and a new .d file has to be generated BEFORE make determines if the .c file is out of date.
MT flag which does what the sed line does. From the gcc man page:

Change the target of the rule emitted by dependency generation... An -MT option will set the target to be exactly the string you specify... So in your example one might do something like

-MT "$@ $(basename $@).d" which would output

main.o main.d : main.c defs.h for the main.o target.
#clang #gcc
news.ycombinator.com/item?id=1
gnu.org/software/make/manual/h

news.ycombinator.comThere's a -MT flag which does what the sed line does. From the gcc man page: Cha... | Hacker News