[PING][PATCH v2] Add clang's invalid-noreturn warning
Hi all, Sorry for sending the ping here, but gcc-patches seems to be completely overwhelmed and my patch keeps getting buried Cheers, https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627913.html best regards, Julian
gcc-14-20230924 is now available
Snapshot gcc-14-20230924 is now available on https://gcc.gnu.org/pub/gcc/snapshots/14-20230924/ 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 master revision deb844c67f1e2b116518f9742a6acbe6f19ea28f You'll find: gcc-14-20230924.tar.xz Complete GCC SHA256=39d19cdd4edb070c810bf062afd43ad33e5ce97ef275a2859b01d9de4a57c8a2 SHA1=cad42c053f6cc8fa39e843989e2897146278e9bc Diffs from 14-20230917 are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-14 link is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.
The order of loop traversal in gcc
Hi, I have recently been working on loops in gcc, and I have some questions about the loop traversal. I use loops_list(cfun, LI_ONLY_INNERMOST) to traverse the loops in my pass to obtain the loop. I found that the order of traversal and the order of actual instruction execution will be different. Sometimes it's the exact opposite, and sometimes it's sequential. I would like to ask how to predict its behavior? And what method should I use if I want to obtain sequential traversal? Thanks. Hanke Zhang.
Re: The order of loop traversal in gcc
> Am 25.09.2023 um 04:53 schrieb Hanke Zhang via Gcc : > > Hi, I have recently been working on loops in gcc, and I have some > questions about the loop traversal. > > I use loops_list(cfun, LI_ONLY_INNERMOST) to traverse the loops in my > pass to obtain the loop. > > I found that the order of traversal and the order of actual > instruction execution will be different. > > Sometimes it's the exact opposite, and sometimes it's sequential. I > would like to ask how to predict its behavior? And what method should > I use if I want to obtain sequential traversal? The order of loops is according to their index, if you require traversal in program order you have to order them yourself, for example by sorting them after their header program order. Richard > Thanks. > Hanke Zhang.